Using induction prove that: if |wl = n then Iw'] =n. ily Consider the following grammar G=({S,A},{a,b), P,S} where P is
Posted: Fri May 20, 2022 11:44 am
Using induction prove that: if |wl = n then Iw'] =n. ily Consider the following grammar G=({S,A},{a,b), P,S} where P is given as: S-> aBb ba B->aBb bBa| a) Describe the language generated by the grammar G. b) Derive the following strings w1 and w2 using grammar G: w1 =bababa and W2 =abaab - Identify the type of the grammar?