Problem:
Question- Generate a script that displays the magnitude and phase angle in degrees of a complex number. The display to the command window should look like
Enter real part of a complex number:-7
Enter imaginary part of a complex number: 13
The magnitude and phase of -7+13i is
Magnitude = 14.7648 Phase angle = 118.3008 degrees
Where -7 and 13 were entered by the user
Please describe a script that displays the magnitude and phase angle of complex number.