mathematical derivation in ball mill