If z=3-4i, then calculate z2

To calculate z^2, we first need to find the square of z:

z = 3 - 4i

z^2 = (3 - 4i)^2
= (3 - 4i)(3 - 4i)
= 3(3) + 3(-4i) - 4i(3) - 4i(-4i)
= 9 - 12i - 12i + 16
= 9 - 24i + 16
= 25 - 24i

Therefore, z^2 = 25 - 24i.