Q:

Store the following complex numbers in variables, and print them in the form a + bi. 3-2i  3

0

Store the following complex numbers in variables, and print them in the form a + bi. 3-2i  3 

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

>> z1 = 3-2*i;

>> z2 = sqrt(-3);

>> fprintf('z1 = %.2f + %.2fi\n',real(z1),imag(z1))

z1 = 3.00 + -2.00i

>> fprintf('z2 = %.2f + %.2fi\n',real(z2),imag(z2))

z2 = 0.00 + 1.73i

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now