(12C) Mortgage Loan Interest Rate
|
06-15-2021, 07:45 AM
(This post was last modified: 06-15-2021 07:58 AM by Gamo.)
Post: #1
|
|||
|
|||
(12C) Mortgage Loan Interest Rate
This program was modify and adapted to work for the HP-12C from
HP-33E Applications Book on Page 37 As state in this book program will calculate the interest rate on a loan with equal periodic payments. The user must specify the number of period, the present value or initial loan amount, and the payment amount. The program performs an iterative solution for [i] using Newton's method. Usually this type of problem can be solve easily with the HP-12C but I found that this program run faster than the Original HP-12C when solve for "Interest Rate" So this program is use to try out the computation speed between the build-in TVM functions and the custom program. ----------------------------------------------------------------- Example Problem: n = 36 PV = 3600 PMT = -360 Interest Rate = ? [f] 2 36 [n] 3600 [PV] 360 [CHS] [PMT] [i] ...... about 17 second display 9.64 To use program: same data as previous problem press [R/S]....... about 12 second display 9.64 ---------------------------------------------------------------- Program: Code:
Remark: This program speed don't make noticeable different on the HP-12C+ I think the reason that this program run faster might be how this program use the initial guess (The guess migh be very close to the solution than the HP-12C TVM algorithm) Gamo 6/2021 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Mortgage Loan Interest Rate - Gamo - 06-15-2021 07:45 AM
RE: (12C) Mortgage Loan Interest Rate - Albert Chan - 06-15-2021, 01:13 PM
RE: (12C) Mortgage Loan Interest Rate - Gamo - 06-16-2021, 06:00 AM
RE: (12C) Mortgage Loan Interest Rate - Albert Chan - 06-16-2021, 03:28 PM
|
User(s) browsing this thread: 1 Guest(s)