derive the equation of ball mill