Home › Forums › geometry optimization › step 1 : volume optimization › Real number in bash This topic has 1 reply, 1 voice, and was last updated 1 year, 1 month ago by davide.a. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts November 6, 2023 at 4:30 pm #9894 davide.aParticipant Not fun to use real number in bash. You have to use bc to use things like cubic root. To take the square root of x: x=$(bc -l <<< “scale=15; e(l($x)/3)”) November 6, 2023 at 4:31 pm #9895 davide.aParticipant *cubic root Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In