Resolve the following vectors into components:

(a) The vector $\vec v$ in 2-space of length 3 pointing up at an angle of $\pi/4$ measured from the positive $x$-axis.
$\vec v =$ $\vec i$ + $\vec j$

(b) The vector $\vec w$ in 3-space of length 1 lying in the $yz$-plane pointing upward at an angle of $3\pi/4$ measured from the positive $y$-axis.
$\vec v =$ $\vec i$ + $\vec j$ + $\vec k$