.. _vectorHW: Python Numpy and Vector Homework ================================= #. Consider two vectors. .. math:: \bm{a} = \begin{bmatrix} 3 \\ 8 \end{bmatrix} \hspace{1in} \bm{b} = \begin{bmatrix} -2 \\ 5 \end{bmatrix} a. Compute the dot product :math:`\bm{a} \cdot \bm{b}`. b. What is the length of vectors :math:`\bm{a}` and :math:`\bm{b}`. c. What is the angle between :math:`\bm{a}` and :math:`\bm{b}` in degrees? #. What Python command creates a numpy array of a :math:`3{\times}3` identity matrix? #. If `x` holds a numpy one dimensional array of length 5, what Python command will convert it to a column vector?