If $X=x\cos \theta +y\sin \theta$, then x= | ClassNotes