B tech. Discrete mathematics (I. T & Comp. Science Engg.) Syllabus



Download 472,94 Kb.
bet29/50
Sana11.01.2022
Hajmi472,94 Kb.
#343705
1   ...   25   26   27   28   29   30   31   32   ...   50
Bog'liq
Independent.deskret

1, 1, 2, 3, 5, 8, 13,…

The recurrence relation is given by:

an an1 an2 , a0 a1  1
Example : Towers of Hanoi is a popular puzzle. There are three pegs mounted on a board, together with disks of different sizes. Initially, these discs are placed on the first peg in order of different sizes, with the largest disc at the bottom and the smallest at the top. The task is to move the discs from the first peg to the third peg using the middle peg as auxiliary. The rules of the puzzle are:

    • Only one disc can be moved at a time.

    • No disc can be placed on the top of a smaller disc.

This is a popular puzzle and we shall discuss its solution, using the one of the techniques discussed in this chapter.

With these illustrations, we define recurrence relation now.



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.
Example : an = 1.06an–1, with a0 = 0.5.
Example : an = 2an–1 + 5, with a0 =1.
The term a0, given in the above two examples, specify initial condition to solve the recurrence relation completely.



Download 472,94 Kb.

Do'stlaringiz bilan baham:
1   ...   25   26   27   28   29   30   31   32   ...   50




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish