For a complex number z=x+iy, its modulus is ∣z∣=x2+y2, so the squared modulus is ∣z∣2=x2+y2.
The roots of z2+4z+16=0 form the set S. Solve the quadratic:
Using the quadratic formula, z=2−4±42−4⋅1⋅16=2−4±−48.
Since −48=i48=i43, the roots are
z1=−2+23i,z2=−2−23i.
For each root, add 3i and evaluate the squared modulus.
Case 1: z=z1=−2+23i
z+3i=−2+(23+3)i=−2+33i.
Therefore, ∣z+3i∣2=(−2)2+(33)2=4+9⋅3=4+27=31.
Case 2: z=z2=−2−23i
z+3i=−2+(−23+3)i=−2−3i.
Hence, ∣z+3i∣2=(−2)2+(−3)2=4+3=7.
Add the two values:
∑z∈S∣z+3i∣2=31+7=38.
Option D which is: 38