Compound Interest Function Equation