I am trying to figure out how compute a math expression involving parenthesis and exponents in bash. Feel free to offer solutions using sed, awk, perl, bash
for example
i=0.0545
j=360
(1+ $i * 2.43 / 100.0) ^ ($j/940) -1
How would you encoded in bash and get the floating point result?
Here it is in perl: