Post Reply 
(15C) Accurate TVM for HP-15C
08-27-2016, 10:07 PM (This post was last modified: 08-27-2016 10:42 PM by Nick.)
Post: #7
RE: (15C) Accurate TVM for HP-15C
UI Mod: 40 step version w/ 12C Layout

Layout (12C): [A: N], [B: I], [C: PV], [D: PMT], [E: FV]

Clear: GSB 2
- Mnemonic: 12C
- Note: You must run Clear to initialize the program before use.

Store: STO {A..E}

Solve: [f] {A..E} or for User Mode simply {A..E}
- (Option) Set X & Y to a range of values to search (slightly faster to run and much slower to key)
- (Option) Don't bother entering anything as most of the time it will work as-is. Use 1 ENTER or -1 ENTER and re-run if SOLVE fails. (faster to key)

Recall: RCL {A..E}

Set End (default): 0 STO 2
Set Begin: 1 STO 2
- Mnemonic: 12C

Code:
01 LBL A
02 RCL MATRIX A
03 GTO 0
04 LBL B
05 RCL MATRIX B
06 GTO 0
07 LBL C
08 RCL MATRIX C
09 GTO 0
10 LBL D
11 RCL MATRIX D
12 GTO 0
13 LBL E
14 RCL MATRIX E
15 LBL 0
16 STO I
17 Rdn
18 SOLVE 1
19 RTN
20 LBL 1
21 STO (i) 
22 RCL B 
23 EEX 
24 2 
25 / 
26 ENTER 
27 ENTER 
28 1 
29 + 
30 LN 
31 X<->Y
32 LSTx 
33 1 
34 TEST 6 
35 - 
36 / 
37 * 
38 RCL* A 
39 ENTER 
40 e^x 
41 RCL* C 
42 X<->Y
43 2 
44 / 
45 HYP SIN
46 LSTx 
47 e^x 
48 * 
49 2 
50 * 
51 RCL* D
52 EEX 
53 2 
54 RCL/ B 
55 RCL+ 2 
56 *
57 +
58 RCL+ E 
59 RTN
60 LBL 2
61 MATRIX 0
62 1
63 ENTER
64 DIM A
65 DIM B
66 DIM C
67 DIM D
68 DIM E
69 MATRIX 1
70 [CLEAR] SIGMA
71 STO 2
72 RTN

Comments:

- Uses 1x1 Matricies to treat A..E as direct access registers. This requires R0=1 and R1=1 for A..E to function. This is set via MATRIX 1 in the Initialize/Clear routine. The contents of A..E will not be lost if R0 or R1 are changed, but they must be reset with MATRIX 1 (or manually) to restore direct access.
- The 12C style version in the 15C Advanced Functions Handbook p24-30 [2012] by contrast is 108 steps long.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Accurate TVM for HP-15C - Thomas Klemm - 01-10-2014, 05:31 AM
RE: Accurate TVM for HP-15C - Jeff_Kearns - 01-10-2014, 05:38 AM
RE: Accurate TVM for HP-15C - Dieter - 01-16-2014, 09:32 PM
RE: Accurate TVM for HP-15C - Jeff_Kearns - 01-16-2014, 09:38 PM
RE: Accurate TVM for HP-15C - Jeff_Kearns - 05-25-2014, 03:03 PM
RE: (15C) Accurate TVM for HP-15C - Nick - 08-27-2016 10:07 PM
RE: (15C) Accurate TVM for HP-15C - Nick - 08-27-2016, 10:34 PM



User(s) browsing this thread: 1 Guest(s)