cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Technical issue of Mathcad in calculation with temperature?

PCES
4-Participant

Technical issue of Mathcad in calculation with temperature?

Hi everybody,

 

I am using Mathcad prime 6.0. I have tried to make some calculus of temperature, but it seems that Mathcad has a problem with calculation of temperature. First I tried: 1F+1F=461.67F (it is not 2F!!!), then 2F/1F=1 (it is not 2). 

PCES_0-1576688523917.png

 

I don't really know if that is a technical bugs of Mathcad Prime? or it is just a bad copy of Prime in my laptop, or Did I miss something?

 

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:PCES)

Turn your temperatures into Kelvin, then add or divide them and then represent the results again in °F. You will see that Mathcad is perfectly correct in what it does.

The conversion between the various temperature units are not simple multipications by a constant factor like we have in meter and feet, etc.

Then, if you think about it, it may not make much sense to add two temperature values. Rather you intend to add a certain temperature in °F to a given tmeperature. Thats what the unit Delta°F is for:

Werner_E_0-1576690974227.png

But admitedly dealing with temperature can be quite a beast - but there is no bug in Mathcad! 🙂

View solution in original post

7 REPLIES 7
Werner_E
25-Diamond I
(To:PCES)

Turn your temperatures into Kelvin, then add or divide them and then represent the results again in °F. You will see that Mathcad is perfectly correct in what it does.

The conversion between the various temperature units are not simple multipications by a constant factor like we have in meter and feet, etc.

Then, if you think about it, it may not make much sense to add two temperature values. Rather you intend to add a certain temperature in °F to a given tmeperature. Thats what the unit Delta°F is for:

Werner_E_0-1576690974227.png

But admitedly dealing with temperature can be quite a beast - but there is no bug in Mathcad! 🙂

PCES
4-Participant
(To:Werner_E)

Thanks Werner,

 

Hakan1
4-Participant
(To:PCES)

Hakan1_0-1620029567528.png

Hello 🙂

How do I multiply or divide a temperature? Can someone help me, please?

LucMeekes
23-Emerald III
(To:Hakan1)

Today the outside temperature is 0 °C, tomorrow it will be twice as cold. What is the expected temperature tomorrow?

 

What do you want to double, or cut in two?

 

You need to understand that Prime's unit °C is 'sort of an absolute temperature': internally it is converted to K (Kelvin). The unit Δ°C on the other hand is a relative temperature, or temperature difference. The value of 1 Δ°C is exactly the same as 1 K. (ISO standards regarding usage of units prescribe that only (!) K should be used for temperature differences.)

When you want to double a temperature in °C, you probably want to double the part of temperature that lies above 0 °C. Hence you would write 0 °C + 2 * 15 Δ°C when you want to double from 15 to 30 °C.

And of course, the better (complying with standards) usage is: 0 °C + 2 * 15 K.

 

All this still doesn't answer the question at the top, but hopefully it helps you.

 

Success!
Luc

Hakan1
4-Participant
(To:LucMeekes)

Thank you so much. I have figured it out now. It's working without any problem now. ☺️

Werner_E
25-Diamond I
(To:Hakan1)


@Hakan1 wrote:

 

Hello 🙂

How do I multiply or divide a temperature? Can someone help me, please?

 


As Luc already indicated, it does not make much sense to ask for the multiple of a temperature unless you exactly state what that should actually be.

Are 60° C three times as hot as 20 °C ?

Are 879.45 K three times as hot as 293.15 K ?

Note the 20 °C = 293.15 K, but 879.45 K = 606.3 °C !

Werner_E_0-1620133402800.png

As Luc I suspect that you intend to multiply or divide the DIFFERENCE of a temperature to 0°C. And if thats tru you have to calculate exactly that: Calculate the difference from your temp and 0°C, multiply or divide it and then add 0 °C.

Here is an example which, by using the above assumed intention, multiplies a temperature by 3 and divides it by 5:

Werner_E_2-1620133809298.png

Or using your example:

Werner_E_0-1620134139705.png

 

Note that the "unit" °C actually is a function which adds 273.15 to its (dimensionless numeric) argument and then applies the unit Kelvin, while the "unit" Delta°C is simply equivalent (an alias) to the unit K(elvin).

Werner_E_1-1620134209213.png

 

 

 

 

Hakan1
4-Participant
(To:Werner_E)

Thank you so much. I have figured it out. It's working without any complain ☺️

Announcements

Top Tags