Question

Note: Please show/explain all cases clearly for the pumping lemma and describe how your Turing machine works for each state t

SUBJECT:THEORY OF COMPUTATION

CAN SOMEONE PLEASE HELP ME I HAVE POSTED IT REPEATEDLY AND I KEEP GEETING INCOMPLETE / INCORRECT ANSWER . I WILL GIVE YOU A HIGH REVIEW IF YOU HELP ME AND IT IS DONE PROPERLY !

Comments
    0 0
    Add a comment Improve this question Transcribed image text
    Answer #1

    1. Use puming lemma for CFL to prove A is not Context Free:

    Pumping Lemma for context free language states that If L is a Context free language, then for all s \in L such that |s|>= n, for some integer n, we can v,w,x,y,z such that s = vwxyz and

    1. |wxy| <= n
    2. |wy| >=1
    3. for all i>= 0, vwixyiz  \in L

    Proof: Let s = 001110000 \in A and n=9

    Let v= 0, w=0, x=1, y=1 z =10000

    so, s = vwxyz

    Now, lets check the conditions:

    1. |wxy|<=n   
    2. |wy| >=1
    3. for all i=2
      vwixyiz = 00011110000 \notin A .

    Hence, A is not a context free language.

    2. Let L1 = aibjck | i<j ,i,j,k>=0 and L1 is a context free language and

    L2 = aibjck | j<k ,i,j,k>=0 and L2 is also a context free language and

    L1 \cap L2 = A and A is not a context free language which is an intersection of two context free languages(L1 and L2) . Hence, Context free languages are not closed under intersection.

    3.Using the above result , Intersection of L1 and L2 can be written as

    \overline{}L1U L2 = L1 \cap L2 ......................equation(1)

    We will prove it by contradiction. CFLs are closed under union and lets assume CFLs are closed under complement. If CFLs are closed under complement then CFLs are closed under intersection also (by equation 1) which is false.

    Hence, CFLs are not closed under complementation.

    4.Page, niHal Stata nl Sate Sae Tranritions メ,R 2 L. Sdanned with sca reGo,2) cs canned with CamScanner에 지 R) ㄟㄅㄧㄅ U,LR. Scahneb with Scanrer :)-レーレ 1 5

    Add a comment
    Know the answer?
    Add Answer to:
    SUBJECT:THEORY OF COMPUTATION CAN SOMEONE PLEASE HELP ME I HAVE POSTED IT REPEATEDLY AND I KEEP G...
    Your Answer:

    Post as a guest

    Your Name:

    What's your source?

    Earn Coins

    Coins can be redeemed for fabulous gifts.

    Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
    Similar Homework Help Questions
    • Give a context free grammar for the language L where L = {a"bam I n>:O and...

      Give a context free grammar for the language L where L = {a"bam I n>:O and there exists k>-o such that m=2"k+n) 3. Give a nondeterministic pushdown automata that recognizes the set of strings in L from question 3 above. Acceptance should be by accept state. 4. 5 Give a context-free grammar for the set (abc il j or j -k) ie, the set of strings of a's followed by b's followed by c's, such that there are either a...

    • Question 8, please. 2. Prove: (a) the set of even numbers is countable. (b i=1 3....

      Question 8, please. 2. Prove: (a) the set of even numbers is countable. (b i=1 3. The binary relation on pair integers - given by (a,b) - (c,d) iff a.d=cbis an equivalence relation. 4. Given a graph G = (V, E) and two vertices s,t EV, give the algorithm from class to determine a path from s to t in G if it exists. 5. (a) Draw a DFA for the language: ( w w has 010 as a substring)....

    • Can someone please help I cannot understand this at all. Question EN NHL Many antibiotics are inactivated by bacteri...

      Can someone please help I cannot understand this at all. Question EN NHL Many antibiotics are inactivated by bacteria through acetylation, in which an acetyl group is transferred from a donor to a free amine (N-acetylation) or a free alcohol (O- acetylation). For instance, some resistant strains of Stapylococcus aureus possess an enzyme that transfers an acetyl group from acetyl-CoA (see your textbook for structure) to the amine attached to the exocyclic carbon of the antibiotic neamine. NH, OH OH...

    • Please help me solve 3,4,5 3- For all n € N, let an = 1. Let...

      Please help me solve 3,4,5 3- For all n € N, let an = 1. Let S = {an in€ N}. 3-1) Use the fact that lim - = 0 and the result of Exercise 1 to show that 0 ES'. Ron 3-2) Use the result of Exercise 2 to show that S = {0}. 4- Prove that 4-1) N' = 0. 4-2) Q =R. 5- Recall that a set KCR is said to be compact if every open cover...

    • Hi. Can someone please help me with this SQL question? I asked this before, but someone...

      Hi. Can someone please help me with this SQL question? I asked this before, but someone just cut and pasted a completely incorrect answer that they found online. Please be genuine in your response. Write an SQL statement to show the sum of HoursWorked for each type of OWNER but exclude services of employees who have ExperienceLevel of Junior. OWNER ( OwnerID, OwnerName, OwnerEmail, OwnerType ) PROPERTY_TYPE ( PropertyID, PropertyName, PropertyType, Street, City, State, Zip,OwnerID ) PROPERTY_SERVICE (PropertyServiceID, PropertyID, ServiceID,...

    • can someone please help me with this. I need to use java. Recursion Write and run...

      can someone please help me with this. I need to use java. Recursion Write and run a program that reads in a set of numbers and stores them in a sequential array. It then calls a recursive function to sort the elements of the array in ascending order. When the sorting is done, the main function prints out the elements of the newly sorted array Hint: How do you sort an array recursively? Place the smallest element of the array...

    • Can you help me with this question please? For the code, please do it on MATLAB. Thanks

      Can you help me with this question please? For the code, please do it on MATLAB. Thanks 7. Bonus [3+3+4pts] Before answering this question, read the Google page rank article on Pi- azza in the 'General Resources' section. The Google page rank algorithm has a lot to do with the eigenvector corresponding to the largest eigenvalue of a so-called stochastic matrix, which describes the links between websites.2 Stochastic matrices have non-negative entries and each column sums to1, and one can...

    • Can you please help me understand this question, I have a test soon and I don't...

      Can you please help me understand this question, I have a test soon and I don't quite know how to use the energy equation. A thin stick of mass 0.4 kg and length L = 0.3 m is attached to the rim of a metal disk of mass M = 4.0 kg and radius R = 0.2 m. The stick is free to rotate around a horizontal axis through its other end (see the following figure). m VE? (a) If...

    • I am really struggling with quantum. Can someone please help me with those questions 4.2. Using...

      I am really struggling with quantum. Can someone please help me with those questions 4.2. Using basic quantum concepts Pr 4.3 This problem reinforces your understanding of normalization, prob- ability densities, and mean (expectation) values. The ground state wave function for a particle in a wire is = (2/a)/2 sin(x/a). (a) Define the ground state wave function for the particle in a wire using Maple. Hint: see Appendix A. (b) Write down a mathematical expression for the normalization of the...

    • hello there, i have to implement this on java processing. can someone please help me regarding...

      hello there, i have to implement this on java processing. can someone please help me regarding that? thanks War is the name of a popular children’s card game. There are many variants. After playing War with a friend for over an hour, they argue that this game must never end . However! You are convinced that it will end. As a budding computer scientist, you decide to build a simulator to find out for sure! You will implement the logic...

    ADVERTISEMENT
    Free Homework Help App
    Download From Google Play
    Scan Your Homework
    to Get Instant Free Answers
    Need Online Homework Help?
    Ask a Question
    Get Answers For Free
    Most questions answered within 3 hours.
    ADVERTISEMENT
    ADVERTISEMENT
    ADVERTISEMENT