L = Exactly two a’s where ∑ = {a, b}
Answer:
Strings of the given language,
L = Exactly two a’s is L = {aa, aab, aba, baba, bbaa, ……}.
We know what the procedure to design a machine is first we design a machine for the minimum string ‘aa’.
RE = b*ab*ab*