In a two-dimensional Cartesian system, the x-component of a vector is known, and the angle between vector and x-axis is known. Which operation is used to calculate the magnitude of the vector?
a. dividing by cosine
b. dividing by sine
c. multiplying by cosine
d. multiplying by sine