求下列实对称矩阵A,求一个正交矩阵P,使P^-1AP=P^TAP=D为对角矩阵