Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Roger Andersson  
#1 Posted : 29 November 2022 15:31:40(UTC)
Roger Andersson

Rank: Newbie

Groups: Registered
Joined: 10/10/2019(UTC)
Posts: 4
Sweden

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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 29 November 2022 16:32:18(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

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.

2022-11-29 14_28_05-SMath Solver 1.0.8253 - [Unit error.sm_].png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Kenny Lemens  
#3 Posted : 29 November 2022 17:00:23(UTC)
Kenny Lemens


Rank: Advanced Member

Groups: Registered
Joined: 11/01/2018(UTC)
Posts: 131
Man
United States
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. ᵂᴵ
"No matter where you go, there you are." -Buckaroo Banzai

Hotkeys: https://en.smath.com/for...rce.ashx?a=45771&b=2
Offline Roger Andersson  
#4 Posted : 29 November 2022 17:15:12(UTC)
Roger Andersson

Rank: Newbie

Groups: Registered
Joined: 10/10/2019(UTC)
Posts: 4
Sweden

Understood, thanks guys!
Users browsing this topic
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.