topic calculating a function with Temp in 'C not 'K in PTC Mathcad
https://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165735#M65016
<HTML><HEAD></HEAD><BODY>Hi all, <BR /><BR />Stuck once again in one of those grey areas.<BR /><BR />I need to gain a factor from an equation that has T temp in it. I need mcad to work it out with T set to deg C but it calculates it in Kelvin which isn't what i'm after.<BR /><BR />equation of the form;<BR /><BR />1-(1.5*T)-(1.5-T^2)<BR /><BR />at the moment i'm dividing the T sections with UnitsOf(T) so the equation can solve.<BR /><BR />Any advice from the Collaboratory would be grand.<BR /><BR />Regards, Tom Hulbert.</BODY></HTML>Thu, 03 May 2018 19:32:25 GMTThomasH-disable2018-05-03T19:32:25Zcalculating a function with Temp in 'C not 'K
https://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165735#M65016
Hi all, Stuck once again in one of those grey areas.I need to gain a factor from an equation that has T temp in it. I need mcad to work it out with T set to deg C but it calculates it in Kelvin which isn't what i'm after.equation of the form;1-(1.5*T)-(1.5-T^2)at the momentThu, 03 May 2018 19:32:25 GMThttps://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165735#M65016ThomasH-disable2018-05-03T19:32:25Zcalculating a function with Temp in 'C not 'K
https://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165736#M65017
<HTML><HEAD></HEAD><BODY>You can do all that quick, in "UserUnit"<BR /><BR />jmG<BR /></BODY></HTML>Wed, 12 May 2010 07:00:00 GMThttps://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165736#M65017ptc-13682882010-05-12T07:00:00Zcalculating a function with Temp in 'C not 'K
https://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165737#M65018
<HTML><HEAD></HEAD><BODY>The attached is for version 14. If it's an earlier version that does not support temperature units this will need to be modified a little.<BR /><BR />Richard</BODY></HTML>Wed, 12 May 2010 07:00:00 GMThttps://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165737#M65018RichardJ2010-05-12T07:00:00Zcalculating a function with Temp in 'C not 'K
https://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165738#M65019
<HTML><HEAD></HEAD><BODY>On 5/12/2010 5:49:37 AM, ThomasH wrote:<BR />>I need to gain a factor from<BR />>an equation that has T temp in<BR />>it. I need mcad to work it out<BR />>with T set to deg C but it<BR />>calculates it in Kelvin which<BR />>isn't what i'm after.<BR /><BR />�C are physically and mathematically equivalent to K, so all you need is to put the �C in place of K in the solution.<BR /><BR /><BR />TTFN,<BR />Eden</BODY></HTML>Wed, 12 May 2010 07:00:00 GMThttps://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165738#M65019IRstuff2010-05-12T07:00:00Zcalculating a function with Temp in 'C not 'K
https://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165739#M65020
<HTML><HEAD></HEAD><BODY>Your expression is clearly empirical, as the three terms are dimensionally inconsistent; therefore, you MUST divide each term through by its units to make all terms unitless, and make the expression calculable.<BR /><BR /><BR /><BR />Be careful when using "UnitsOf" with temperature variables, or even dividing through by 1 deg C - if you are using a default Mathcad installation, the "UnitsOf" your temperature variable are likely to be K (not deg C), whereas your expression may be formulated for input temperature in degrees Celsius (or degrees Fahrenheit, depending on the source). You might be better off creating a unitless temperature, or use the "Temperature Change" unit type variable for an application like this.<BR /><BR /><BR /><BR />That is:<BR /><BR /><BR /><BR />Suppose you have defined T = 20 deg C, and your formula would yield the expected result for T = 20 (as a unitless number), but in default units, T / UnitsOf(T) would yield 293.15, not 20. T / 1 deg C won't work either, as it would yield 293.15 / 274.15 = 1.069.<BR /><BR /><BR /><BR />However, if you use units of "Temperature Change" (Delta deg C) to specify your temperature variable, then T / UnitsOf(T) will yield 20 K / 1 K = 20, as expected.<BR /><BR /><BR /><BR />Hope this helps!</BODY></HTML>Wed, 12 May 2010 07:00:00 GMThttps://community.ptc.com/t5/PTC-Mathcad/calculating-a-function-with-Temp-in-C-not-K/m-p/165739#M65020jhardy2010-05-12T07:00:00Z