The following line is not working in my script:
a=$(echo "scale=3;(2*$j/(sqrt(3)*$i))" | bc)
a1=$(echo `expr "scale=3; $a^(1/3)"` | bc -l)
The error it is giving:
Runtime warning (func=(main), adr=21): non-zero scale in exponent
I just want to have the value of cube root of 'a'. Somehow, I am not getting it. Please give some idea.