You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
563 B
12 lines
563 B
4 years ago
|
QString formName = i18n("Compound Interest");
|
||
|
defaultFormulae.append(formName);
|
||
|
formulas[formName] = "4 reqargs 3 rolld dup 3 rolld / 1 + 3 rolld * ^ *";
|
||
|
help[formName] = i18n("Arguments: Principal, interest rate (like .04 for 4%), compoundings per year, and number of years");
|
||
|
defFormulas.append(formName);
|
||
|
|
||
|
formName = i18n("Continuously Compounding Interest");
|
||
|
defaultFormulae.append(formName);
|
||
|
formulas[formName] = "3 reqargs 1 e^ 3 rolld * ^ *";
|
||
|
help[formName] = i18n("Arguments: Principal, interest rate, and number of years");
|
||
|
defFormulas.append(formName);
|