Scientific Calculator
grayr/econ
By Rockg
Functions used to find present and future values with both annuities and arithmetic gradients
Tagged:
var P_Ani = function(A,n,i){
var P = A(((1+i)^n-1)/(i(1+i)^n));
P;
};
var P_Gni = function(G,n,i){
var P = G(((1+i)^n-i*n-1)/(i^2(1+i)^n));
P;
};
2 Comments
I can't get this to load in the calculator. Any suggestions?
It should work if you type this in the input line:
load("grayr/econ");
Or, if you're logged in, you can open your library from the menu button, switch to the "Online" tab, and it should show up. You can either click on it to open it and click the "Load" button, or just click "run" on the right side of the script entry.
Hope that helps.
Sign in to leave a comment