Solve for r M=pr^2hd