Rank: Newbie
Groups: Registered
Joined: 14/09/2021(UTC) Posts: 5 Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: CBG Hello I think the following can be done Best Regards Carlos I think it is the best solution for now, Thank you, Carlos!
|
1 user thanked Porschaka for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Quick Units converter.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,639 Location: Italy Was thanked: 1323 time(s) in 873 post(s)
|
Jean, I have to ask you to stay on-topic.
There is clearly a bug, and since these units are non-linear you cannot bypass the issue with simple workarounds.
Using a parallel system of units might come in handy in some specific cases, but is useless if you cannot link it with other built-in units and check simensional inconsistencies.
|
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 274 Was thanked: 91 time(s) in 57 post(s)
|
It may be a bug because it doesn't evaluate. But what should it evaluate to? My argument would be 3016.65 degC! |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 274 Was thanked: 91 time(s) in 57 post(s)
|
Workaround that preserves units. Also confirms my assertion above. |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,980 Was thanked: 1120 time(s) in 718 post(s)
|
Multiplying a variable by a nonlinear unit seems to make SMath forget or ignore the definition of that variable in that cell. Thats a bug for sure. However, if you store that multiplication in another variable and then evaluate that in another cell, the original variable is again in the context and the correct result is shown. Thus, separation of definition and display via storage in a new variable is a possible solution to the original problem. If it is just about parallel usage of dimensional and non-dimensional quantities, then just swapping definitions might also help. This means deriving the non-dimensional quantity from the dimensional one instead of the other way around. Worksheet2.sm (8kb) downloaded 4 time(s). |
|
3 users thanked mkraska for this useful post.
|
on 19/09/2021(UTC), on 19/09/2021(UTC), on 20/09/2021(UTC)
|
|
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.