home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
appl
/
solve.sit
/
loan
next >
Wrap
Text File
|
1987-04-23
|
270b
|
7 lines
precision = 2
monthly_interest = yearly_interest / 12.0;
months = years * 12.0;
payments = principle / annuity( monthly_interest / 100.0, months);
costOfLoan = payments * months - principle;
costPerPayment = costOfLoan / months;
principlePerPayment = principle / months;