We can do this by using the component method. For a vector in 3D, the x-component is the magnitude of the vector times the cosine of the angle it makes with the x-axis, and the y-component is the magnitude of the vector times the sine of the angle it makes with
Show more…