A small clarification: The Logix 5000 instruction set has an "X to the power of Y" function.
In relay ladder logic and function block languages, this instruction uses the "XPY" block.
In Structured Text and inside Compute instructions, the syntax is "x ** y".
RSLogix 5000 has no built-in operators for Euler's number or for Pi. There is no "EXP" function that returns euler's number-to-the-X-power in RSLogix 5000 like there is in many PC programming languages like C++.
There is a Natural Log (LN) instruction, as well as a Log Base 10 (LOG) instruction, which are often used in similar applications.