Mathmateica
Mathmateica
1.0
0.5
-0.5
-1.0
5030 Parth.nb 3
n = 5;
Roots@z ^ n 1, zD;
8ToRules@Roots@z ^ n 1, zDD<;
roots = 8Re@ðD, Im@ðD< & Hz . 8ToRules@Roots@z ^ n 1, zDD<L
points = Graphics@8Red, PointSize@LargeD, Point@rootsD<D;
circle = Graphics@8Blue, Circle@80, 0<, 1D<D;
poly = Graphics@8LightGreen, Polygon@rootsD<D;
Show@8points, circle, poly<, Axes ® True, AxesStyle ® BlackD
: I- 1 - 5 M, - >, : I- 1 + 5 M, - >>
1 5 5 1 5 5
- +
4 8 8 4 8 8
1.0
0.5
-0.5
-1.0
4 5030 Parth.nb
n = 6;
Roots@z ^ n 1, zD;
8ToRules@Roots@z ^ n 1, zDD<;
roots = 8Re@ðD, Im@ðD< & Hz . 8ToRules@Roots@z ^ n 1, zDD<L
points = Graphics@8Red, PointSize@LargeD, Point@rootsD<D;
circle = Graphics@8Blue, Circle@80, 0<, 1D<D;
poly = Graphics@8LightGreen, Polygon@rootsD<D;
Show@8points, circle, poly<, Axes ® True, AxesStyle ® BlackD
0.5
-0.5
-1.0
5030 Parth.nb 5
n = 7;
Roots@z ^ n 1, zD;
8ToRules@Roots@z ^ n 1, zDD<;
roots = 8Re@ðD, Im@ðD< & Hz . 8ToRules@Roots@z ^ n 1, zDD<L
points = Graphics@8Red, PointSize@LargeD, Point@rootsD<D;
circle = Graphics@8Blue, Circle@80, 0<, 1D<D;
poly = Graphics@8LightGreen, Polygon@rootsD<D;
Show@8points, circle, poly<, Axes ® True, AxesStyle ® BlackD
0.5
-0.5
-1.0
6 5030 Parth.nb
n = 8;
Roots@z ^ n 1, zD;
8ToRules@Roots@z ^ n 1, zDD<;
roots = 8Re@ðD, Im@ðD< & Hz . 8ToRules@Roots@z ^ n 1, zDD<L
points = Graphics@8Red, PointSize@LargeD, Point@rootsD<D;
circle = Graphics@8Blue, Circle@80, 0<, 1D<D;
poly = Graphics@8LightGreen, Polygon@rootsD<D;
Show@8points, circle, poly<, Axes ® True, AxesStyle ® BlackD
0.5
-0.5
-1.0
Practical 2:
::- 234 SinB F, 234 CosB F>, :- 234 CosB F, - 234 SinB F>,
Π Π Π Π
8 8 8 8
:2 SinB F, - 2 CosB F>, :2 CosB F, 2 SinB F>>
34
Π 34
Π 34
Π 34
Π
8 8 8 8
1.5
1.0
0.5
-0.5
-1.0
-1.5
Practical 3:
-4 -2 2 4
-1
-2
5030 Parth.nb 9
-3 -2 -1 1 2 3
-1
-2
-3
-4 -3 -2 -1 1 2
-1
-2
-3
-4
-5
Practical 4:
3 10
2
5
1
0 0
-1
-5
-2
-3 -10
-3 -2 -1 0 1 2 3 -10 -5 0 5 10
Practical 5:
3 10
2
5
1
0 0
-1
-5
-2
-3 -10
-3 -2 -1 0 1 2 3 -10 -5 0 5 10
Practical 6:
3 3
2 2
1 1
0 0
-1 -1
-2 -2
-3 -3
-3 -2 -1 0 1 2 3 -3 -2 -1 0 1 2 3
5030 Parth.nb 13
Practical 7:
4 4
2 2
-4 -2 2 4 -4 -2 2 4
-2 -2
-4 -4
Practical 8:
14 5030 Parth.nb
Practical 8:
-4 -2 2 4
-2
-4
c2 = 8- 2 * t - 1, - t<;
p2 = ParametricPlot@8c2<, 8t, - 1, 0<, PlotRange ® 88- 5, 5<, 8- 5, 5<<D
-4 -2 2 4
-2
-4
16 5030 Parth.nb
c3 = 8- 2 * t + 1, 2 * t + 1<;
p3 = ParametricPlot@8c3<, 8t, - 1, 0<, PlotRange ® 88- 5, 5<, 8- 5, 5<<D
-4 -2 2 4
-2
-4
-4 -2 2 4
-2
-4
C1 = 82 * t, Π 4 * t<;
z@t_D := 2 * t + Π 4 * ä
f@z_D := Exp@zD
ParametricPlot@8C1<, 8t, 0, 1<, PlotRange ® AllD
Integrate@f@z@tDD * z '@tD, 8t, 0, 1<D
Print@"This is the required integral value."D;
0.8
0.6
0.4
0.2
H- 1L14 I- 1 + ã2 M
f@z_D := 1 Hz - 2L;
0.8
0.6
0.4
0.2
äΠ
0.5
-1 1 2 3
-0.5
-1.0
z@t_D := H- 4 * t - 1L + ä * H- 2 * t - 1L;
f@z_D := z;
Integrate@f@z@tDD z '@tD, 8t, 0, - 1<D
4+2ä
c5 = 82 * t + t ^ 2, t<;
ParametricPlot@c5, 8t, - 1, 1<D
1.0
0.5
-1 1 2 3
-0.5
-1.0
z@t_D := H2 * t + t ^ 2L + ä * t;
f@z_D := z;
Integrate@f@z@tDD z '@tD, 8t, - 1, 1<D
4+2ä
20 5030 Parth.nb
f@z_D := 1 Hz ^ 2 + 1L;
Parametric equation of a line segment from 2 to 2 + ä
g@t_D := 2 + t * ä
value = Integrate@f@g@tDD * g '@tD, 8t, 0, 1<D
ä + 4 a equation from line of Parametric segment to
- ArcTan@2D + ArcTan@2 + äD
N@Abs@ComplexExpand@valueDDD
0.187249
5030 Parth.nb 21
NB1 2 * 5F
1.11803
0.5
-0.5
-1.0
22 5030 Parth.nb
Exercise 1:
C5 = 82 * Cos@tD, 2 * Sin@tD<
ParametricPlot@8C5<, 8t, 0, Pi 2<, PlotRange ® AllD
82 Cos@tD, 2 Sin@tD<
2.0
1.5
1.0
0.5
f@z_D := Hz - 2L Hz ^ 4 + 1L
Practical 13:
Solve@2 + z - z ^ 2 0, z, ComplexesD
88z ® - 1<, 8z ® 2<<
f@z_D := 3 H2 + z - z ^ 2L;
f1@zD
f2@zD