0 votes 0 votes A 1*0(0+1)* B (0+1)*01* Both RE are not equivalent right ? Shadan Karim asked Dec 21, 2018 Shadan Karim 401 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Shobhit Joshi commented Dec 21, 2018 reply Follow Share Both are equivalent 0 votes 0 votes Sayan Bose commented Dec 21, 2018 reply Follow Share Shobhit Joshi How can both be equivalent? The 1st accepts 100, the 2nd one doesn't ! 0 votes 0 votes Shobhit Joshi commented Dec 21, 2018 reply Follow Share The second is accepting 100. (1+0)* = 10, 1*=$\varepsilon$ So, (1+0)*01* = (10)0($\varepsilon$) = 100 If you make the NFA for (1+0)*01* and convert it into a DFA, it will the same DFA as for 1*0(0+1)* 1 votes 1 votes Soumya29 commented Dec 21, 2018 reply Follow Share Yes both are equivalent and their language, $L =\{w | w \in (0+1)^* \text{and w contains atleast one 0} \}$ 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes yes both are same krmanish043 answered Dec 21, 2018 • edited Dec 21, 2018 by krmanish043 krmanish043 comment Share Follow See 1 comment See all 1 1 comment reply Shadan Karim commented Dec 21, 2018 reply Follow Share @krmanish043 make it as a comment , not as a answer 0 votes 0 votes Please log in or register to add a comment.