I have recently learned how to make DFA and NFA. For an assignment, I had the following question:
Draw the state diagram for an automaton accepting language L1 over alphabet A = {a, b} from the previous homework. L1 is the set of all words w ∈ A∗ such that w contains either only a’s or only b’s.
I created this state diagram in Latex. Can you guys see if this is correct? (I have no idea how to add the actual output of this code)
starting state: q0 final state: q4
1: 
Final: q4
– ano Feb 29 '20 at 16:51