can I get help for (a,d,f) please? 2.4.3. Show that each of the following is or
ID: 3702354 • Letter: C
Question
can I get help for (a,d,f) please?
Explanation / Answer
a) L is regular since it can be described by the regular expression (1111111)*
d) L is not regular as because any machine accepting L would have to count 1s. Proof of this is the pumping lemma - Let w = 1^P , N ? P and P is a power of 10. the number of 1s can be atmost P.When we pump it in once, we obtain a string whose maximum length is 2P but as the next power of 10 is 10P so s cannot be in L.
f)L is regular as 1/7 is a repeating fraction as the 142857 keeps on repeating itself so the number of repeating decimals is finite.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.