I found where the error is coming from.
it is rather form dt that is written in exponential format and not from
torque.
Now I have to convert it in decimal format.
alphabah wrote:
>
> Dear all,
>
> I am trying to do some operation within a bash script but I am running
> int
Dear all,
I am trying to do some operation within a bash script but I am running into
problems very early.
Say I want to do the following:
-
omegaNew=`echo "$omegaNew+$torque*$dt/$momentOfInertia*180/$pi" | bc -l`
---
I got these outputs:
-
torque= -0.0665625 dt= 0.0012 o