PROG 224 001: 32 25 11 : g LBL a 002: 31 43 : f CLREG 003: 31 42 : f P<->S 004: 31 43 : f CLREG 005: 01 : 1 006: 32 81 : g x>y 007: 22 01 : GTO 1 008: 44 : CLx 009: 02 : 2 010: 02 : 2 011: 35 52 : h x<->y 012: 32 81 : g x>y 013: 22 01 : GTO 1 014: 33 14 : STO D 015: 01 : 1 016: 31 82 : f % 017: 61 : + 018: 35 33 : h STI 019: 31 83 : f INT 020: 35 22 : h RTN 021: 31 25 01 : f LBL 1 022: 35 53 : h Rv 023: 31 25 04 : f LBL 4 024: 35 72 : h PAUSE 025: 22 04 : GTO 4 026: 31 25 11 : f LBL A 027: 35 71 00 : h F? 0 028: 35 84 : h SPACE 029: 34 15 : RCL E 030: 01 : 1 031: 61 : + 032: 35 71 00 : h F? 0 033: 31 84 : f -x- 034: 35 52 : h x<->y 035: 35 71 00 : h F? 0 036: 31 84 : f -x- 037: 34 24 : RCL (i) 038: 33 51 00 : STO - 0 039: 35 52 : h x<->y 040: 33 24 : STO (i) 041: 33 61 00 : STO + 0 042: 35 53 : h Rv 043: 35 52 : h x<->y 044: 33 15 : STO E 045: 34 14 : RCL D 046: 32 71 : g x<=y 047: 31 22 00 : f GSB 0 048: 31 33 : f DSZ 049: 22 05 : GTO 5 050: 35 34 : h RCI 051: 01 : 1 052: 00 : 0 053: 01 : 1 054: 71 : x 055: 35 33 : h STI 056: 31 25 05 : f LBL 5 057: 35 53 : h Rv 058: 35 22 : h RTN 059: 31 25 00 : f LBL 0 060: 35 52 : h x<->y 061: 35 71 00 : h F? 0 062: 22 00 : GTO 0 063: 35 72 : h PAUSE 064: 31 25 00 : f LBL 0 065: 34 00 : RCL 0 066: 34 14 : RCL D 067: 81 : / 068: 41 : ENTER 069: 35 71 00 : h F? 0 070: 31 84 : f -x- 071: 35 22 : h RTN 072: 31 25 12 : f LBL B 073: 31 41 : f W/DATA 074: 35 22 : h RTN 075: 32 25 12 : g LBL b 076: 35 71 00 : h F? 0 077: 22 00 : GTO 0 078: 01 : 1 079: 35 51 00 : h SF 0 080: 35 22 : h RTN 081: 31 25 00 : f LBL 0 082: 00 : 0 083: 35 61 00 : h CF 0 084: 35 22 : h RTN 085: 31 25 13 : f LBL C 086: 35 84 : h SPACE 087: 00 : 0 088: 31 25 03 : f LBL 3 089: 34 14 : RCL D 090: 32 51 : g x=y 091: 35 22 : h RTN 092: 01 : 1 093: 31 82 : f % 094: 61 : + 095: 35 34 : h RCI 096: 32 51 : g x=y 097: 32 83 : g FRAC 098: 35 33 : h STI 099: 31 34 : f ISZ 100: 34 24 : RCL (i) 101: 31 84 : f -x- 102: 35 54 : h R^ 103: 01 : 1 104: 61 : + 105: 22 03 : GTO 3 106: 31 25 14 : f LBL D 107: 34 00 : RCL 0 108: 34 15 : RCL E 109: 34 14 : RCL D 110: 32 71 : g x<=y 111: 35 52 : h x<->y 112: 35 53 : h Rv 113: 81 : / 114: 35 22 : h RTN 115: 84 : R/S 116: 84 : R/S 117: 84 : R/S 118: 84 : R/S 119: 84 : R/S 120: 84 : R/S 121: 84 : R/S 122: 84 : R/S 123: 84 : R/S 124: 84 : R/S 125: 84 : R/S 126: 84 : R/S 127: 84 : R/S 128: 84 : R/S 129: 84 : R/S 130: 84 : R/S 131: 84 : R/S 132: 84 : R/S 133: 84 : R/S 134: 84 : R/S 135: 84 : R/S 136: 84 : R/S 137: 84 : R/S 138: 84 : R/S 139: 84 : R/S 140: 84 : R/S 141: 84 : R/S 142: 84 : R/S 143: 84 : R/S 144: 84 : R/S 145: 84 : R/S 146: 84 : R/S 147: 84 : R/S 148: 84 : R/S 149: 84 : R/S 150: 84 : R/S 151: 84 : R/S 152: 84 : R/S 153: 84 : R/S 154: 84 : R/S 155: 84 : R/S 156: 84 : R/S 157: 84 : R/S 158: 84 : R/S 159: 84 : R/S 160: 84 : R/S 161: 84 : R/S 162: 84 : R/S 163: 84 : R/S 164: 84 : R/S 165: 84 : R/S 166: 84 : R/S 167: 84 : R/S 168: 84 : R/S 169: 84 : R/S 170: 84 : R/S 171: 84 : R/S 172: 84 : R/S 173: 84 : R/S 174: 84 : R/S 175: 84 : R/S 176: 84 : R/S 177: 84 : R/S 178: 84 : R/S 179: 84 : R/S 180: 84 : R/S 181: 84 : R/S 182: 84 : R/S 183: 84 : R/S 184: 84 : R/S 185: 84 : R/S 186: 84 : R/S 187: 84 : R/S 188: 84 : R/S 189: 84 : R/S 190: 84 : R/S 191: 84 : R/S 192: 84 : R/S 193: 84 : R/S 194: 84 : R/S 195: 84 : R/S 196: 84 : R/S 197: 84 : R/S 198: 84 : R/S 199: 84 : R/S 200: 84 : R/S 201: 84 : R/S 202: 84 : R/S 203: 84 : R/S 204: 84 : R/S 205: 84 : R/S 206: 84 : R/S 207: 84 : R/S 208: 84 : R/S 209: 84 : R/S 210: 84 : R/S 211: 84 : R/S 212: 84 : R/S 213: 84 : R/S 214: 84 : R/S 215: 84 : R/S 216: 84 : R/S 217: 84 : R/S 218: 84 : R/S 219: 84 : R/S 220: 84 : R/S 221: 84 : R/S 222: 84 : R/S 223: 84 : R/S 224: 84 : R/S DATA 26 01: 0 02: 0 03: 0 04: 0 05: 0 06: 0 07: 0 08: 0 09: 0 10: 0 11: 0 12: 0 13: 0 14: 0 15: 0 16: 0 17: 0 18: 0 19: 0 20: 0 21: 0 22: 0 23: 0 24: 0 25: 0 26: 0 STATE 7 DEG FIX 2 0 0 0 0 HELP 18 Calculates a moving average. The average is calculated for the last 'n' items. 1. Key in a value for 'n', press f A. This also clears all previous values. 'n' must be at least 1 and can be up to 22. 2. Key in a value, Xk, to average; press A. The calculator will display 'k' then the moving average. This will be the same as the average until 'n' values have been entered. After that, the oldest Xk values are discarded and the average is calculated using just the last 'n' of them. 3. Repeat step 2 for any additional Xk values. 4. You can save the entered data by pressing B and writing it to a mag card. You can reload the values by reading the mag card and skipping step 1. 5. Press C to show the last 'n' values. 6. Press D at any point to show the moving average again. CARD 11 Title: SD-01A Moving Average A: Xk⇒k,AVG B: W DATA C: ⇒Values D: ⇒AVG E: a: n b: P? c: d: e: END