Both calculate an approximation of the first natural frequency of vibration, which is assumed to be nearly equal to the critical speed of rotation. The Rayleigh–Ritz method is discussed here. For a shaft that is divided into n segments, the first natural frequency for a given beam, in rad/s, can be approximated as: