Lec 1 Numerical Analysis Sp24
Lec 1 Numerical Analysis Sp24
Engineering
– Lab work
➢ Online
– TBA (A notification email will be sent )
➢ By appointment
– Send an email to:
[email protected]
CSE 213: Numerical Analysis (Spring 2024)
Introduction
Objectives
1. Introduction to numerical methods for engineering as
a general and fundamental tool for all engineering
disciplines. We plan to cover almost the main topics of
numerical analysis.
2. Programming will be essential; we will use commercial
software widely used in science and engineering:
Python / MATLAB.
3. We will illustrate and discuss how numerical methods
are used in practice. We will consider examples from
Engineering.
Introduction
Course overview
1. Problem solving - mathematical modeling, solution and
implementation and different types of errors.
2. Curve fitting via interpolation (Lagrange, Newton and
spline methods).
3. Methods of differentiation and integration of continuous
functions such as Richardson extrapolation technique,
Trapezoidal rule, Simpson’s rule and Gauss-quadrature
method.
4. Numerical methods for solving ordinary differential
equations (initial and boundary value problems) and partial
differential equations. CSE 213: Numerical Analysis (Spring 2024)
Introduction
Why are Numerical Methods so widely
used in Engineering?
1. Engineers use mathematical modeling (equations and
data) to describe and predict the behavior of systems.
2. Closed-form (analytical) solutions are only possible and
complete for simple problems (geometry, properties,
etc.).
3. Computers are widely available, and powerful.
4. Powerful software packages are available (special or
general purpose).
CSE 213: Numerical Analysis (Spring 2024)
Introduction
Mathematical Background
Roots of equations: concerns with finding the value of a variable that satisfies a single
nonlinear equation – especial valuable in engineering design where it is often impossible to
explicitly solve design equations of parameters.
Systems of linear equations: a set of values is sought that simultaneously satisfies a set of
linear algebraic equations. They arise in all disciplines of engineering, e.g., structure, electric
circuits, fluid networks; also in curve fitting and differential equations.
Integration: determination of the area or volume under a curve or a surface. It has many
applications in engineering practice.
Partial differential equations: used to characterize engineering systems where the behavior
of a physical quantity is couched in terms of the rate of change with respect to two or more
independent variables. Examples: steady-state distribution of temperature of a heated plate (two
spatial dimensions) or the time-variable temperature of a heated rod (time and one spatial
dimension).
CSE 213: Numerical Analysis (Spring 2024)
Mathematical Modeling and errors
Objectives
1. Learning how mathematical models can be
formulated on the basis of scientific principles
to simulate the behavior of a simple physical
system.
2. Knowing the different types of errors.
3. Understanding how round off error occur
because digital computers have a limited
ability to represent numbers.
4. Knowing how to use the Taylor series to
CSE 213: Numerical Analysis (Spring 2024)
estimate truncation error.
Mathematical Modeling and errors
FD = mg
Fu = −cd v cd=Drag Coefficient
2
dv
F =m
dt
CSE 213: Numerical Analysis (Spring 2024)
Mathematical Modeling and errors
dv F
F = ma → =
dt m
F = FD + FU , FD = mg , FU = −cd v 2
dv cd 2
=g− v
dt m
v(t ) =
gm
cd
(
1− e − ( cd / m ) t
)
CSE 213: Numerical Analysis (Spring 2024)
Mathematical Modeling and errors
Analytic vs Numerical Solution
m=68.1 kg g=9.8 m/s2
For the next interval (from t = 2 to 4 s), the computation is repeated, with the result
Comparison of the numerical and analytical solutions for the bungee jumper problem.
Mathematical Modeling and errors
Errors