Describe script that displays magnitude of complex number


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.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Describe script that displays magnitude of complex number
Reference No:- TGS0892890

Expected delivery within 24 Hours