Rank: Newbie
Groups: Registered
Joined: 10/10/2019(UTC) Posts: 4
|
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 (67kb) downloaded 9 time(s).Thanks, Roger
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,980 Was thanked: 1120 time(s) in 718 post(s)
|
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. |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 11/01/2018(UTC) Posts: 131 Location: Wisconsin Was thanked: 58 time(s) in 37 post(s)
|
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. ᵂᴵ |
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/10/2019(UTC) Posts: 4
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.