Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
compound(number1, number2)
number1
represents the interest rate (expressed as a decimal) and number2
represents the number of periods over which the interest is compounded. (1 + rate) ^ periods
rate / 12
) and be sure to express the number of periods as months (2 years = 24 months). on compoundDemo
set numberFormat to "0.00"
answer "$100 invested for 5 years at 5.75% interest" &&¬
"compounded quarterly yields $" & (100 * compound(.0575/4,5*4))
end compoundDemo
Functions
Version 0.7b1 (March 24, 2022)