for complex z = x + iy, amplitude(z) = sqrt(x·x + y·y)
For a complex number z represented as x + iy, the amplitude of z is given by the square root of the sum of squares of its real and imaginary parts.