Вы находитесь на странице: 1из 32

PRACTICAL-1

Aim-:Plotting of graphs of function of type(greatest


integer function)...(even and oddpositive integer)
question-1

Plot@Sin@xD, 8x, - 2, 2<, Filling ® AxisD


1.0

0.5

-2 -1 1 2

-0.5

-1.0

QUESTION - 2

a = 2;
b = 4;
Plot@Sin@a x + bD, 8x, a, b<, Filling ® AxisD
1.0

0.5

2.5 3.0 3.5 4.0

-0.5

-1.0
2 pankaj kumar yadav( zo-725 )andc delhi.nb.

QUESTION - 3
Plot@Tan@2 x - 3D, 8x, 4, 8<, Filling ® AxisD

5 6 7 8

-2

-4

-6

QUESTION - : 4

Plot@Exp@5 xD, 8x, 2, 5<, Filling ® AxisD

1.2 ´ 1010

1.0 ´ 1010

8.0 ´ 109

6.0 ´ 109

4.0 ´ 109

2.0 ´ 109

2.5 3.0 3.5 4.0 4.5 5.0

QUESTION - : 5

Plot@8Sin@5 xD, Cos@4 xD<, 8x, 7, 6<, Filling ® AxisD


1.0

0.5

6.2 6.4 6.6 6.8 7.0

-0.5

-1.0
pankaj kumar yadav( zo-725 )andc delhi.nb. 3

ClearAll
ClearAll

QUESTION-:6
a = 1;
b = 3;

Manipulate@Plot@Sin@a x + bD, 8x, - 1, 5<D, 8a, - 1, 6<, 8b, 2, 5<D

1.0

0.5

-1 1 2 3 4 5

-0.5

-1.0

QUESTION - : 7
Plot@ArcTan@2 x - 3D, 8x, 2, 9<, Filling ® AxisD
1.5

1.4

1.3

1.2

1.1

3 4 5 6 7 8 9

QUESTION - : 8
4 pankaj kumar yadav( zo-725 )andc delhi.nb.

a = 3; b = 8;
f@x_D := Sin@a x + bD
p1 = Plot@f@xD, 8x, 1, 7<, Filling ® Axis, PlotStyle ® RGBColor@0, 1, 1DD
1.0

0.5

2 3 4 5 6 7

-0.5

-1.0

Question-:9
a = 2; b = 4;
f@x_D := Sin@a x + bD
p2 = Plot@f@xD, 8x, 2, 4<, Filling ® Axis, PlotStyle ® RGBColor@1, 0, 1DD

1.0

0.5

2.5 3.0 3.5 4.0

-0.5

-1.0
pankaj kumar yadav( zo-725 )andc delhi.nb. 5

Question-:10
Show@8p1, p2<, PlotRange ® AllD
1.0

0.5

2 3 4 5 6 7

-0.5

-1.0

Question-:11
Plot@8Sin@xD, Tan@xD, Cos@xD<, 8x, - 3, 3<, Filling ® Axis, PlotLegends ® "Expression"D

Expression
-3 -2 -1 1 2 3

-1

-2

-3

Question-:12
f@x_D := Floor@xD
Plot@f@xD, 8x, - 3, 4<, Filling ® AxisD
3

-3 -2 -1 1 2 3 4

-1

-2

-3

PRACTICAL-:2
Aim-:Plotting the graphs of polynomial of degree 4 and
6 pankaj kumar yadav( zo-725 )andc delhi.nb.

PRACTICAL-:2
Aim-:Plotting the graphs of polynomial of degree 4 and
5, their derivative and second derivative
Question-:1 f[x_]=x^4+3x^2+3x-1
f@x_D = x ^ 4 + 3 x ^ 2 + 3 x - 1
Plot@f@xD, 8x, - 5, 5<D
- 1 + 3 x + 3 x2 + x4

700

600

500

400

300

200

100

-4 -2 2 4

Question-:2 f’[x]

Plot@f '@xD, 8x, - 5, 5<D

400

200

-4 -2 2 4

-200

-400
pankaj kumar yadav( zo-725 )andc delhi.nb. 7

Question-:3 f’’[x]
Plot@f ''@xD, 8x, - 5, 5<D
300

250

200

150

100

50

-4 -2 2 4

Question-:4 f[x_]:=x^5+2x^2+1
f@x_D := x ^ 5 + 2 x ^ 2 + 1
Plot@f@xD, 8x, - 1, 5<D
2000

1500

1000

500

-1 1 2 3 4 5
8 pankaj kumar yadav( zo-725 )andc delhi.nb.

Question-:5
Plot@f '@xD, 8x, - 5, 5<D

3000

2500

2000

1500

1000

500

-4 -2 2 4

Question-:6
Plot@8f@xD, f '@xD, f ''@xD<, 8x, - 2, 5<, PlotLegends ® "Expression", Filling ® AxisD

3000

2500

2000

1500 Expression

1000

500

-2 -1 1 2 3 4 5
pankaj kumar yadav( zo-725 )andc delhi.nb. 9

PRACTICAL-:3
Aim-:STETCHING OF PARAMETRIC CURVE
Question-:1
ParametricPlot@8Cos@tD, Sin@tD<, 8t, 0, 2 Π<D
1.0

0.5

-1.0 -0.5 0.5 1.0

-0.5

-1.0

ParametricPlot@82 t ^ 2, 4 t<, 8t, - 4, 4<D


Question-:2

15

10

5 10 15 20 25 30

-5

-10

-15

PRACTICAL-:4
Aim-:Matrix
operation(addition,multiplication,inversetranspose,deter
10 pankaj kumar yadav( zo-725 )andc delhi.nb.

PRACTICAL-:4
Aim-:Matrix
operation(addition,multiplication,inversetranspose,deter
minent,rank,eigenvectors,eigenvalueverification of
hamilton equestion)

Question-:1 A+B
A = 881, 3, 4<, 84, 5, 9<, 83, 4, 6<<
B = 882, 4, 5<, 84, 7, 8<, 85, 7, 9<<
A + B  MatrixForm
881, 3, 4<, 84, 5, 9<, 83, 4, 6<<

882, 4, 5<, 84, 7, 8<, 85, 7, 9<<

3 7 9
8 12 17
8 11 15

Question-:2 A-B
A = 881, 3, 4<, 84, 5, 9<, 83, 4, 6<<
B = 882, 4, 5<, 84, 7, 8<, 85, 7, 9<<
A - B  MatrixForm
881, 3, 4<, 84, 5, 9<, 83, 4, 6<<

882, 4, 5<, 84, 7, 8<, 85, 7, 9<<

-1 -1 -1
0 -2 1
-2 -3 -3

Question-:3 A*B
A = 881, 3, 4<, 84, 5, 9<, 83, 4, 6<<
B = 882, 4, 5<, 84, 7, 8<, 85, 7, 9<<
A * B  MatrixForm
881, 3, 4<, 84, 5, 9<, 83, 4, 6<<

882, 4, 5<, 84, 7, 8<, 85, 7, 9<<

2 12 20
16 35 72
15 28 54
pankaj kumar yadav( zo-725 )andc delhi.nb. 11

Question-:4 A/B
A = 881, 3, 4<, 84, 5, 9<, 83, 4, 6<<
B = 882, 4, 5<, 84, 7, 8<, 85, 7, 9<<
A  B  MatrixForm
881, 3, 4<, 84, 5, 9<, 83, 4, 6<<

882, 4, 5<, 84, 7, 8<, 85, 7, 9<<


1 3 4
2 4 5
5 9
1 7 8
3 4 2
5 7 3

Question-:4 Det[A]
A = 881, 3, 6<, 84, 5, 9<, 83, 4, 6<<
Det@AD
881, 3, 6<, 84, 5, 9<, 83, 4, 6<<

Question-:5 Inverse[A]
A = 881, 3, 6<, 84, 5, 9<, 83, 4, 6<<
Inverse@AD  MatrixForm
881, 3, 6<, 84, 5, 9<, 83, 4, 6<<
2 2 1
-3 3
-3
1 4 5
3
-3 3
1 5 7
9 9
-9

Question-:6 Transpose[A]
A = 881, 3, 6<, 84, 5, 9<, 83, 4, 6<<
Transpose@AD  MatrixForm
881, 3, 6<, 84, 5, 9<, 83, 4, 6<<

1 4 3
3 5 4
6 9 6

Question-:7 Conjugate[A]
A = 881, 3, 6<, 84, 5, 9<, 83, 4, 6<<
Conjugate@AD  MatrixForm
881, 3, 6<, 84, 5, 9<, 83, 4, 6<<

1 3 6
4 5 9
3 4 6
12 pankaj kumar yadav( zo-725 )andc delhi.nb.

Question-:8 ConjugateTranspose[A]
A = 881, 3, 6<, 84, 5, 9<, 83, 4, 6<<
ConjugateTranspose@AD  MatrixForm
881, 3, 6<, 84, 5, 9<, 83, 4, 6<<

1 4 3
3 5 4
6 9 6

Question-:9 MatrixRank[A]
A = 881, 3, 6<, 84, 5, 9<, 83, 4, 6<<
MatrixRank@AD
881, 3, 6<, 84, 5, 9<, 83, 4, 6<<

Question-:10 Eigenvalues[A]
A = 881, - 1, 2<, 80, 3, 1<, 80, 0, - 1<<
Eigenvalues@AD
881, - 1, 2<, 80, 3, 1<, 80, 0, - 1<<

83, - 1, 1<

Question-:11 Eigenvectors[A]
A = 881, - 1, 2<, 80, 3, 1<, 80, 0, - 1<<
Eigenvectors@AD
881, - 1, 2<, 80, 3, 1<, 80, 0, - 1<<

88- 1, 2, 0<, 8- 9, - 2, 8<, 81, 0, 0<<

Question-:12 CharacteristicPolynomial[A,x]
A = 887, 9, 6<, 83, 4, 7<, 88, 5, 3<<
CharacteristicPolynomial@A, xD
887, 9, 6<, 83, 4, 7<, 88, 5, 3<<

160 + 49 x + 14 x2 - x3

question;-13 verify calay hamilton equation


k = 881, 0, 0<, 80, 1, 0<, 80, 0, 1<<
- A.A.A + 14 A.A + 49 A + 160 k
881, 0, 0<, 80, 1, 0<, 80, 0, 1<<

880, 0, 0<, 80, 0, 0<, 80, 0, 0<<


Remark - : caley hamilton theorem verified
pankaj kumar yadav( zo-725 )andc delhi.nb. 13

Question-:14 LinearSolve[A,B]
A = 881, - 1, 2<, 80, 3, 1<, 80, 0, - 1<<
B = 83, 4, 9<
LinearSolve@A, BD
881, - 1, 2<, 80, 3, 1<, 80, 0, - 1<<

83, 4, 9<

:
76 13
, , - 9>
3 3

PRACTICAL-:5
AIM-:To find numbers between two real numbers and
plotting of finite and infinite subset of R
Question-:1
RandomReal@81, 2<, 8D
81.89331, 1.19346, 1.19614, 1.98085, 1.44465, 1.48917, 1.19847, 1.87512<

Question-:2
RandomComplex@5D
1.98724 + 0. ä

Question-:3
t = Table@82 + n, n<, 8n, 0, 1, 0.1<D;
ListPlot@t, Filling ® AxisD
1.0

0.8

0.6

0.4

0.2

2.2 2.4 2.6 2.8 3.0


14 pankaj kumar yadav( zo-725 )andc delhi.nb.

Question-:4
ListPlot@tD
1.0

0.8

0.6

0.4

0.2

2.2 2.4 2.6 2.8 3.0


pankaj kumar yadav( zo-725 )andc delhi.nb. 15

PRACTICAL-:6
Aim-:Obtaining surface of revolution of curve
Question-:1
RevolutionPlot3D@- t + 1, 8t, 0, 1<D

1.0
1.0

0.5
0.5

0.0
-1.0 0.0

-0.5

0.0 -0.5

0.5
-1.0
1.0

Question-:2
RevolutionPlot3D@t ^ 2, 8t, 1, 0<D

1.0
1.0

0.5
0.5

0.0
-1.0 0.0

-0.5

0.0 -0.5

0.5
-1.0
1.0
16 pankaj kumar yadav( zo-725 )andc delhi.nb.

PRACTICAL-:7
Aim-:Computation of limit,differentiation and
integration of vector function
PRACTICAL-:7
pankaj kumar yadav( zo-725 )andc delhi.nb. 17
Aim-:Computation of limit,differentiation and
integration of vector function

Question-:1 a+b
a = 8t ^ 2, Sin@tD, 5<; b = 8t, t ^ 2, - t ^ 2<;
a+b
9t + t2 , t2 + Sin@tD, 5 - t2 =

Question-:2 a-b
a = 8t ^ 2, Sin@tD, 5<; b = 8t, t ^ 2, - t ^ 2<;
a-b
9- t + t2 , - t2 + Sin@tD, 5 + t2 =

Question-:3 a.b
a = 8t ^ 2, Sin@tD, 5<; b = 8t, t ^ 2, - t ^ 2<;
a.b
- 5 t2 + t3 + t2 Sin@tD

Question-:4 Cross[a,b]
a = 8t ^ 2, Sin@tD, 5<; b = 8t, t ^ 2, - t ^ 2<;
Cross@a, bD
9- 5 t2 - t2 Sin@tD, 5 t + t4 , t4 - t Sin@tD=

Question-:5 Limit[Cross[a,b],t®1]
a = 8t ^ 2, Sin@tD, 5<; b = 8t, t ^ 2, - t ^ 2<;
Limit@Cross@a, bD, t ® 1D
8- 5 - Sin@1D, 6, 1 - Sin@1D<

Question-:6 Limit[a,t®Infinity]
a = 8t ^ 2, Sin@tD, 5<;
Limit@a, t ® InfinityD
8¥, Interval@8- 1, 1<D, 5<

Question-:7 D[b,t]
b = 8t, t ^ 2, - t ^ 2<;
D@b, tD
81, 2 t, - 2 t<
18 pankaj kumar yadav( zo-725 )andc delhi.nb.

Question-:8 integeration
a = 8t ^ 2, Sin@tD, 5<;
6
à a ât
5

:
91
, Cos@5D - Cos@6D, 5>
3

b = 8t, t ^ 2, - t ^ 2<;
6
à b ât
5

: >
11 91 91
, ,-
2 3 3

Question-:9 2x-3y
x = 83 t, 5, t ^ 2<; y = 8H1 - tL, 0, 1  t<;
2x-3y

:- 3 H1 - tL + 6 t, 10, - + 2 t2 >
3
t

Question-:10 t^2x-3z
x = 83 t, 5, t ^ 2<; z = 8Sin@tD, e ^ t, 0<;
t^2 x - 3 z
93 t3 - 3 Sin@tD, - 3 et + 5 t2 , t4 =

Question-:11 x.y
x = 83 t, 5, t ^ 2<; y = 8H1 - tL, 0, 1  t<;
x.y
t + 3 H1 - tL t

Question-:12 x.y*z

x = 83 t, 5, t ^ 2<; y = 8H1 - tL, 0, 1  t<;


z = 8Sin@tD, e ^ t, 0<;
x.y * z
9Ht + 3 H1 - tL tL Sin@tD, et Ht + 3 H1 - tL tL, 0=

Question-:13 Limit[p+q+r,t®1]
p = 8Ht ^ 2 - 1L  Ht - 1L<; q = 8Ht ^ 2 - 3 t + 2L  Ht ^ 2 + t - 2L<;
r = 8Ht ^ 2 + 1L e ^ Ht - 1L<;
Limit@p + q + r, t ® 1D

: >
11
3

PRACTICAL-:8
Aim-:Tracing of conics in cartesian coordinates
pankaj kumar yadav( zo-725 )andc delhi.nb. 19

PRACTICAL-:8
Aim-:Tracing of conics in cartesian coordinates

Question-:1 4x^2-9y^2-16x-54y-29=0
ContourPlot@4 x ^ 2 - 9 y ^ 2 - 16 x - 54 y - 29 Š 0,
8x, - 5, 5<, 8y, - 10, 10<, AxesLabel ® 8x, y<D
10

-5

-10
-4 -2 0 2 4
20 pankaj kumar yadav( zo-725 )andc delhi.nb.

Question-:2 4x^2+4y^2-6x+8y+4=0
ContourPlot@4 x ^ 2 + 4 y ^ 2 - 6 x + 8 y + 4 Š 0, 8x, - 2, 2<, 8y, - 2, 2<D
2

-1

-2
-2 -1 0 1 2
pankaj kumar yadav( zo-725 )andc delhi.nb. 21

Question-:3 y^2-4x=0
ContourPlot@y ^ 2 - 4 x Š 0, 8x, - 2, 2<, 8y, - 3, 3<D
3

-1

-2

-3
-2 -1 0 1 2
22 pankaj kumar yadav( zo-725 )andc delhi.nb.

PRACTICAL-:9
Aim-:Sketching ellipsoid,hyperboloid of one and two
sheets,ellipticparaboloid,hyperbolicparaboloid
using cartesianco-ordinates
Question-:1 x^2/4+y^2/16+z^2/9=1
ContourPlot3D@x ^ 2  4 + y ^ 2  16 + z ^ 2  9 Š 1, 8x, - 4, 4<, 8y, - 4, 4<, 8z, - 4, 4<D
4
2 4
0
-2
-4

-2

-4

-2

-4
pankaj kumar yadav( zo-725 )andc delhi.nb. 23

Question-:2 x^2+y^2-z^2=1
ContourPlot3D@x ^ 2 + y ^ 2 - z ^ 2 == 1, 8x, - 5, 5<, 8y, - 5, 5<, 8z, - 5, 5<D
5

-5
5

-5

-5

5
24 pankaj kumar yadav( zo-725 )andc delhi.nb.

Question-:3 -x^2-y^2+z^2=1
ContourPlot3D@- x ^ 2 - y ^ 2 + z ^ 2 Š 1, 8x, - 4, 4<, 8y, - 4, 4<, 8z, - 4, 4<D
4

-2

-4
4

-2

-4

-4

-2

4
pankaj kumar yadav( zo-725 )andc delhi.nb. 25

Question-:4 -x^2-y^2/4+z^2=0

ContourPlot3D@- x ^ 2 - y ^ 2  4 + z ^ 2 Š 0, 8x, - 4, 4<, 8y, - 4, 4<, 8z, - 4, 4<D


4

-2

-4
4

-2

-4

-4

-2

4
26 pankaj kumar yadav( zo-725 )andc delhi.nb.

Question-:5 4x^2+4y^2+z^2+8y-4z=-4
ContourPlot3D@4 x ^ 2 + 4 y ^ 2 + z ^ 2 + 8 y - 4 z Š - 4, 8x, - 4, 4<, 8y, - 4, 4<, 8z, - 4, 4<D

0
4

2
-2
0

-2
-4
-4
-2
0 -4
2
4

Question-:6 -x^2/4-y^2/9+z=0
ContourPlot3D@- x ^ 2  4 - y ^ 2  9 + z Š 0, 8x, - 4, 4<, 8y, - 4, 4<, 8z, - 4, 4<D
pankaj kumar yadav( zo-725 )andc delhi.nb. 27

-2

-4
4

-2

-4

-4

-2

4
28 pankaj kumar yadav( zo-725 )andc delhi.nb.

PRACTICAL-:10
Aim-:Complex numbers and their
representation,operations like
addition,multiplication,division.

Question-:1 Addition of complex number


z1 = 3 + 5 I; z2 = - 7 - 6 I;
v1 = Graphics@8Red, Arrow@880, 0<, 8Re@z1D, Im@z1D<<D<D;
v2 = Graphics@8Blue, Arrow@880, 0<, 8Re@z2D, Im@z2D<<D<D;
sum = z1 + z2;
v3 = Graphics@8Yellow, Arrow@880, 0<, 8Re@sumD, Im@sumD<<D<D;
Show@v1, v2, v3, Frame ® TrueD

-2

-4

-6
-6 -4 -2 0 2
pankaj kumar yadav( zo-725 )andc delhi.nb. 29

Question -:2 Conjugate of complex number


z = 3 + 2 I;

Conjugate@zD
3-2ä

Question-:3 subtraction of complex number

z1 = 3 + 2 I; z2 = 5 - 3 I;
v1 = Graphics@8Red, Arrow@880, 0<, 8Re@z1D, Im@z1D<<D<D;
v2 = Graphics@8Green, Arrow@880, 0<, 8Re@z2D, Im@z2D<<D<D;

dif = z1 - z2;
v3 = Graphics@8Pink, Arrow@880, 0<, 8Re@difD, Im@difD<<D<D;
Show@v1, v2, v3, Frame ® TrueD

-2

-2 -1 0 1 2 3 4 5

Question-:4 Multiplication of complex number


z1 = 4 - 5 I; z2 = 1 + 2 I;
v1 = Graphics@8Red, Arrow@880, 0<, 8Re@z1D, Im@z1D<<D<D;
v2 = Graphics@8Green, Arrow@880, 0<, 8Re@z2D, Im@z2D<<D<D;
30 pankaj kumar yadav( zo-725 )andc delhi.nb.

mul = z1 * z2;
v3 = Graphics@8Cyan, Arrow@880, 0<, 8Re@mulD, Im@mulD<<D<D;
Show@v1, v2, v3, Frame ® TrueD

-2

-4

0 2 4 6 8 10 12 14

Question-:5 Division of complex number


z1 = 6 + 3 I; z2 = 8 - 4 I;
v1 = Graphics@8Red, Arrow@880, 0<, 8Re@z1D, Im@z1D<<D<D;
v2 = Graphics@8Yellow, Arrow@880, 0<, 8Re@z2D, Im@z2D<<D<D;

div = z1  z2;
v3 = Graphics@8Blue, Arrow@880, 0<, 8Re@divD, Im@divD<<D<D;
Show@v1, v2, v3, Frame ® TrueD
3

-1

-2

-3

-4
0 2 4 6 8

PRACTICAL-
:11
Aim-:Plotting of the graph of hyperbolic function
Question-:1 Graph of Sinhx
pankaj kumar yadav( zo-725 )andc delhi.nb. 31

PRACTICAL-
:11
Aim-:Plotting of the graph of hyperbolic function
Question-:1 Graph of Sinhx

p1 = Plot@Sinh@xD, 8x, - 5, 4<, Filling ® AxisD

20

10

-4 -2 2 4

-10

-20

-30

-40

Question-:2 Graph of Coshx


p2 = Plot@Cosh@xD, 8x, - 4, 4<, Filling ® AxisD

25

20

15

10

-4 -2 2 4
32 pankaj kumar yadav( zo-725 )andc delhi.nb.

Question-:3 Graph of Tanhx


p3 = Plot@Tanh@xD, 8x, - 5, 5<, Filling ® AxisD
1.0

0.5

-4 -2 2 4

-0.5

-1.0

Question-:4

Show@8p1, p2, p3<, PlotRange ® All, Frame ® TrueD

20

10

-10

-20

-30

-40

-4 -2 0 2 4