Equated Time¶
Suppose we have a series of contributions for . The method that solves for such that a single payment of at time has the same value at as the sequence of contributions is known as the method of equated time.
Examples¶
Suppose we are are repaying a loan with payments of 5,000 after 5 years, 10,000 after 10 years, and 15,000 after 15 years. If we desire to replace these payments with a single payment of 30,000, such that its present value equals the present value of the original payment plan, at what time must we make this payment? Assume the interest rate is 5% compounded annually.
We can solve this problem using the equated_time()
method of the Payments
class. Declare a Payments
object with the original stream of payments and then pass c=30000 to the equated_time()
method.
In [1]: from tmval import Payments
In [2]: pmts = Payments(
...: amounts=[5000, 10000, 15000],
...: times=[5, 10, 15],
...: gr=.05
...: )
...:
In [3]: t = pmts.equated_time(c=30000)
In [4]: print(t)
11.316000862475944