Example 3,M3
•M3= ~Q, Σ, w, ??, F o? M3
= ({q1, q2,q3}, {0,1}, w, q1, {q2})
•Accepted Strings or Words (w):
–?, ??, ??, ???, ???, ????, ????, ??????, …
If A is the set of all strings that machine M
accepts, we say:
•A is the language of machine M
1 and write L(M
3) = A
•M3
recognizes A or that M3
accepts A
•A = {?, ??, ??, ???, ???, ????, ????, ??????, …} o?
•A = {w| w contains at least one 1 and an even number of 0s follow the last 1}
31