Vibration of rectangular plates by the Ritz method