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

Notification

Icon
Error

Login


2 Pages<12
Options
Go to last post Go to first unread
Offline Porschaka  
#21 Posted : 17 September 2021 14:08:24(UTC)
Porschaka

Rank: Newbie

Groups: Registered
Joined: 14/09/2021(UTC)
Posts: 5
Russian Federation

Was thanked: 2 time(s) in 2 post(s)
Originally Posted by: CBG Go to Quoted Post
Hello
I think the following can be done

Kelvin_Celsius.png

Best Regards

Carlos


I think it is the best solution for now, Thank you, Carlos!
thanks 1 user thanked Porschaka for this useful post.
on 17/09/2021(UTC)
Offline Jean Giraud  
#22 Posted : 17 September 2021 16:59:44(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Quick Units converter.

ConvertUnit.PNG
Offline Davide Carpi  
#23 Posted : 17 September 2021 20:41:27(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
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
thanks 1 user thanked Davide Carpi for this useful post.
on 17/09/2021(UTC)
Offline alyles  
#24 Posted : 17 September 2021 22:36:57(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 274
United States

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!

bug.png



Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline alyles  
#25 Posted : 17 September 2021 23:07:41(UTC)
alyles


Rank: Advanced Member

Groups: Registered
Joined: 23/03/2016(UTC)
Posts: 274
United States

Was thanked: 91 time(s) in 57 post(s)
Workaround that preserves units.

Also confirms my assertion above.

workaround.png
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline mkraska  
#26 Posted : 19 September 2021 17:46:58(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)
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).
Worksheet2.png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 3 users thanked mkraska for this useful post.
on 19/09/2021(UTC),  on 19/09/2021(UTC),  on 20/09/2021(UTC)
Users browsing this topic
2 Pages<12
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.