Factor the matrix A into a product xDx^(-1) where D is diagonal:
(a) A=[[0,1],[1,0]]
(b) A=[[5,6],[-2,-2]]
(c) A=[[2,-8],[1,-4]]
(d) A=[[2,2,1],[0,1,2],[0,0,-1]]
..Factor the matrix A into a product XDX-1 where D is diagonal
01 aA= 10
(bA=
cA=
22 (d) A= 0 1 2 0 0 -1