HP Forums
(42S) Dew Point (°C) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (42S) Dew Point (°C) (/thread-6529.html)



(42S) Dew Point (°C) - Eddie W. Shore - 07-10-2016 01:58 AM

HP 42S: Dew Point (°C)

Source: http://ag.arizona.edu/azmet/dewpoint.html

Code:
00 {99-Byte Prgm}
01 LBL “DEW”
02 “TEMP °C:”
03 PROMPT
04 STO “T”
05 “HUMIDITY %”
06 PROMPT
07 STO “H”
08 LN
09 17.27
10 RCL* “T”
11 237.3
12 RCL+ “T”
13 ÷
14 +
15 17.27
16 ÷ 
17 STO “V”
18 237.3
19 RCL* “V”
20 1
21 RCL- “V”
22 ÷ 
23 “DEW POINT °C”
24 ARCL ST X
25 AVIEW
26 STOP
27 END

Instructions: Execute GTO DEW from Home. Press [R/S].

Test: Input: T: 20°C, H = 0.50
Result: 9.2696°C