TAILIEUCHUNG - Lecture Discrete mathematics and its applications - Lecture 11

This chapter define the term average access time and describe how it is measured, explain why file compression is a factor in drive performance, define the term data transfer rote and describe how it is measured, explain two steps you can take to optimize the performance of your computer’s hard disk, identify four drive interface standards commonly used in PCs. | Advanced Counting Techniques Chapter 8 With Question/Answer Animations Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education. Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence Relations Nonhomogeneous Recurrence Relations Divide-and-Conquer Algorithms and Recurrence Relations Generating Functions Inclusion-Exclusion Applications of Inclusion-Exclusion Applications of Recurrence Relations Section Section Summary Applications of Recurrence Relations Fibonacci Numbers The Tower of Hanoi Counting Problems Algorithms and Recurrence Relations (not currently included in overheads) Recurrence Relations (recalling definitions from Chapter 2) Definition: A recurrence relation for the sequence {an} is an equation that expresses an in terms of one or more of the previous terms of the sequence, namely, a0, a1, , an-1, for all integers n with n ≥ n0, where n0 is a nonnegative integer. A sequence is called a solution of a recurrence relation if its terms satisfy the recurrence relation. The initial conditions for a sequence specify the terms that precede the first term where the recurrence relation takes effect. Rabbits and the Fiobonacci Numbers Example: A young pair of rabbits (one of each gender) is placed on an island. A pair of rabbits does not breed until they are 2 months old. After they are 2 months old, each pair of rabbits produces another pair each month. Find a recurrence relation for the number of pairs of rabbits on the island after n months, assuming that rabbits never die. This is the original problem considered by Leonardo Pisano (Fibonacci) in the thirteenth century. Rabbits and the Fiobonacci Numbers (cont.) Modeling the Population Growth of Rabbits on an Island Rabbits and the Fibonacci Numbers (cont.) Solution: Let fn be the the number of pairs of rabbits after n months. There are is f1 = 1 pairs of .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.