TVM solve for interest rate, revisited
|
06-29-2022, 07:26 PM
(This post was last modified: 06-30-2022 12:16 PM by Albert Chan.)
Post: #26
|
|||
|
|||
RE: TVM solve for interest rate, revisited
This solved TVM calculations, 5 variables, 1 unknown
Code: function tvm(n,i,pv,pmt,fv) lua> n,pv,pmt,fv = 36, 30000, -550, -15000 lua> tvm(n,nil,pv,pmt,fv) -- i 0.005805072819420131 lua> i = _ lua> tvm(nil,i,pv,pmt,fv) -- n 36 lua> tvm(n,i,nil,pmt,fv) -- pv 30000 lua> tvm(n,i,pv,nil,fv) -- pmt -550 lua> tvm(n,i,pv,pmt,nil) -- fv -15000.000000000002 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)