Using Jacobi method and cyclic Jacobi method, find all the eigen values and corresponding eigen vectors of the following matrices:
(a) \(\left[ \begin{array}{cols} 2&3&1\\3&2&2\\ 1&2&1 \end{array}\right] \)
In case of, (a) iterate till off diagonal elements in magnitude are less than 0.0005.