Question

Give regular expressions describing each of the following regular languages over Σ = {0,1}: {w :...

Give regular expressions describing each of the following regular languages over Σ = {0,1}:

{w : w begins and ends with the same symbols}

show work!

0 0
Add a comment Improve this question Transcribed image text
Answer #1
Answer:
--------
(0(0+1)*0) + (1(0+1)*1)

Explanation:
--------------
(0+1) matches exactly one 0 or 1
and, (0+1)* matches 0 or more 0's and 1's together
so, 0(0+1)*0 indicates binary strings beginning and ending with 0
and, 1(0+1)*1 indicates binary strings beginning and ending with 1
finally, (0(0+1)*0) + (1(0+1)*1) matches all binary strings which start and end with same symbol.
Add a comment
Know the answer?
Add Answer to:
Give regular expressions describing each of the following regular languages over Σ = {0,1}: {w :...
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