You are on page 1of 7

(7 pages)

S.No. 7633 T 16 SCCMM 9

(For candidates admitted from 2016–17 onwards)

B.Sc. DEGREE EXAMINATION, NOVEMBER 2021.

Part III — Mathematics - Major

NUMERICAL METHODS WITH MATLAB


PROGRAMMING

Time : Three hours Maximum : 75 marks

SECTION A — (10 × 2 = 20)

Answer ALL the questions.

1. MATLAB &ß ÷Põ¨¦ ÁøPPÒ ¯õøÁ?


What are the types of files in the MATLAB?

2. J¨£øh¨¦ ÂÁμ AÔUøP°ß £¯ß£õmiøÚ ÂÁ›.


Illustrate the use of an assignment statement.

3. ‘PmhøÍ SÔzuÀ £¯ß£kzuÀ’ ÂÁ›.


Explain the ‘using plot command’.

4. GÊzx¨ £»øP £¯ß£õmk PmhøÍø¯ ÂÁ›US®


ö\´•øÓzvmhzøu GÊx.
Write a program to illustrate the use of keyboard
command.
5. Gso¯À öuõøP±k GßÓõÀ GßÚ?
What is meant by numerical integration?

6. y = s 4 + 4s3 + 8s 2 + 16 GßÓ £À¾Ö¨¦U


÷PõøÁ°ß ÁøP±k PõsP.
Evaluate the derivative of the polynomial
4 3 2
y = s + 4s + 8s + 16 .

7. y = ax + b GßÓ ÷|º÷Põmøh ö£õ¸zxÁuØPõÚ


«a]Ö£i ÁÈa \©ß£õkPøÍ GÊxP.
Write the normal equation to fit a straight line
y = ax + b under the method of least squares,

8. {³mhß & μõ¨\ß `zvμzøu GÊxP.


Write the Newton – Raphson formula.

9. {³mhÛß ¤Ø÷£õUS Âzv¯õ\ Cøha ö\¸PÀ


`zvμzøu GÊxP.
Write the Newton’s backward difference
interpolation.

10. m쨤\õ´hÀ `zvμzv¾ÒÍ ¤øÇø¯ GÊxP.


Write the error in the Trapezoidal formula.

2 S.No. 7633 T
SECTION B — (5 × 5 = 25)

Answer ALL questions, choosing either (a) or (b).

11. (A) MATLAB `Ç¼ß •UQ¯ TÖPøÍ GÊx.


Write the major components of the MATLAB
environment.
Or
(B) R÷Ç öPõkUP¨£mkÒÍ ‰ßÖ {øμ ©ØÖ® {μÀ
Eøh¯ Ao A I £vÄ ö\´
Enter the matrix A, which has three rows
and three columns and is given as follows
1 10 20 
 
A = 2 5 6  .
7 8 9 

12. (A) R÷Ç öPõkUP¨£mkÒÍ ©õÔø¯ £vÄ ö\´P.


(i) a = [1 13 6 9 23 12]

1 − 2i, 3 + 4i, 5 + 6i, 3 + 


(ii) b= 
 8i, 4 + 9i, 23 + 12i 

Plot the following variables


(i) a = [1 13 6 9 23 12]

1 − 2i, 3 + 4i, 5 + 6i, 3 + 


(ii) b= 
 8i, 4 + 9i, 23 + 12i 

Or
3 S.No. 7633 T
(B) ö©Ý ö\¯À£õmiøÚ ÂÁ›.
Explain about menu function.

13. (A) R÷Ç öPõkUP¨£mkÒÍ AmhÁøn°À


C¸¢x J¸£i £À¾Ö¨¦U ÷PõøÁø¯ PõsP.
Current 10 15 20 25 30
Voltage 100 150 200 250 300

Find a polynomial of degree 1 to fit the


following data:
Current 10 15 20 25 30
Voltage 100 150 200 250 300
Or
(B) y = s 2 + s + 3 GßÓ £À¾Ö¨¦U ÷PõøÁ°ß
öuõøP±møh wºUP.
Evaluate the integration of the polynomial
y = s2 + s + 3 .

14. (A) R÷Ç öPõkUP¨£mkÒÍ AmhÁøn°¼¸¢x


£μÁøͯzøu ö£õ¸zxP.
x: 0 1 2 3 4
y : 1 1.8 1.3 2.5 6.3

Fit a parabola to the following data:


x: 0 1 2 3 4
y : 1 1.8 1.3 2.5 6.3
Or
4 S.No. 7633 T
[P.T.O.]
(B) Põì&^hÀ •øÓ°À wºUP.
8x − y + z = 18
2 x + 5 y − 2z = 3
x + y − 3z = −6

Solve the system of equation using Gauss-


Seidal method.
8x − y + z = 18
2 x + 5 y − 2z = 3
x + y − 3z = −6

1
dx
15. (A) i쨤\õ´hÀ Âv¨£i 1 + x
0
2
&ß ©v¨¦

PõsP, h = 0.2 .
1
dx
Evaluate 1 + x
0
2
, using Trapezoidal rule

with h = 0.2 .

Or
dy
(B) B´»›ß •øÓ°À = 1 − y I wºUP. C[S
dx
öuõhUP Pmk¨£õk x = 0 , y = 0 .
dy
Solve the equation = 1 − y with initial
dx
condition x = 0 , y = 0 using Euler’s method.

5 S.No. 7633 T
SECTION C — (3 × 10 = 30)

Answer any THREE questions.

16. öPõkUP¨£mkÒÍ (3 × 4 ) Ao
1 2 3 4 
 
A = 5 6 7 8  & °øÚ (6 × 2) ÁøP¯õÚ B
9 10 11 12
GßÓ Ao¯õP ©õØÔ GÊx.
Let matrix A of size (3 × 4 ) be defined as
1 2 3 4 
 
A = 5 6 7 8  . Reshape the matrix A into
9 10 11 12
matrix B of the size (6 × 2) .

17. R÷Ç öPõkUP¨£mkÒÍÁØÔ¼¸¢x J¸ ©õ{»


Áͺa]°ß 3D Qøh©mh xsk ÁøμP.
Á¸h® 1992 1993 1994 1995 1996 1997 1998

Áͺa] 12 15 10 8 6.5 9 11
(in % age)

Draw a 3D horizontal bar to show the growth of a


state as per the following data:
Year 1992 1993 1994 1995 1996 1997 1998
Growth 12 15 10 8 6.5 9 11
(in 5 age)

6 S.No. 7633 T
18. öPõkUP¨£mh AmhÁønø¯ £¯ß£kzv x = 0.96
BP C¸US®÷£õx d 2 y dx 2 PõsP.
x: 0.96 1.00 1.02 1.04
f (x) : 0.7825 0.7651 0.7563 0.7473

Obtain d 2 y dx 2 at x = 0.96 from the following:


x: 0.96 1.00 1.02 1.04
f (x) : 0.7825 0.7651 0.7563 0.7473

19. {³mhß μõ¨éß •øÓ°À 3x − cos x − 1 = 0 ß


ö©´ Gs ‰»zøu PõsP.
Find by Newton-Raphson method, the real root of
3x − cos x − 1 = 0 .

20. y (0.2) ß ©v¨ø£ 4&® Á›ø\ R − K ÁøP°øÚ


dy
£¯ß£kzv = y − x , ¼¸¢x PõsP. C[S
dx
y(0 ) = 2 , h = 0.1 .
By applying the fourth order R − K method find
dy
y (0.2) from = y − x , y(0 ) = 2 taking h = 0.1
dx

————————

7 S.No. 7633 T

You might also like