Design Context Free Grammar Concatenation Following Two Languages L1 Bn 22 L2 Bba Q37290988

Design the context-free grammar for the concatenation of the following two languages: L1-abn 22 and L2 bba

Design the context-free grammar for the concatenation of the following two languages: L1-a’bn 22 and L2 bba Show transcribed image text Design the context-free grammar for the concatenation of the following two languages: L1-a’bn 22 and L2 bba


Answer


, bba* ab, ab oa S9 AB aaabbbB

Please upvote

L_1 = {a^nb^n/n greaterthanorequalto 2} L_2 = bba^* L_1 = {a^2b^2,a^3b^2,a^4b^4,….} L_2 = {bb, bba, bbaa, bbaaa, ….} L_1 middot L_2 = {a^2b^2bb, a^2b^2bba, a^2b^2bbaa, a^3b^3 bb,….}

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.