L = a*b* where ∑ = {a, b}
Answer:
Given language is a*b* all b’s follows a’s i.e. L = {λ, a, b, ab, aabb,…….}
We can rewrite the regular expression as,
[Using one rule of regular expression (λ+ xx*) = x*)
Here, the last state is trap state to make the machine DFA. Trap state do not make any effect in the doesonlanguage of the above machine.