An Investigation of the Rotation Period of the Sun by Spectroscopic Methods