If you take the position vector at any time, the magnitude is r, this angle is theta, its x-component, in blue, this vector right over here, the magnitude of the vector, I should say, is going to be r cosine of theta