Can someone please explain Math.pow to me?
I have this formula for compound interest and my question is, is year the only exponent even though 1 + rate, year are all in the ()?
Also could you explain the formula to me? i just cant wrap my head around it. Why do you add 1 and why is it exponential?
Code:amount=principal*Math.pow(1 + rate, year);




Reply With Quote