equations of ball mill