Complex Analysis Practical
Complex Analysis Practical
5590838}]
Practical 1
Question-1) Write the following complex numbers and write their real and imaginary part. Give
graphical representation also.
(i) 3+4i
(ii) 11+5i
(iii) 7+2i
(iv) 7 - 2 i
(v) -13-5i
(vi) 5-2i
In[ ]:= z1 = 3 + 4 * I
Out[ ]= 3+4ⅈ
Out[ ]= 2
In[ ]:= z2 = 11 + 5 * I
Out[ ]= 11 + 5 ⅈ
3
Out[ ]=
2
2 4 6 8 10
In[ ]:= z3 = 7 + 2 I
Out[ ]= 7+2ⅈ
1.5
Out[ ]= 1.0
0.5
1 2 3 4 5 6 7
In[ ]:= z4 = 7 - 2 I
Out[ ]= 7-ⅈ 2
Out[ ]= - 2
In[ ]:= z5 = - 13 - 5 I
Out[ ]= - 13 - 5 ⅈ
P-1.nb 3
-2
Out[ ]=
-3
-4
-5
In[ ]:= z6 = 5 - 2 I
Out[ ]= 5-2ⅈ
-0.5
Out[ ]= -1.0
-1.5
-2.0
Question 2) For the following array of complex numbers find real and imaginary part.
In[ ]:= z1 = 8 - 5 * I
Out[ ]= 8-5ⅈ
In[ ]:= z2 = 15 + 7 * I
Out[ ]= 15 + 7 ⅈ
In[ ]:= z3 = 9 - 4 * I
Out[ ]= 9-4ⅈ
4 P-1.nb
6
4
2
Out[ ]=
2 4 6 8 10 12 14
-2
-4
(ii) z4 = 7 - 2 i, z5 = -13 - 5 i, z6 = 5 - 2 i
In[ ]:= z4 = 7 - 2 I
Out[ ]= 7-ⅈ 2
In[ ]:= z5 = - 13 - 5 I
Out[ ]= - 13 - 5 ⅈ
In[ ]:= z6 = 5 - 2 I
Out[ ]= 5-2ⅈ
Out[ ]= - 2 , - 5, - 2
-2
Out[ ]=
-3
-4
-5
Question-3) Write the following in form of a+ib and find real imaginary also argument. Also give
graphical representation (Both Polar and Complex).
1
(i) 2 + i - 3-i
P-1.nb 5
1
In[ ]:= z1 = 2 + I -
3-I
17 9ⅈ
Out[ ]= +
10 10
37
Out[ ]=
10
0.8
0.6
Out[ ]=
0.4
0.2
0.8
0.6
Out[ ]=
0.4
0.2
0.8
0.6
Out[ ]=
0.4
0.2
5*I
(ii) z2= 2+3 I
5*I
In[ ]:= z2 =
2+3I
15 10 ⅈ
Out[ ]= +
13 13
0.6
Out[ ]= 0.4
0.2
0.6
0.4
Out[ ]=
0.2
0.6
0.4
Out[ ]=
0.2
1+I
(iii) z3= 2-5*I
1+I
In[ ]:= z3 =
2-5*I
37ⅈ
Out[ ]= - +
29 29
2
Out[ ]=
29
0.20
0.15
Out[ ]=
0.10
0.05
0.20
0.15
Out[ ]=
0.10
0.05
-0.10-0.08-0.06-0.04-0.02
P-1.nb 9
0.20
0.15
Out[ ]=
0.10
0.05
(iv)