Calculation of Some Integrals Arising in Heat Transfer in Grinding