You are on page 1of 2

Roll No……………………………

SCHOOL OF ENGINEERING & TECHNOLOGY


SHARDA UNIVERSITY, Greater Noida
Mid Term Examination, (Odd Term, 2016-17)

Program: M.Tech. Branch: Production, Thermal Engg. Term: I


Subject: Numerical Methods with Matlab Paper Code:
Date: Shift:
Time: M.M: 20

Note: (i) No student will leave the room till end of the examination.
(ii) Attempt all questions.
SECTION A
Q.1 Attempt any four questions in this section: (2.5x4=10 Marks)
(i) What is round off error, truncation error and relative error. Explain with examples.

(ii) Write the commands/syntax to generate a random matrix with 3 rows and 3 columns having
numbers between 2 and 3 only and write the general syntax to declare a function in matlab.

(iii) Write the Taylor series expansion of f(x)=ex about x=0 ?

(iv) Find the Lower triangular matrix after the decomposition of the matrix into 2 matrices by
LU decomposition. A= [ 3 2 3; 2 3 4; 3 4 1]T

(v) What are the commands for an image reading in Matlab. Describe with example.

SECTION B
Q.2 Attempt any two questions in this section: (3x2=6 Marks)
(i) Find the root of the function f(x) =x4−5 upto four iterations by Regula Falsi method.

(ii) Solve by Gauss-Jordan

x+y+z=9 ; 2x-3y+4z=13 ; 3x+4y+5z=40

(iii) Discuss and prove the convergence of the Bisection method.

SECTION C
Q. 3 Fit a straight line to the data by the method of least squares

P: 100 120 140 160 180 200

Y: 0.45 0.55 0.60 0.70 0.80 0.85

You might also like