Let me explain here
I am using this type of value for the formula.

and it shows output like this

And its shows the wrong answer here.
if I want to get the correct answer. I have to write an equation like this. so how can I calculate power(^) for variables with unit?

And it shows output like this

that's the correct answer.
So, in the first case, the formula variable with the unit can't get calculated correctly with power.
and second case it is correct but I can't write a formula like this in my case.