A bicycle costs $50 to hire for the first day and $40 for each extra day. If C(k) is the cost of hiring the bicycle for k days, the recurrence relation is:
Select one:
a. C(1)=40, C(k)=c(k-1)+40
b. C(1)=50, C(k)=c(k-1)+50
c. C(1)=50, C(k)=c(k-1)+40
d. C(1)=40, C(k)=c(k-1)+50
Answers
SOLUTION
GIVEN
A bicycle costs $ 50 to hire for the first day and $ 40 for each extra day. If C(k) is the cost of hiring the bicycle for k days, the recurrence relation is:
Select one:
a. C(1)=40, C(k)=c(k-1)+40
b. C(1)=50, C(k)=c(k-1)+50
c. C(1)=50, C(k)=c(k-1)+40
d. C(1)=40, C(k)=c(k-1)+50
EVALUATION
Here it is given that A bicycle costs $ 50 to hire for the first day and $ 40 for each extra day.
Now C(k) is the cost of hiring the bicycle for k days
So by the given condition C(1) = 50
Again C(k) = C(k-1) + 40
Hence the required recurrence relation is
C(1) = 50 , C(k) = C(k-1) + 40
FINAL ANSWER
So the correct option is
c. C(1) = 50 , C(k) = C(k-1) + 40
━━━━━━━━━━━━━━━━
Learn more from Brainly :-
solve the recarency relation ar-7ar-1+10ar-2=2r,a0=0,and a1=6
https://brainly.in/question/2163198
2. Solve the recurrence relation s(k)-10s(k-1)+9s(k-2)=0 with s(0)=3,s(1)=11.
https://brainly.in/question/23772288
SOLUTION
GIVEN
A bicycle costs $ 50 to hire for the first day and $ 40 for each extra day. If C(k) is the cost of hiring the bicycle for k days, the recurrence relation is:
Select one:
a. C(1)=40, C(k)=c(k-1)+40
b. C(1)=50, C(k)=c(k-1)+50
c. C(1)=50, C(k)=c(k-1)+40
d. C(1)=40, C(k)=c(k-1)+50
EVALUATION
Here it is given that A bicycle costs $ 50 to hire for the first day and $ 40 for each extra day.
Now C(k) is the cost of hiring the bicycle for k days
So by the given condition C(1) = 50
Again C(k) = C(k-1) + 40
Hence the required recurrence relation is
C(1) = 50 , C(k) = C(k-1) + 40
FINAL ANSWER
So the correct option is
c. C(1) = 50 , C(k) = C(k-1) + 40
━━━━━━━━━━━━━━━━