Question

Problem 24.3. Describe in words the language accepted by each automaton, and also give a regular expression.

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

apply arden's method:

qo=qo 0+q2 0+  ε

q1=q1 0+q0 1

q2=q2 0+q11

q0 regular expression is (q2 0+  ε)0*------------->1

q1 regular expression is q0 1 0*---------------->2

substitute 1 in 2 then

q1 becomes (q2 0+  ε)0*10*------->3

substitue 3 in q2 then

q2=q2 0+q11

q2=q20+(q2 0+  ε)0*10*

=q2(0+ 00*10*)+  0*10*

regular expression for q2 is  0*10*(0+ 00*10*)*

substitue q2 regular expressin in qo then

qo=qo 0+0*10*(0+ 00*10*)*0+  ε

q0 regular expresiion is (0*10*(0+ 00*10*)*0+  ε)0*

substitue q0 regular expression in q1 then

q1=q1 0+((0*10*(0+ 00*10*)*0+  ε)0*) 1

q1 regular expression is (((0*10*(0+ 00*10*)*0+  ε)0*) 1)0*

finally the regular expression is union of q1 and q2=(((0*10*(0+ 00*10*)*0+  ε)0*) 1)0*+ 0*10*(0+ 00*10*)*

Add a comment
Know the answer?
Add Answer to:
Problem 24.3. Describe in words the language accepted by each automaton, and also give a regular...
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