| Line | Command or Statement | Comments |
| 1. | ClrHome | Clear Screen |
| 2. | Disp "SELECT LIST OR" | Instructions |
| 3. | ,"DATA TO BEGIN -" | | |
| 4. | ,"USE COMMAS BTWN" | | |
| 5. | ,"NUMBERS IN LIST" | | |
| 6. | ,"ENTER n, Σx, Σx²" | | |
| 7. | ,"FOR DATA" | End Instructions |
| 8. | Pause | |
| 9. | ClrHome | |
| 10. | Float | |
| 11. | Menu("STD DEV","LIST",L,"DATA",D | |
| 12. | Lbl D | Input Data |
| 13. | Disp "DATA Input" | |
| 14. | Input "n =",N | n = sample size |
| 15. | Input "Σx =",B | Σx = sumX |
| 16. | Input "Σx² =",Y | Σx² = sumXsquared |
| 17. | Goto X | |
| 18. | Lbl L | Input List |
| 19. | Disp "LIST Input" | |
| 20. | Input "L1=",Str1 | |
| 21. | expr("{"+Str1->L1 | |
| 22. | ClrHome | clear screen - calculations |
| 23. | dim(L1->N | n dim( calculator formula |
| 24. | sum(L1->B | Σx; sum( calculator formula |
| 25. | sum(L1²->Y | Σx² sum( calculator formula |
| 26. | Lbl X | formula calculations & display |
| 27. | B/N ->C | calculates
mean x |
| 28. | ((Y - ((B) ²/N))/(N - 1)) ->V | calculates variance |
| 29. | √(V) -> S | standard deviation |
| 30. | ClrHome | Clear screen - display |
| 31. | Disp "n = | |
| 32. | Output(1,4,N | display n |
| 33. | Disp "Σx = | |
| 34. | Output(2,5,B | display Σx |
| 35. | Disp "Σx ² = | |
| 36. | Output(3,6,Y | display Σx ² |
| 37. | Fix 4 | set decimal to 4 places |
| 38. | Disp "x = | |
| 39. | Output(4,4,C | display mean (x) |
| 40. | Disp "S² = | |
| 41. | Output(5,5,V | display variance (S²) |
| 42. | Disp "S = | |
| 43. | Output(6,4,S | display standard deviation (S) |
| 44. | Pause | |
| 45. | Float | clear fix 4 (line 37) |
| 46. | ClrHome | |