已知a+1\3=3,试求a^2+1\a^2,a^4+1\a^4的值