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.
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.
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.