Applications on Recurrence Relations

Ex (1): The number of bacteria in a colony doubles every hour. If a colony begin with five bacteria, how many will be present in n hours?

an=2an1Wherean=#ofbactiriaattimen,withintialcondintiona0=5an=2an1,a0=5Observethata1=2a0=25=10a2=2a1=210=20a3=2a2=220=40
.
.
.


Ex(2):an=2an1an2,a0=0,a1=31Finda2,a3,a4.a2=2a1a0=2(3)0=6a3=2a2a1=2(6)3=9a4=2a3a2=2(9)6=122Determinewhettheran=3n,isasolutionforthisrecurrencerelation.pluginan=3n,intherecurrencerelation,an=2an1an23ndoesitequal2(3n3)(3n6)(6n6)(3n6)=3nThusan=3nisasolutionoftherecurrencerelation.3Isan=2n,asolutionforthisrecurrencerelation?an=2an1an2an=2n2ndoesitequal22n12n22n2n22n2n2n2Thusan=2nisasolutionoftherecurrencerelation.

Post a Comment

Please Select Embedded Mode To Show The Comment System.*

Previous Post Next Post