Oh where, oh where has my logic gone wrong . .(formula typo mistake)

Greetings, everyone

I am posting a block image and a couple of screen shots from weather.gov. It seems I am a raging lunatic when it comes to translating C++ code into the visual blocks we work with in MIT App Inventor.

In my simple mind, the block image I have posted should perform the calculation for actual (vs saturated) vapor pressure. It didn't work with Dew Point data label variables so I simply plugged in a dew point number in Celsius (6.5) to see what happens. I still am far from the correct values. Does anyone see a fly in my ointment? My result is 9.1226 mBar, not quite the 8.85 mBar reading from the web site. If I solve for the saturated vapor pressure, I get 59.98 mBars (far from the 80.3 reading). Thank you all for your extra vision.





You have a typo...

image

image

image

1 Like

Please forgive my ignorance but I am unable to locate a typo. 6.5 is the calculated dew point temp for 41.06 C and 12.6% Humidity. I am not able to resolve either the saturate or actual vapor pressure with my formula. Would you be so kind as to spell it out for me (the error)? I can sit and look at a mistake for hours without seeing it. Thank you.

273.3 vs 237.3

P.S. It took me 5 passes to see it.

Subconsciously we want it to be 273 because of Kelvin :smile:

2 Likes

WOW, I cannot even pass this off as a senior moment . . . I am exhibiting signs of disturbingly distributive dyslexia. When you said I had a typo, I looked at the 237.3 being so evenly (and wrongly) distributed, I was totally looking for something else. Thank you so much, and I hope you were able to have a laugh at my expense while I pick up speed.

It's not you.
It's Kelvin.
Darned Kelvin!

Ah, the condition of the world . . . blaming another for my own shortcomings. But I do appreciate the spare scapegoat you tossed my way.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.