0 votes 0 votes difference between a*(ba)* and (a+ba)* and how to represent both in finite automata? Theory of Computation regular regular-expression + – suneetha asked Oct 6, 2018 suneetha 454 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Can you generate the string "baa" using a*(ba)* ? Can you do with (a+ba)* ? Kindly convert the RL to epsilon - NFA and then convert to DFA. prashant jha 1 answered Oct 6, 2018 prashant jha 1 comment Share Follow See all 3 Comments See all 3 3 Comments reply suneetha commented Oct 7, 2018 reply Follow Share i can't able to generate finite automata will you give finite automata for a*(ba)* 0 votes 0 votes prashant jha 1 commented Oct 7, 2018 reply Follow Share I think this is correct. 0 votes 0 votes prashant jha 1 commented Oct 7, 2018 reply Follow Share and yes from 2nd state on b too it will go to Rejected state 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes In FIRST RE all "A" is followed by many no of "BA'"s that means there is no any "A" following "BA" But in Second RE we choose either alternatively . and both of then accept epsilon . I hope its clear ... Smishra95 answered Oct 7, 2018 Smishra95 comment Share Follow See all 2 Comments See all 2 2 Comments reply suneetha commented Oct 7, 2018 reply Follow Share ok but wii u give finite automata for 1st one 0 votes 0 votes Smishra95 commented Oct 7, 2018 reply Follow Share for both 0 votes 0 votes Please log in or register to add a comment.