If #x^2-3x+1=0#, what is the value of #x^2+1/x^2#?