If you want to make a function call in LHS you have to use Eval, it allows you to execute any Java code. In this especific case, you can call Math.pow() inside of it.Before using it, I strongly recommend you to read the documentation about it.