Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Independent University, Bangladesh

School of Engineering, Technology and Sciences


Department of Computer Science & Engineering
Spring, 2021, CSE-317-2
CSE-317, CSC-317, CEN-317 Numerical Methods
Final Assessment                    
Last Date of Submission : Friday, 07 May,, 2021 by 11:59 p.m.

Note: Answer all questions. You should write a proper report with Top Sheet,
Assignment provided, Your approach of solving problems, the solution and an
Inference on overall assignment (what you learn after doing the assignment).
Submit Individually. Don’t copy from the Net or from other fellow students.
Avoid Plagiarism.
You and your helper will be penalized in full.

1. The upward velocity of a rocket is given as a function of time in Table-1.


The velocity data is approximated by a polynomial as:
v(t) = a1t2+ a2t + a3    10 ≤ t ≤ 30
a) Using Gauss-Seidel method of Simultaneous Linear Equations. Follow Diagonally
dominant Coefficient Matrix rules.Find the values of constant a’s for three iterations.
Have your own first Guess.
b) Calculate the Absolute Relative Approximate Error for all cases.
c) Discuss the pitfalls and your overall observations..

Table - 1

t (sec) v(t) m/s

0 0

10 242.35

15 330.63

20 490.46

24 790.35

30 1015.36

2. The horizontal distance covered by a train from t = 4 hours to t = 12 hours is given by:
    f(t) = 125 log(150/(230-5t)] - 2.5t
a) Use Multiple segment Trapezoidal rule to find the distance covered. Consider 4 Segments.
b) Find results for 2 iterations (first 2 segment and then 4 segment)
c) Find the true error, Et for part (b) for each part
d) Find the absolute relative true error, |∈a| for each part (b).
Independent University, Bangladesh
School of Engineering, Technology and Sciences
Department of Computer Science & Engineering
Spring, 2021, CSE-317-2
CSE-317, CSC-317, CEN-317 Numerical Methods
Final Assessment                    
Last Date of Submission : Friday, 07 May,, 2021 by 11:59 p.m.

3. Consider cross-sectional area A of a gutter with equal base and edge length of 4
is given by A = 7cosθ(1+sinθ)
a. Find the angle θ which maximizes the cross-sectional area of the gutter by Golden Section
Search Method Using an initial interval of 0, π/2.
b. find the solution after 2 iterations.  
c. Find the corresponding Cross-sectional Area at maximum θ.

4. Develop direct method for quadratic interpolation for the following data
in the table below. Consider  f(x) =  b0 + b1x + b2 x2

X 1 2 3 5 6

f(x) 5.25 3.95 4.80 16.40 11.85

5. Use the Least Square method to solve the distance run by a sprinter in 5 different
timings. The formula is, D = k1 + k2 t,
where D is Distance run
and  t is the time taken

Time taken (t) sec 6 8 10 12 14

Distance run (D) Meters 55 75 90 120 150

Find the following,

a. Plot the data


b. The constant values k1 and k2   
c. Find the equation for distance
to run using the values of k and k   
1 2

d. Draw the regression line on above plotted data in (a)

You might also like