calculation of energy required for grinding in a