Professional Documents
Culture Documents
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.
(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.
SECTION C
Q. 3 Fit a straight line to the data by the method of least squares