# Advanced Calculations with the Action Calculator iBloc

Here’s an example that uses a Calculator “action” to take the four inputs and output the result of the following equation:

a*Math.pow((1+b/c/100),c*d)

Where:

a = principal

b = interest rate

c = periods/year

d = years