I am using shell scripting and I am using the following expression:
A=`echo "(( (($a / $b) ^ 0.3) -1 ))" |bc -l`
I want to have a real number as an exponent. I noticed that If I place 0.3, it rounds off to an integer and takes the power of zero. Similarly if I use 5.5 or 5.9 in place of 0.3 in the above expression, I get the same answer.
How do I calculate the power of a number with the exponent being a real number and not an integer