calculating the torque in a mill