home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Komputer for Alle 2002 #12
/
K-CD-12-2002.ISO
/
GraphCalc
/
scripts
/
Finance
/
compound_interest.gcs
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
2000-11-19
|
251 b
|
7 lines
#Compound Interest
[Tab=output]
[PromptVal=c:initial deposit]
[PromptVal=rate:"interest rate (eg. for 6% enter 0.06)"]
[PromptVal=n:# of times per year interest in compounded]
[PromptVal=years:number of years invested]
p=c*(1+(rate/n))^(n*years)