(10C) Financial Program - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (10C) Financial Program (/thread-15044.html) (10C) Financial Program - Gamo - 05-23-2020 10:10 AM HP-10C financial program. From PPC Calculator Journal V10N8 October 1983 Page 39 As state in this journal somehow the routine provide is not woking as expected. The n, i, PV, PMT, FV store register are in wrong order so the routine is not work. I have updated this program provided with actual interest in percent no need to enter interest in decimal value. ---------------------------------------------- Procedure: Key in as follows: [n] STO 1 [i] STO 2 [PV] STO 3 [FV] STO 5 FOR [GIVEN] KEY i [n, PV, FV] PRGM, R/S PMT [n, i, PV] GTO 60, R/S, R/S // each problem can be repeat no need to re-enter GTO 60 PV [n, i, FV] GTO 61, R/S, R/S // simply input new data and press R/S FV [n, i, PV] GTO 62, R/S, R/S Remark: For easy to remember begining of the program PRGM or GTO 00 is to solve for i problem, GTO 60 to solve for PMT, GTO 61 to solve for PV and GTO 62 to solve for FV each time user go to each problem the same problem can be run again in a loop until change to different problem. -------------------------------------------------------------------- Program: Code: ``` 01 RCL 5 02 RCL 3 03  ÷ 04 RCL 1 05 1/x 06 Y^X 07  1 08  - 09 EEX 10  2 11  x 12 GTO 00  // Solve for i given n, PV and FV  ------------- 13 R/S 14 RCL 2 15 EEX 16  2 17  ÷ 18 STO 2 19  1 20 RCL 2 21  1 22  + 23 RCL 1 24 CHS 25 Y^X 26  - 27  ÷ 28 RCL 3 29  x 30 GTO 13  // Solve for PMT given n, i and PV ------------ 31 R/S 32 RCL 2 33 EEX 34  2 35  ÷ 36 STO 2 37 RCL 5 38 RCL 2 39  1 40  + 41 RCL 1 42 Y^X 43  ÷ 44 GTO 31  // Solve for PV given n, i and FV ------------ 45 R/S 46 RCL 2 47 EEX 48  2 49  ÷ 50  1 51  + 52 RCL 1 53 Y^X 54 RCL 3 55  x 56 GTO 45  // Solve for FV given n, i and PV ------------ 57 R/S 58 R/S 59 R/S 60 GTO 13  // used for easy to remember for each type of  61 GTO 31  // problem to solve for three type of problem 62 GTO 45  // 60 to PMT, 61 to PV and 62 to FV``` Gamo 5/23/2020