I have to variables and I want to find the value of one divided by the other. What commands should I use to do this?
You should try to use:
echo "scale=4;$variablename/3"|bc