Analysis Of Algorithms University of Bridgeport Analysis of Algorithms



Download 3.4 Mb.
Page22/33
Date28.05.2018
Size3.4 Mb.
#51061
1   ...   18   19   20   21   22   23   24   25   ...   33

Example 2: Fibonacci Sequence
Recurrence Relation:




Let

Substituting this in original recurrence relation, we have





or,
Dividing by rn-2 gives us,



=>

=> or, ; both work

Therefore,
Download 3.4 Mb.

Share with your friends:
1   ...   18   19   20   21   22   23   24   25   ...   33




The database is protected by copyright ©ininet.org 2024
send message

    Main page