This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here's a little Perl script I wrote: | |
https://github.com/jhannah/sandbox/blob/main/amortize.pl | |
✗ ./amortize.pl | |
Usage: | |
amortize.pl --principle=176000 --periods=180 --interest_rate=2.13 \ | |
--principle_payment=12:2000 \ | |
--principle_payment=24:2000 | |
Take out a $176,000 loan over 15 years at 2.13% APR. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2.13% APR | |
Payment 1: Aug 1 2021 | |
$ pip3 install amortization (https://github.com/roniemartinez/amortization) | |
$ amortize --principal 176000 --period 180 --interest-rate 0.0213 --schedule | |
Number Amount Interest Principal Balance | |
-------- ---------- ---------- ----------- ---------- | |
1 1,143.14 312.40 830.74 175,169.26 Aug 1 2021 | |
2 1,143.14 310.93 832.21 174,337.05 | |
3 1,143.14 309.45 833.69 173,503.36 |