Solve the foregoing problem for the case of the pan having a mass \(M\). Find the oscillation amplitude in this case.