CE 2201 - Full+Assignment at Last Slide
CE 2201 - Full+Assignment at Last Slide
Introduction
Objectives of Numerical Methods
CE 2201: Numerical Methods & Computer Programming o introduce common numerical techniques/methods (involving systems of
linear equations, interpolation, regression, and root finding etc.)
available for solving engineering problems
Outcomes
At the completion of this course, students will have-
o Wide range of knowledge about different numerical analyses
o Ability to solve critical civil engineering problems easily using numerical
https://ocw.mit.edu/courses/18-330-introduction-to-numerical-analysis-spring-2012/
techniques
Introduction
2nd Year Even Semester Md. Masud Rana
1
1/14/2025
https://slideplayer.com/slide/8588078/
Applied Engineering Analysis, Author: Tai-Ran Hu
https://www.sciencedirect.com/topics/engineering/numerical-method#:~:text=A%20numerical%20method%20is%20an,often%20has%20no%20analytical%20solution.
2
1/14/2025
3
1/14/2025
4
1/14/2025
https://byjus.com/maths/fixed-point-iteration/
5
1/14/2025
https://www.codewithc.com/newton-raphson-method-algorithm-flowchart/
https://byjus.com/maths/newton-raphson-method/
6
1/14/2025
https://www.codewithc.com/newton-raphson-method-algorithm-flowchart/
where 𝑥𝑛 and 𝑥𝑛 1 are the two approximations to the root. The iterative
formula for (𝑛 + 1)th approximation is given by
7
1/14/2025
Problems Problem#01
8
1/14/2025
Problem#02 Problem#02
You are designing a spherical tank to hold water for a small village in a
developing country. The volume of liquid it can hold can be computed as
Math Math
9
1/14/2025
Problem#02 Matrices
Matrices… Matrices…
10
1/14/2025
Matrices… Matrices…
Properties Transpose of Matrix
Matrices… Matrices…
Inverse of Matrix Upper Triangular Matrix
11
1/14/2025
Matrices… Matrices…
Matrices… Matrices…
by combining the matrices for each of the systems
12
1/14/2025
13
1/14/2025
Gauss Gauss
Jordan Seidel
14
1/14/2025
Solution:
15
1/14/2025
Solution:
R2/1.6667
R1=R1-R2/10 Row Echelon Method Upper Triangular
Reduced Row Echelon Identity Matrix
Method
16
1/14/2025
17
1/14/2025
18
1/14/2025
https://byjus.com/maths/iterative-methods-gauss-seidel-and-jacobi/
19
1/14/2025
Convergence of Approximations
The system of equations is diagonally dominant
https://byjus.com/maths/iterative-methods-gauss-seidel-and-jacobi/ https://byjus.com/maths/iterative-methods-gauss-seidel-and-jacobi/
https://byjus.com/maths/iterative-methods-gauss-seidel-and-jacobi/ https://byjus.com/maths/iterative-methods-gauss-seidel-and-jacobi/
20
1/14/2025
Find the values of 𝑎1, 𝑎2, 𝑎𝑛𝑑 𝑎3 using the Gauss-Seidel method. Assume an
initial guess of the solution as
https://byjus.com/maths/iterative-methods-gauss-seidel-and-jacobi/
21
1/14/2025
Problem Problem
Suppose that a team of three parachutists is connected by a weightless cord while free-falling at a
velocity of 5 m/s
22
1/14/2025
linear-interpolation formula
23
1/14/2025
General Form of Newton’s Interpolating Polynomials.. General Form of Newton’s Interpolating Polynomials..
The first finite divided difference is represented generally as
24
1/14/2025
25
1/14/2025
b3
Newton’s Forward Interpolation Formula
bn
bn
26
1/14/2025
27
1/14/2025
Gauss’ Backward Central Difference Formula Gauss’ Backward Central Difference Formula..
28
1/14/2025
Gauss’ Backward Central Difference Formula.. Gauss’ Backward Central Difference Formula..
29
1/14/2025
30
1/14/2025
31
1/14/2025
32
1/14/2025
33
1/14/2025
34
1/14/2025
data is ill-suited
for linear
regression
35
1/14/2025
Solution:
36
1/14/2025
37
1/14/2025
In matrix form:
38
1/14/2025
39
1/14/2025
40
1/14/2025
41
1/14/2025
42
1/14/2025
Compute the net force and the line of action due to this distributed wind.
43
1/14/2025
44
1/14/2025
45
1/14/2025
https://www.intmath.com/differential-equations/11-eulers-method-des.php
46
1/14/2025
This gives us a reasonably good approximation if we take plenty of terms, and if the
value of h is reasonably small.
https://www.intmath.com/differential-equations/11-eulers-method-des.php https://www.intmath.com/differential-equations/11-eulers-method-des.php
https://www.intmath.com/differential-equations/11-eulers-method-des.php https://www.intmath.com/differential-equations/11-eulers-method-des.php
47
1/14/2025
https://www.intmath.com/differential-equations/11-eulers-method-des.php
48
1/14/2025
49
1/14/2025
50
1/14/2025
51