m^2-3m+1=0
m-3+1/m=0
m+1/m=3
1)
m^2+1/m^2
=(m+1/m)^2-2
=3^2-2
=7
2)
m^4+1/m^4
=(m^2+1/m^2)-2
=7^2-2
=47