Originally posted by tautology
alternatively:
function: e^(.0003^(x^2)) <-- where (x) is the current skill level
excel: =INT(EXP(.0003*POWER(x,2))) <-- where (x) is a cell reference to the current skill level.
javascript: var cost = parseInt(Math.exp(.0003 * Math.pow(current_total_value, 2)));
Damn....you beat me to it
