You are on page 1of 12

MIDPOINT METHOD

Chapter 10: Ordinary Differential Equations: Initial-Value Problems

CASANAYAN, EVAN EARL S. (BSCE-3A)

SULTAN KUDARAT STATE UNIVERSITY


COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
Background of Midpont Method
The midpoint method is a type of second order Runge-Kutta
method. It is used to solve ordinary differential equations with a
given initial condition.

This method uses a tangent to approximate the next


point y(i+1) given the initial point y(i). This technique was named
the midpoint method because it uses the tangent at the midpoint
and then checks where the tangent cuts the vertical lines.

SULTAN KUDARAT STATE UNIVERSITY


COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
Learning outcomes:
 Understand the concept and process of Midpoint Method
 Solve problems involving Midpoint Method by Manual
Calculations.

SULTAN KUDARAT STATE UNIVERSITY


COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
MIDPOINT METHOD
The midpoint method is another modification of
Euler's explicit method. Here, the slope used for
calculating is an estimate of the slope at the
middle point of the interval (step).

SULTAN KUDARAT STATE UNIVERSITY


COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
Process/Step-by-Step Procedure of Midpoint
Method
This estimate is calculated in two steps. First, Euler's method
is used to calculate an approximate value of y at the middle
point of the interval
written as
Eq. 1

SULTAN KUDARAT STATE UNIVERSITY


COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
Then, the estimated slope at the midpoint is calculated
by substituting in the differential equation for

Eq. 2

The slope from Eq. 2 is then used for calculating the numerical
solution,

Eq. 3

SULTAN KUDARAT STATE UNIVERSITY


COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
The midpoint method is illustrated schematically in Fig. 10-11.
Figure10-11(a) shows the determination of the midpoint with
Euler's explicit method using Eq. 1. Figure 10-ll(b) shows the
estimated slope that is calculated with Eq. 2, and Fig. 10-ll(c)
shows the value of Y;+ 1 obtained with Eq. 3. Equation 3 can
also be derived by integrating the ODE over the interval
using the rectangle method applied at the midpoint of the interval.

SULTAN KUDARAT STATE UNIVERSITY


COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
SULTAN KUDARAT STATE UNIVERSITY
COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
SAMPLE PROBLEM

AND SO ON…
SULTAN KUDARAT STATE UNIVERSITY
COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
RESULTS

SULTAN KUDARAT STATE UNIVERSITY


COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
Reference:
Chapra, S.C., Numerical Methods for Engineers, 7th Edition,McGraw-
Hill Education, 2015, pg. 475 – 476
Gilat, A., Numerical Methods for Engineers & Scientist, An Introduction
with Applications using MATLAB , 3rd Edition, John Wiley & Sons,
Inc., 2014, pg.404-405
\

SULTAN KUDARAT STATE UNIVERSITY


COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS
THANK YOU!!

SULTAN KUDARAT STATE UNIVERSITY


COLLEGE OF ENGINEERING
MATH 203: NUMERICAL SOLUTIONS TO CE PROBLEMS

You might also like