home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
busi
/
rd10a.zip
/
INT2.LBM
< prev
next >
Wrap
Text File
|
1990-03-17
|
1KB
|
23 lines
{ Macro calculating present value of interest compounded n times}
{ FORMULA: P=A/(1+i)^n }
{ where P=principal, A=amount, n=number of periods, i=interest }
c {clears the calculator tape}
c {second "c" clears F4 & F8 memories}
D=9 {switches to 9 decimal places to}
{minimize rounding errors}
"FIND PRESENT"
"VALUE OF A"
"FUTURE AMOUNT"
" "
"AMOUNT WHOSE PRESENT VALUE YOU WANT TO FIND"=
ALT-F8 {stores figure in F8 memory}
"PERIODIC INTEREST PERCENTAGE"= {asks for and then displays percent}
/100+ {converts % to frac, adds next line}
1^ {raises result to the power of the}
{figure on the next line}
"PERIODS COMPOUNDED"=
ALT-F4 {stores figure in F4 memory}
D=2 {switches back to 2 decimal places}
F8/ {recalls F8 memory and divides...}
F4= {...by F4 memory}
"PRESENT VALUE"