1 Pages (5 items)
What is it with Celsius? - Messages
#1 Posted: 5/16/2024 1:41:46 AM
#2 Posted: 5/16/2024 6:15:01 AM
Re-defining units is actually calling for trouble. In the given case, re-defining °C does not switch off the conversion mechanism, which is triggered when displaying results in non-absolute temperature units (which does not happen when you use the non-unit custom constant °C). I would not call this a bug, because re-defining units is nothing which I would expect to be supported and consistently handled. One might call it a bug, that re-definition of units is possible at all (just as with the imaginary unit, which unfortunately is re-defined if a value is assigned to the variable i).

Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Valery Ochkov 5/16/2024 11:49:00 AM
#3 Posted: 5/16/2024 7:25:01 AM
Hi. The result of solve is thinking that the variables can be complex. To obtain a more concrete result, you can use isolate. And this allows the more comfortable use of the units, without the need to "sterilize" them (Pompelmo dixit)
S.sm (15 KiB) downloaded 51 time(s).

Best regards.
Alvaro.
Note: For me, the convention that uppercase letters represent intensive variables and lowercase letters extensive variables is very practical. Thus, temperature and pressure always appear in capital letters, and volume, enthalpy, entropy and energy can be upper or lower case. The units, if intensive, will say whether they are volumetric, mass or molar quantities.
S.sm (15 KiB) downloaded 51 time(s).
Best regards.
Alvaro.
Note: For me, the convention that uppercase letters represent intensive variables and lowercase letters extensive variables is very practical. Thus, temperature and pressure always appear in capital letters, and volume, enthalpy, entropy and energy can be upper or lower case. The units, if intensive, will say whether they are volumetric, mass or molar quantities.
1 users liked this post
Valery Ochkov 5/16/2024 11:49:00 AM
#4 Posted: 5/16/2024 1:09:17 PM
I'm completely lazy - I'm solving the simplest equation on the computer, not in my head!

16-12-T-Gamma.sm (10 KiB) downloaded 54 time(s).
16-12-T-Gamma.sm (10 KiB) downloaded 54 time(s).
#5 Posted: 5/16/2024 1:32:27 PM
I remember one undeserved math insult at school. The teacher asked me what the sine of 45 degrees is equal to. I didn't try to memorize the table of trigonometric functions, but tried to calculate the required values in my head. So, I think, the angle of an isosceles right triangle is 45 degrees. Its legs are 1, then the hypotenuse, according to the Pythagorean theorem, is equal to the root of two. And tangent is the ratio of the opposite side to the hypotenuse. My answer was one divided by the root of two! The teacher said: “I’ll put this 1 (very bad school ball in USSR) in the journal for you!” The sine of 45 degrees is equal to the root of two divided by two!
This resentment repeated itself in my adult years. I wrote a textbook on thermodynamics, or rather, on using packages with units of measurement to solve thermodynamics problems. It contained the entry T := 18°C. This textbook caught the eye of a venerable scientist. He leafed through it and said: “The author is an illiterate person in thermodynamics! If temperature on the Celsius scale is entered into the calculation, it is entered into the variable t. The absolute temperature in Kelvin is written into the variable T!”
This resentment repeated itself in my adult years. I wrote a textbook on thermodynamics, or rather, on using packages with units of measurement to solve thermodynamics problems. It contained the entry T := 18°C. This textbook caught the eye of a venerable scientist. He leafed through it and said: “The author is an illiterate person in thermodynamics! If temperature on the Celsius scale is entered into the calculation, it is entered into the variable t. The absolute temperature in Kelvin is written into the variable T!”
1 users liked this post
Alvaro Diaz Falconi 5/17/2024 1:34:00 PM
1 Pages (5 items)
-
New Posts
-
No New Posts