Question

Find an appropriate recurrence relation with initial conditions, and solve the recurrence relation. Find a recurrence...

Find an appropriate recurrence relation with initial conditions, and solve the recurrence relation.

Find a recurrence relation for the number of ways to arrange cars in a row with n spaces if we can use Cadillacs or Hummers or Fords. A Hummer requires two spaces, whereas a Cadillac or a Ford requires just one space.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

SOL)

The recurrence relation will be 2а,-1 + аn-2 an When we have filled the (n-1) spaces, then the last nth space can be filled iusing the initial condition now a1 2cc2 + V2(c1 - c2) a2 5 c(3 2/2) c2(3 - 2/2) Hence the value of cl and c2 will be 1 1

Add a comment
Know the answer?
Add Answer to:
Find an appropriate recurrence relation with initial conditions, and solve the recurrence relation. Find a recurrence...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT