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 Basile  
#1 Posted : 28 February 2019 03:30:59(UTC)
Basile


Rank: Advanced Member

Groups: Registered
Joined: 13/10/2010(UTC)
Posts: 172
Location: USA

Was thanked: 8 time(s) in 7 post(s)
Hello,
Why this discrepancy?
Capture-smath-1.PNG

Thank you,
Basile

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

Offline Jean Giraud  
#2 Posted : 28 February 2019 03:47:25(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Basile Go to Quoted Post
Why this discrepancy?

Maybe user style ?

Basile.PNG

Offline mkraska  
#3 Posted : 28 February 2019 11:37:32(UTC)
mkraska


Rank: Advanced Member

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

Was thanked: 1124 time(s) in 721 post(s)
°C can't be cancelled against K. Changes or differences of temperatures have to be tagged by Delta in the non-absolute temperature units.

See this post
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 28/02/2019(UTC),  on 28/02/2019(UTC),  on 28/02/2019(UTC)
Offline Andrey Ivashov  
#4 Posted : 28 February 2019 22:12:30(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Originally Posted by: mkraska Go to Quoted Post
°C can't be cancelled against K.

Wolfram alpha says K/°C=1.
Do we need the same behavior?
Offline alyles  
#5 Posted : 28 February 2019 22:50:01(UTC)
alyles


Rank: Advanced Member

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

Was thanked: 91 time(s) in 57 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post

Wolfram alpha says K/°C=1.
Do we need the same behavior?


It doesn't show that here: https://www.wolframalpha...input/?i=1kelvin%2F1degC

It converts °C to Kelvin before performing the division.

Edit: Here shows the result 1 K/K, but it specifies it's interpreting °C as delta degree C.

Personally, I prefer using the explicit Δ°C when performing these types of computations. I understand it's may be more confusing to some, but I also believe it's important to be explicit in syntax.

Edited by user 28 February 2019 22:55:42(UTC)  | Reason: Not specified

Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
thanks 1 user thanked alyles for this useful post.
on 01/03/2019(UTC)
Offline Razonar  
#6 Posted : 28 February 2019 23:07:15(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post
Originally Posted by: mkraska Go to Quoted Post
°C can't be cancelled against K.

Wolfram alpha says K/°C=1.
Do we need the same behavior?


Hi Andrey. Wolfram says what the author of the units package thinks that it's correct. Actually, here it's my own Mathematica units package: http://library.wolfram.c...ocenter/MathSource/5511/

I think that it's better check what says the SI norm:

https://en.smath.com/for...screpancy.aspx#post51217

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 01/03/2019(UTC)
Offline Andrey Ivashov  
#7 Posted : 01 March 2019 00:30:26(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Originally Posted by: alyles Go to Quoted Post
It doesn't show that here: https://www.wolframalpha...input/?i=1kelvin%2F1degC

It converts °C to Kelvin before performing the division.


I've tried this one: https://www.wolframalpha.com/input/?i=1*K%2FCelsius
Offline alyles  
#8 Posted : 01 March 2019 00:50:07(UTC)
alyles


Rank: Advanced Member

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

Was thanked: 91 time(s) in 57 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post


Interesting. I would think these both should compute to the same value since WA says they are assuming temperature in degrees Celsius and not delta temperature.

For what it's worth, I think the image on the right is incorrect IF assuming degrees Celsius as stated.

Untitled.png

The following explicitly states the assuming of degrees difference and computes to 1 appropriately.
Untitled2.png
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Offline mkraska  
#9 Posted : 01 March 2019 10:38:18(UTC)
mkraska


Rank: Advanced Member

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

Was thanked: 1124 time(s) in 721 post(s)
Did you attach the wrong image? I don't see an appropriate computation to 1. Instead, I see 1*K/K, K is not cancelled, perhaps because each stands for different quantities. Yet I don't see why any tagging or assumption making should be required for offset-free temperature units. Is there any example where such distinguishing would be required?

Originally Posted by: alyles Go to Quoted Post

The following explicitly states the assuming of degrees difference and computes to 1 appropriately.
Untitled2.png


Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Davide Carpi  
#10 Posted : 01 March 2019 11:55:04(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Biggrin





If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline mkraska  
#11 Posted : 01 March 2019 16:23:04(UTC)
mkraska


Rank: Advanced Member

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

Was thanked: 1124 time(s) in 721 post(s)
All the elaborate assumption making doesn't save WA from adding two absolute temperatures and taking the result as a difference.
I still vote in favour of the Delta-tagging of non-absolute units. Perhaps we should add a hint on that to the help strings of °C and °F (to use Deltas if changes or rates are expected).
As long as temperature results strictly default to K units, we are safe. If someone wants to write °C, he will see the hint and still can judge whether to tag or not to tag with Delta. This might reduce the frequency of this issue popping up in the forum.
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 01/03/2019(UTC),  on 01/03/2019(UTC),  on 01/03/2019(UTC)
Offline Jean Giraud  
#12 Posted : 01 March 2019 21:12:46(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 981 time(s) in 809 post(s)
SI units system is largely not compatible with Engineering.

degC.PNG
Users browsing this topic
Guest
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.