If z is a complex number such that z + 1/z = 3, what is the value of z^2 + 1/z^2?
So we know z+1/z=3
if we square that, we would get (z+1/z)^2=9
which can be simplified to z^2+2+1/z^2=9
z^2+1/z+2-2=9-2
z^2+1/z=9-2=7