Professional Documents
Culture Documents
Differentiation Equations
x2
x1
Differential Equations
Differential equation describes the relation
between an unknown function and its
derivatives
dx
x f (x, t ) x2
dt
x(t ) : a moving point
f ( x, t ) : x' s velocities
x1
x2
x1
x1
x2
x1
x1
Inefficiency
Need to use small time-steps to avoid divergence
Example:
http://www.cse.uiuc.edu/iem/ode/eulrmthd/
x
f mid f ( x(t0 ) )
2
Take a step using the
midpoint value
x(t0 t ) x(t0 ) t f mid x1
Don’
t use Euler’
s method
Inaccuracy
x1
We’
ll introduce other more stable methods
next class
Numerical Methods © Wen-Chieh Lin 19