Calculation for ratating ball mill