You are on page 1of 2

Daffodil International University

Department of Computer Science and Engineering


Faculty of Science & Information Technology
Midterm Exam Examination, Fall 2020 @ DIU Blended Learning Center
Course Code: CSE235 (Day), Course Title: Numerical Methods
Level: 2 Term: 3 Section: PC-A
Instructor: MOT Modality: Open Book Exam
Date: Tuesday 10 November, 2020 Time: 09:00am--01:00pm
Four hours (4:00) to support online open/case study based assessment Marks: 25
Directions:
 Students need to go through the CASE STUDY shown in this exam paper.
 Analyze and answer specific section based on your own thinking and work.
 Do not share as this will be treated as plagiarism by Blended Learning Center.

Answer all the following questions


You must answer parts of a question sequentially. The figure at the right side of a question indicates the marks
allocated to the questions.

1 a) Find the roots of the following equations using Gauss-Seidel iteration method: 2
2x+3y+z=9, x+2y+3z=6, 3x+y+2z=8
b) What are the reasons to study numerical methods in Computer Science? Explain with 3
mentioning the proper applications

2 a) Find the value of height y in feet at x =11 meter from the following table using suitable 2
method:

Distance x 3 7 9 10 12
meter
Height y feet 16 120 72 63 85

b) Find the maximum and minimum values of y from the following tabular function: 3

x 1 3 5 7 9
y=f(x) 0.25 0 2.25 16 56.25
3 a) Solve the following linear equations by using Matrix: 2x+3y=13 and 4x-y=5. 2

b) The population of a town in the last six censuses was as given below. Estimate the 3
population for the year 1947.

Year(x) 1912 1922 1932 1942 1952 1962


Population in y0 y1 y2 y3 y4 y5
Thousands(y)

The population y0 to y5 will be updated by using the last digit of your own id adding 4 at
each steps. [For example, since ID: 191-15-2272, hence y0=2, y1=7, y2=12, y3=17,
y4=22, y5=27.]

4 a) Find the real root of the equation x2-bx+c=0 using Fixed point iterative method allow 2
with 3 decimal point. [Note: value of b and c will be taken from your own id of the last
part except 0. For example: since id: 191-15-2380, hence b=3 and c=8].
b) Find the real root of the equation ax3-bx2-c=0 using Newton-Raphson method allow 3
with 4 decimal point. [Note: value of a, b and c will be taken from your own id of the
last part except 0. For example: since id: 191-15-2285, hence a=2, b=8 and c=5].

5 a) Mr. Jamil wanted to run a mathematical program but he faced some problems. He found 2
the calculated value of 𝒆 is 𝟏/𝟕 = 𝟎. 𝟏𝟒𝟐𝟖𝟓𝟕𝟏𝟒𝟐𝟖𝟔. If he used three approximations
of the number 𝟏/𝟕 are given as 0.1396, 0.1412 and 0.1511. Find the best approximation
among the three and why?
3
b) Find the real root of the equation ax3-bsinx-c=0 using bisection method allow with 4
decimal point. [Note: value of a, b and c will be taken from your own id of the last part
except 0. For example: since id: 191-15-2209, hence a=2, b=2 and c=9].

You might also like