(42S) UTPN Programme - 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) UTPN Programme (/thread-2484.html) |
(42S) UTPN Programme - Gerald H - 11-24-2014 05:37 PM 0. { 21-Byte Prgm } 1. †LBL "FXACC" 2. FIX IND ST X 3. +/- 4. 10^X 5. STO "ACC" 6. CLX 7. LASTX 8. +/- 9. END Sets number of decimal places of accuracy eg 4 FXACC gives answers accurate to .0001 0. { 26-Byte Prgm } 1. †LBL "…DPREP" 2. STO "ULIM" 3. CLX 4. STO "LLIM" 5. INTEG "x" 6. END Sets upper limit of integration 0. { 96-Byte Prgm } 1. †LBL "NPDF" 2. RCL "x" 3. X^2 4. -2 5. ÷ 6. E^X 7. RTN 8. †LBL "Z¨P" 9. PGMINT "NPDF" 10. †LBL 00 11. XEQ "…DPREP" 12. PI 13. RCL+ ST X 14. SQRT 15. ÷ 16. 0.5 17. X<>Y 18. - 19. RTN 20. †LBL "?Z" 21. RCL "z" 22. XEQ 00 23. RCL- 00 24. RTN 25. †LBL "P¨Z" 26. PGMINT "NPDF" 27. STO 00 28. PGMSLV "?Z" 29. 4 30. STO "z" 31. SIGN 32. SOLVE "z" 33. END P¨Z finds Z-score for entered UT probability Eg .01 P¨Z returns 2.3261 Z¨P finds UT probability for entered Z-score Eg 2.4 Z¨P returns 0.0082 |