in Theory of Computation
536 views
1 vote
1 vote

What is the regular expression for this E-NFA:-

in Theory of Computation
536 views

2 Answers

3 votes
3 votes
Best answer

Here is the answer 
(a+b)(aa)*

selected by
by

1 comment

i got     b(aa)*

bro how did u get (a+b) i think there would be no chance of getting that bcz from q1  by taking only "b" it moves to q2 but not by taking    a,b

thats my solution .thank u
0
0
0 votes
0 votes
i got     b(aa)*

bro how did u get (a+b) i think there would be no chance of getting that bcz from q1  by taking only "b" it moves to q2 but not by taking    a,b

thats my solution .thank u

3 Comments

(a+b)(aa)* = a(aa)* +  b(aa)* 

@suryaprakash   your RE is wrong  , it cAnnot  generate   Single {a} which should be accepted , by taking null move from (1)  you can reach to state 4 and then from 4--->2  , so single a going to be accept 

0
0
that means can we write directly   a,b from 1 to 2

without  any  e-move.. can we write like that
0
0

@suryaprakash  mtlb ? likhke bata bhai ?? kya khna chara 

0
0

Related questions