A new instruction will added in v11 for Pow. In the meantime you can use this formula:
I have found a mathematical equivalent if the Prorealtime LOG function (called Napierian log in the manual) is actually the common LN function:
y = x^p = e^(p*LN(x))
This could then be coded as: y = EXP(p*LOG(x)) This works fine.
For negative exponent, use this formula:
y = 1/(EXP(p*LOG(x)))
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok
What if I want to usean exponent different than 2?
A new instruction will added in v11 for Pow. In the meantime you can use this formula:
I have found a mathematical equivalent if the Prorealtime LOG function (called Napierian log in the manual) is actually the common LN function:
y = x^p = e^(p*LN(x))
This could then be coded as: y = EXP(p*LOG(x)) This works fine.
For negative exponent, use this formula:
y = 1/(EXP(p*LOG(x)))