Numerical Methods
CSE · Final · Spring 23
Batch 60 and 59
Read the questions as text
Read off the PDF by AI, so it may have mistakes. The PDF is the original.
Daffodil International University
Faculty of Science & Information Technology
Final Examination, Spring 2023
Course Code: CSE235 Course Title: Numerical Methods
Level and Term: L2T2 & L3T1 Batch: 60 & 59
Time: 2:00 Hrs
Marks: 40
Answer ALL Questions
[The figures in the right margin indicate the full marks and corresponding course outcomes. All portions of each question must be answered sequentially.]
1. a) Solve the following system of linear equations using the Gauss-Seidel method: [7] CO2
3x + y + z = 4
x + 4y + z = 1
2x + y + 5z = 9
Use an initial guess of x0 = y0 = z0 = 0 and iterate until the solution converges to three decimal places.
b) Apply Gauss Elimination method to solve the following system of linear equations: [7] CO2
x + y + z = 1
3x + y - 3z = 5
x - 2y - 5z = 10
2. a) Evaluate the value of y at x = 1.85 from the following table using Newton forward [7] CO3 interpolation method.
x | 1.8 | 1.9 | 2.0 | 2.1 | 2.2
y = e^x | 6.050 | 6.686 | 7.389 | 8.166 | 9.025
b) Solve the following first-order ordinary differential equation using the 4th order Runge- [7] CO3 Kutta method:
y' = -y^2 + 4x
with initial condition y(0) = 2. Find the value of y when x = 0.4 with step size h = 0.2
3. a) Evaluate the value of Integral from 0.2 to 1.4 of (sinx - lnx + e^x) correct to four decimal places using eight [6] CO3 equal parts by Simpson's 3/8 rule.
b) Estimate the best values of a0, a1, a2 so that the parabola, y = a0 + a1x + a2x^2 fits the [6] CO3 data:
x | 1.0 | 1.5 | 2 | 2.5 | 3.0 | 3.5 | 4.0
y | 1.1 | 1.2 | 1.5 | 2.6 | 2.8 | 3.3 | 4.1