1 / 68
文档名称:

Chap10 Recurrence Relations.ppt

格式:ppt   页数:68
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Chap10 Recurrence Relations.ppt

上传人:中国课件站 2011/10/11 文件大小:0 KB

下载得到文件列表

Chap10 Recurrence Relations.ppt

文档介绍

文档介绍:Chapter 10 Recurrence Relations
Wen-Hsiang Lu (盧文祥)
Department puter Science and Information Engineering,
National Cheng Kung University
2005/06/06
1
10. Recurrence Relations
The First-Order Linear Recurrence Relation
The equation an+1 = 3an is a recurrence relation with constant coefficients. Since an+1 only depends on its immediate predecessor, the relation is said to be first order. The expression a0 = A, where A is a constant, is referred to as an initial condition.
The unique solution of the recurrence relation an+1 = dan, where n  0, d is a constant, and a0 = A, is given by an = Adn.
2
10. Recurrence Relations
The First-Order Linear Recurrence Relation
Example : Solve the recurrence relation an = 7an-1, where n  1 and a2 = 98.
an = a0(7n), a2 = 98 = a0(72)  a0 = 2, an = 2(7n).
Example : A bank pay 6% annual interest on savings, compounding the interest monthly. If we deposit $1000, how much will this deposit be worth a year later?
pn+1 = ()pn, p0 = 1000  pn = p0()n
p12 = 1000()12 = $
3
10. Recurrence Relations
The First-Order Linear Recurrence Relation
Refer to examples , , , and .
Example : Let an count the number positions of n, we find that
an+1= 2an, n  1, a1= 1  an = 2n-1
4
10. Recurrence Relations
The First-Order Linear Recurrence Relation
The recurrence relation an+1- dan = 0 is called linear because each term appears to the first power.
Sometimes a nonlinear recurrence (., an+1- 3anan-1 = 0) relation can be transformed to a linear one by a suitable algebraic substitution.
Example : Find a12 if an+12 = 5an2 where an > 0 for n  0 and a0 = 2.
Let bn = an2. Then bn+1= 5bn (linear) for n  0 and b0 = 4  bn =
5
10. Recurrence Relations
Homogeneous and Nonhomogeneous
The general first-order linear recurrence relation with constant coefficients has the form an+1 + can = f(n).
f(n) = 0, the relation is called homogeneous.
Otherwise, it is called nonhomogeneous.

最近更新

2025年湖南大众传媒职业技术学院单招职业倾向.. 39页

2025年湖南工艺美术职业学院单招综合素质考试.. 38页

2025年湖南民族职业学院单招职业技能考试模拟.. 39页

2025年湖南理工职业技术学院单招综合素质考试.. 42页

2025年湖南省邵阳市单招职业倾向性考试模拟测.. 39页

2025年湖南艺术职业学院单招职业技能测试题库.. 41页

2026年天津机电职业技术学院单招职业适应性考.. 43页

2026年天津铁道职业技术学院单招职业技能考试.. 43页

2026年宁波卫生职业技术学院单招综合素质考试.. 43页

2025年漳州科技职业学院单招职业技能考试模拟.. 42页

2025年潞安职业技术学院单招职业倾向性考试模.. 41页

2025年烟台汽车工程职业学院单招职业技能考试.. 40页

2025年焦作工贸职业学院单招职业技能测试模拟.. 40页

2025年玉溪农业职业技术学院单招综合素质考试.. 41页

2025年甘肃交通职业技术学院单招职业倾向性测.. 40页

2026年安徽黄梅戏艺术职业学院单招职业倾向性.. 42页

2026年宝鸡三和职业学院单招职业适应性考试模.. 42页

2025年甘肃财贸职业学院单招职业适应性测试题.. 40页

2025年白银矿冶职业技术学院单招职业倾向性测.. 41页

2025年益阳医学高等专科学校单招职业技能考试.. 40页

2026年山东单招日语试题附答案 43页

2025年石家庄医学高等专科学校单招职业适应性.. 39页

2025年石家庄理工职业学院单招综合素质考试模.. 40页

2026年山东省淄博市单招职业适应性测试模拟测.. 41页

2026年山西省运城市单招职业倾向性测试模拟测.. 41页

2025年福建省宁德市单招职业倾向性测试模拟测.. 40页

2025年福建艺术职业学院单招职业适应性考试模.. 39页

2025年绍兴文理学院元培学院单招职业倾向性测.. 40页

2026年巴音郭楞职业技术学院单招职测备考题库.. 41页

2025年广州卫生职业技术学院单招职业技能测试.. 64页