Numerical Computing with MatLab, Ordinary Differential Equations.pdf


文档分类:管理/人力资源 | 页数:约53页 举报非法文档有奖
1/53
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/53
文档列表 文档介绍
Chapter 7
Ordinary Differential
Equations
Matlab has several different functions for the numerical solution of ordinary dif-
ferential equations. This chapter describes the simplest of these functions and then
compares all of the functions for efficiency, accuracy, and special features. Stiffness
is a subtle concept that plays an important role in parisons.
Integrating Differential Equations
The initial value problem for an ordinary differential equation involves finding a
function y(t) that satisfies
dy(t)
= f(t, y(t))
dt
together with the initial condition
y(t0) = y0.
A numerical solution to this problem generates a sequence of values for the indepen-
dent variable, t0, t1, . . . , and a corresponding sequence of values for the dependent
variable, y0, y1, . . . , so that each yn approximates the solution at tn:
yn ≈ y(tn), n = 0, 1, . . . .
Modern numerical methods automatically determine the step sizes
hn = tn+1 − tn
so that the estimated error in the numerical solution is controlled by a specified
tolerance.
The fundamental theorem of calculus gives us an important connection be-
tween differential equations and integrals:
Z t+h
y(t + h) = y(t) + f(s, y(s))ds.
t
December 26, 2005
1
2 Chapter 7. Ordinary Differential Equations
We cannot use numerical quadrature directly to approximate the integral because we
do not know the function y(s) and so cannot evaluate the integrand. Nevertheless,
the basic idea is to choose a sequence of values of h so that this formula allows us
to generate our numerical solution.
One special case to keep in mind is the situation where f(t, y) is a function of
t alone. The numerical solution of such simple differential equations is then just a
sequence of quadratures:
Z tn+1
yn+1 = yn + f(s)ds.
tn
Throughout this chapter, we frequently use “dot” notation for derivatives:
dy(t) d2y(t)
y˙= andy ¨ = .
dt dt2
Systems of Equations
Many mathematical models involve more than one unkn

Numerical Computing with MatLab, Ordinary Differential Equations 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数53
  • 收藏数0 收藏
  • 顶次数0
  • 上传人kuo08091
  • 文件大小0 KB
  • 时间2014-04-01
最近更新