PDA

View Full Version : Conversion Calculator not working correctly



AustinL911A
January 29th, 2007, 04:48 PM
I was messing around with the conversion calculator, specifically the temps, and noticed that it doesn't always give you the right answer. What's up with that?

joecar
January 29th, 2007, 08:22 PM
AustinL911A,

I'll try this out, are there any specific examples you can give...?

Joe

AustinL911A
January 30th, 2007, 02:29 PM
1. Try taking a temperature in Kelvin, and convert it straight to Farenheit. Take note of the answer.

2. Then Take the same temp. in Kelvin, convert it to Centigrade, and then convert that number into Farenheit.

-The final answer for 1. and 2. should be the same. However, they are not.

joecar
January 30th, 2007, 02:36 PM
I did this:

373.15 K --> -48.067 F
273.15 K --> -103.622 F

Yep, these are wrong.

Ninety8C5
January 31st, 2007, 09:20 AM
In the unit_conversion.txt file under \Program Files\EFILive\V7\Configuration change ID line 22 to:

0022 = °F °K * 0.55555 255.37223 N


That will give you a very close conversion of °F to °K and vice/versa.

Edit: This will get it closer.

0022 = °F °K * 0.555555 255.379983 N

Blacky
January 31st, 2007, 05:32 PM
I think your first choice was more accurate (why did you correct yourself- am I missing something?):

0.555555 and 255.3722 Seems correct to me.

Simplifying the *F to *K formula:

K = (F-32)/1.8+273.15

K = F/1.8 - 32/1.8 + 273.15

K = F*0.555555 - 17.7777 + 273.15

K = F*0.555555 - 255.3722

Thanks to AustinL911A for finding the fault in the first place - it will be corrected in the next release.

Regards
Paul

Ninety8C5
February 1st, 2007, 02:42 AM
Too much spare time! :nixweiss:

I was playing around last night and some of the calculations were not close enough. :bash:

It must have been the *0.55555 instead of *0.555555 that was throwing it off and the fact that I found something on the internet that listed Kelvin at 273.157760. I tried the new formula with *0.555555 and 255.3722 and it is close enough for me. :master: