0% found this document useful (0 votes)
9 views3 pages

Matlab - U19mas5p1

cxvcbcv

Uploaded by

Balaji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

Matlab - U19mas5p1

cxvcbcv

Uploaded by

Balaji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

SRI S.RAMASAMY NAIDU MEMORIAL COLLEGE, SATTUR.

Course : MATLAB - Practical Max : 60 marks


Class : III B.Sc Mathematics(R/S) Time : 3 hrs
Course Code : U19MAS5P1 Date : 15.12.2022
External Practical (Type A)
Answer any four questions : (𝟒 × 𝟏𝟓 = 60 Marks)

1. Create 4 × 4 matrices 𝐴, 𝐵 𝑎𝑛𝑑 𝐶 :


(i) Calculate 𝐴 ∗ (𝐵 ∗ 𝐶 ) 𝑎𝑛𝑑 (𝐴 ∗ 𝐵) + (𝐴 ∗ 𝐶 ) to show that matrix
multiplication is distributive.
(ii) Calculate AT and BT, Does (A+B)T = AT +BT?
2. Solve the following system of three equations. Also find Eigen values and Eigen
vectors : 5𝑥 − 2𝑦 + 3𝑧 = 18 ; 𝑥 + 7𝑦 − 3𝑧 = −22; 2𝑥 − 𝑦 + 6𝑧 = 22
3. a) Find the roots of a quadratic equation 2𝑥 2 + 6𝑥 + 8 = 0 𝑢𝑠𝑖𝑛𝑔 𝑠𝑐𝑟𝑖𝑝𝑡 𝑓𝑖𝑙𝑒.
𝑥3
b) Define the variable x = 0.75, Evaluate 𝑥 2 − 𝑦 2 + .
𝑦3

4. Plot the function (i) 𝑦 = 𝑥 2 + 4 𝑆𝑖𝑛(2𝑥)– 1, 𝑓𝑜𝑟 − 3 ≤ 𝑥 ≤ 3


(ii) 𝑦 = 3.5 − 0.5𝑥𝑐𝑜𝑠(6𝑥) 𝑓𝑜𝑟 − 3 ≤ 𝑥 ≤ 3 using command window.
b) If the coordinates 𝑥, 𝑦, 𝑧 are given as a function of the n parameter
𝑥 = √𝑡 sin(2𝑡 ) , 𝑦 = √𝑡𝑐𝑜 𝑠(2𝑡 ) , 𝑧 = 0.5𝑡. Plot the points for 0 ≤ 𝑡 ≤ 6𝜋.
5. Solve the following problems in the command window :
16.52 (8.4−√70)
a) b) x = 54 + 9√100
4.32 −17.3
75
c) Define the variable t as t = 6.8, then evaluate cos (0.8t − 3)
2t
6. Verify the trigonometric identities
1 1 3𝜋 𝜋
a) 𝑆𝑖𝑛𝛼 + 𝑆𝑖𝑛𝛽 = 2 𝑆𝑖𝑛 (𝛼 + 𝛽)𝑐𝑜𝑠 (𝛼 − 𝛽), 𝛼 = ,𝛽 =
2 2 8 16
4tanx−4tan3 x
b) tan4x = where x = 12°
1−6tan2 x+tan4 x
SRI S.RAMASAMY NAIDU MEMORIAL COLLEGE, SATTUR.
Course : MATLAB - Practical Max : 60 marks
Class : III B.Sc Mathematics(R/S) Time : 3 hrs
Course Code : U19MAS5P1 Date : 15.12.2022
External Practical (Type B)
Answer any four questions : (𝟒 × 𝟏𝟓 = 60 Marks)

1. Create 4 × 4 matrices 𝐴, 𝐵 𝑎𝑛𝑑 𝐶 :


(i) Calculate 5(A+C) and 5A+5C show that the matrix multiplication is
distributive.
(ii) Calculate AT and BT, Show that (AB)T = BTAT .
2. Define a, b, & 𝑐 , Solve the quadratic equation ax 2 + bx + c = 0 Using Script file.
3. Using element-by-element operation to calculate a)
y
xy +
z = x + 12 x / y
( y−x)
( x + y)
b) Define x and y as the vectors 𝑥 = 2,4,6,8,10 and 𝑦 = 3,6,9,12,15.
4. Calculate Addition, Multiplication and Division of the given Polynomials :
a) 𝑓1 (𝑥) = 𝑥 5 − 7𝑥 4 + 11𝑥 3 − 4𝑥 2 − 5𝑥 − 2 and 𝑓2 (𝑥) = 9𝑥 2 − 10𝑥 + 6.
b) Find the roots of the polynomial 𝑓 (𝑥) = 3𝑥 2 −2x + 6. Also, find the value of
𝑓 (15).
5. Use MATLAB to calculate the following integral :
2
6 2𝑥 2 2 𝑐𝑜𝑠2𝑥 2 𝑒 −𝑥
(i)∫1 dx(ii) ∫1 dx (iii)∫0.2 dx .
1+𝑥
√ 𝑥 √𝑥
𝑥2
b) Make a 2- D and 3-D surface plot of the function 𝑍 = + 2 𝑠𝑖𝑛 (3𝑦) in the
3

domain −3 ≤ 𝑥 ≤ 3 and−3 ≤ 𝑦 ≤ 3.
𝜋
5𝜋 7𝜋 tan ( 𝑙𝑛8)
2
6. Calculate a) 𝑐𝑜𝑠 ( ) sin ( )2 + 6
6 8 √7

𝜋 𝑙𝑛8
7𝜋 5𝜋 tan ( )
𝑏) 𝑠𝑖𝑛2 ( ) cos ( )2 + 6
8 6 5
7.
2
SRI S.RAMASAMY NAIDU MEMORIAL COLLEGE, SATTUR.
Course : MATLAB - Practical Max : 60 marks
Class : III B.Sc Mathematics(R/S) Time : 3 hrs
Course Code : U19MAS5P1 Date : 15.12.2022
External Practical (Type C)
Answer any four questions : (𝟒 × 𝟏𝟓 = 60 Marks)

1. Create 3 × 3 matrices 𝐴, 𝐵 𝑎𝑛𝑑 𝐶 :


(i) Calculate 8(𝐴 + 𝐵) and 8𝐴 + 8𝐵 show that the matrix multiplication is
distributive.
(ii) Calculate AT and CT, Does (AC)T = CT AT.
2. The perimeter P of an ellipse with semi – minor axes a and b is given by :
1
P = 2π√ (a2 + b 2 )
2

i) Determine the perimeter of an ellipse with 𝑎 = 9 𝑖𝑛. 𝑎𝑛𝑑 𝑏 = 3 𝑖𝑛.


ii) An ellipse with b = 2a has a perimeter of P = 20 cm. Determine a and b.
3. Create a vector A with 15 elements. Calculate the following 1. Mean
2. Max(A) 3. Min(A) 4. Sum(A) 5. Sort(A) 6. Median(A) 7. Std(A).
4. a) Find minimum or maximum of the function f(x) = 𝑥 3 − 12𝑥 2 + 40𝑥 − 36.
2 −𝑦 2
b) To evaluate 𝑧 = x𝑒 −𝑥 , first create a set of (𝑥, 𝑦) points over the domain

−2 ≤ 𝑥, 𝑦 ≤ 2 of the function using meshgrid and create 3D – surface plot.

5. a) Divide the polynomial 8𝑥 7 − 26𝑥 5 − 8𝑥 4 + 29𝑥 3 + 17𝑥 2 − 44𝑥 + 12 by the


polynomial 2𝑥 4 − 3𝑥 2 − 5𝑥 + 2.
b) Find the derivatives of the polynomials 2𝑥 4 − 3𝑥 2 − 5𝑥 + 2 and Calculate
the value of 𝑥 = 10.
6. Use MATLAB to calculate the following integral
2
6 2𝑥 2 2 𝑐𝑜𝑠2𝑥 2 𝑒 −𝑥
a) (i)∫1 dx (ii) ∫1 dx (iii)∫0.2 dx .
√1+𝑥 𝑥 √𝑥
b) Make a 2D and 3D contour plot of the function
2 +𝑦 2
z = 1.8−1.5√𝑥 sin 𝑥 cos(0.5 𝑦) over the domain −3≤ 𝑥 ≤ 3 and
−3≤ 𝑦 ≤ 3.

You might also like