Within my Excel spreadsheet, I am working with this particular equation:
=(P12/P10)^(1/P13)-1
At first glance, I assumed the equivalent in code would be:
Math.pow( ( P12 / P10 ), (1 / P13 ) ) - 1
However, it seems that my assumption was incorrect.