Post Reply 
(17B/19B) GPM: initial payment
06-01-2024, 01:12 AM
Post: #28
RE: (17B/19B) GPM: initial payment
(05-25-2024 11:52 PM)Gil Wrote:  [PMT] is plain and easy. Trickier is to find i.

Inspired by Werner's post of finding growth rate, we have the formula for i too.

x = ((s-1)-APY) / (1+APY)

tvm(N, x, USPV(i,300), USPV(i,12), nil) --> PV/PMT

Now, do this in reverse, with nil replaced by PV/PMT, solve for rate x

x = s / (1+APY) - 1
(1+x) * (1+APY) = s            // formula for x and APY have same form!

--> APY = ((s-1)-x) / (1+x)
--> (s-1) = x*(1+APY) + APY

To confirm math, we redo Werner's previous post, solve for growth rate (s-1)

lua> K = fn'i,n: expm1(log1p(i)*n)'
lua> USPV = fn'i,n: -K(i,-n)/i'
lua> i = 0.01
lua> APY = K(i,12)

lua> tvm(5, nil, USPV(i,300), USPV(i,12), -1/i) * (1+APY) + APY
0.008053452004141717
lua> tvm(30, nil, 0, USPV(i,12), -1/i) * (1+APY) + APY
0.003973548652941375
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(17B/19B) GPM: initial payment - SlideRule - 05-22-2024, 11:39 AM
RE: (17B/19B) GPM: initial payment - Gil - 05-25-2024, 04:05 PM
RE: (17B/19B) GPM: initial payment - Gil - 05-25-2024, 08:22 PM
RE: (17B/19B) GPM: initial payment - Gil - 05-25-2024, 09:12 PM
RE: (17B/19B) GPM: initial payment - Gil - 05-25-2024, 11:52 PM
RE: (17B/19B) GPM: initial payment - Albert Chan - 06-01-2024 01:12 AM
RE: (17B/19B) GPM: initial payment - Gil - 05-29-2024, 07:08 PM
RE: (17B/19B) GPM: initial payment - Gil - 05-30-2024, 01:08 AM
RE: (17B/19B) GPM: initial payment - Gil - 05-30-2024, 03:14 AM
RE: (17B/19B) GPM: initial payment - Gil - 06-01-2024, 10:43 AM
RE: (17B/19B) GPM: initial payment - Gil - 06-01-2024, 11:57 AM
RE: (17B/19B) GPM: initial payment - Gil - 06-17-2024, 08:32 PM
RE: (17B/19B) GPM: initial payment - Gil - 06-18-2024, 08:03 AM
RE: (17B/19B) GPM: initial payment - Gil - 06-20-2024, 01:28 PM



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