2 votes 2 votes Q3) Given, $L_1 = (aaa^*b)$ $L_2 = (aab^*aba^*)$ Find (c) the union of $L_1$ and $L_2$, and also find (d) $L_1 - L_2$. Q4) Find the npda's of the following: f) $L = \{ a^nb^m :n \leq m \leq 3n\}$ j) $L = \{w : 2n_a(w) \leq n_b(w)) \leq 3n_a(w) \}$. Theory of Computation theory-of-computation context-free-language peter-linz peter-linz-edition4 pushdown-automata npda + – Shubhanshu asked Jul 8, 2017 • edited Apr 20, 2019 by Naveen Kumar 3 Shubhanshu 1.9k views answer comment Share Follow See 1 comment See all 1 1 comment reply joshi_nitish commented Jul 8, 2017 reply Follow Share L1 union L2= aaa*b+aab*aba*.... L1-L2= aa(ϵ + aaa*)b = aab + aaaaa*b 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes L1 U L2 Will be aaa*b*aba* L1 - L2 will be aaaaa*b + aab Q2 1 is DPDA 2 is NPDA Sadique Ul Malik answered May 29, 2018 Sadique Ul Malik comment Share Follow See all 0 reply Please log in or register to add a comment.