Find the amount of debt after n months
Initial amount
Annual interest (%)
Monthly payment
Months
From the book "Mathematics and physics for programmers" by Danny Kodicek and John P. Flynt (see Google Books)