5. [30 points] Design a TM that for any input on the alphabet {a,b, #}, it accepts it if it is a sentence of the languag
Posted: Sat Jul 09, 2022 11:49 am
5. [30 points] Design a TM that for any input on the alphabet {a,b, #}, it accepts it if it is a sentence of the language and rejects it if it is not: L = {a" #aw | n ≥ 0; w € {a, b}*}. Briefly, explain how your TM works. For simplicity, assume that the input consists of only a's and b's, and also exactly one # symbol.