tellers-sql/exercises/4-mortgage-calculator
2015-07-06 10:07:03 -04:00
..
2015-07-06 10:07:03 -04:00
2015-07-06 10:07:03 -04:00

Mortgage Calculator

Make a mortgage calculator that returns your monthly payments based on the following mortgage equation:

M = P( i/12( 1+i/12 )^n )/( ( 1+i/12 )^n - 1 )

Check out the assert test given. See if you can write two more 'assert' statements.

Make a table that shows all of the monthly payments and the change in balance based on the payments