1 Pages (4 items)
Unit or user error? - Messages
#1 Posted: 11/29/2022 9:31:40 AM
Hi all!
Why do b not compute unless I have the formula in the bottom? What am I missing or is it a flaw in SMath?
SMath v 1.0 build 8348.
Unit error.sm (66 KiB) downloaded 24 time(s).
Thanks,
Roger
Why do b not compute unless I have the formula in the bottom? What am I missing or is it a flaw in SMath?
SMath v 1.0 build 8348.
Unit error.sm (66 KiB) downloaded 24 time(s).
Thanks,
Roger
#2 Posted: 11/29/2022 10:32:18 AM
This is because at definition time, d.2 has an incorrect (unitless) value. Note that embedded definitions in text regions are as valid as in separate math regions.
The symbolic definition is stored using the existing value of d.2 so that subsequent changes of d.2 don't affect the result any more.
You either use the correct value in the text or you change the assignment operator to boolean equal.
![2022-11-29 14_28_05-SMath Solver 1.0.8253 - [Unit error.sm_].png](/en-US/file/EkET6S/2022-11-29-14_28_05-SMath-Solver-1_0_8253---_Unit-error_sm___png)
The symbolic definition is stored using the existing value of d.2 so that subsequent changes of d.2 don't affect the result any more.
You either use the correct value in the text or you change the assignment operator to boolean equal.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 11/29/2022 11:00:23 AM
Roger,
SMath allows you to declare math variables/evaluations within a text element. Thus, for the text: "use d₂ := 10⁹ or other large number;" d₂ was actually treated as a Mathematical evaluation. Just remove the d₂ := 10⁹ declaration and your sheet will start behaving correctly.
- Kenny Lemens, P.E. ᵂᴵ
SMath allows you to declare math variables/evaluations within a text element. Thus, for the text: "use d₂ := 10⁹ or other large number;" d₂ was actually treated as a Mathematical evaluation. Just remove the d₂ := 10⁹ declaration and your sheet will start behaving correctly.
- Kenny Lemens, P.E. ᵂᴵ
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
1 Pages (4 items)
-
New Posts
-
No New Posts