Question

A person communicates over a channel in Morse Code, which consists of dashes and dots. It takes 1 millisecond to send a dot a

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

For this question, the formula is:
f(n) = f(n - 1) + f(n - 3), for all n >= 3
f(n) = 1, for n <= 2

for n = 1 and n = 2, we only have 1 way that is all ones.
for n > 2, we can use 3 as well as 1, so number of ways is a combination of 1's and 3's.
The above recursion gives the result.

Hope this helps. Please rate the answer if you like it.

Add a comment
Know the answer?
Add Answer to:
A person communicates over a channel in Morse Code, which consists of dashes and dots. It...
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