Question

For each problem below (except #8), show a regular expression representing the described set. The set...

For each problem below (except #8), show a regular expression representing the described set.

  1. The set of strings over {c, l, e, a, n} with length less than 5.

  2. The set of strings over {c, l, e, a, n} with length greater than 7

  3. If you take the union of the regular expressions from the previous two problems, how many strings more does the corresponding set need to contain all of Σ* , where Σ = {c, l, e, a, n}?

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

Here (c+l+e+a+n) means if can contain any of the five symbol.

Also (c+l+e+a+n)^2 = (c+l+e-a+n) (c+l+e+a+n) : that means it can contains either of 5 symbol twice which is nothing but string of length 2.

If you have any doubt, please comment down and get it cleared. Just don't simply downvote and leave.

Also if you are satisfied please upvote thanks..

Add a comment
Know the answer?
Add Answer to:
For each problem below (except #8), show a regular expression representing the described set. The set...
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