Calculate Compound interest


I want to calculate compound interest on monthly and daily basis. I am doing this with the formula.

Now the question is wats the syntax for ^ in raise to since i want to do something like A= p(1+R)^N

Now ^ symbol for raise to is not working. Let me know what should i do instead of that?


pow(x,y) can be represented as x**y