Javascript Lump Sum APR Calculator

This calculator will work out the APR for loan where the credit and charges are repaid in a single lump-sum at the end of the loan period.  It will also deal with cases where there is an additional payment at the start of the loan.  To use the calculator, fill in the figures in the boxes marked '*' and click on the 'Calculate' button to display the result in the final box.  Click on the 'Reset' button to clear the calculator for a new calculation.

* Amount of the credit (£):
* Initial payment amount (£):
* Final repayment amount (£):
* Time of the final repayment (years):

Coded in JavaScript and HTML by Brian Stewart, v1.0 October 2001