integrate h/(n-m) (Pi * x^2 - x^2 * arccos(d/x) + d * sqrt(x^2-d^2)) dx