1 votes 1 votes Please solve this question with proper explanation: $L=\{ w : \: n_a(w) = 2n_b(w) \}$ Theory of Computation grammar theory-of-computation + – Lakshya Mission 1 asked Jul 8, 2016 • edited Sep 28, 2016 by go_editor Lakshya Mission 1 392 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes S -> Saab / aSab / aaSb / aabS/ Saba / aSba / abSa / abaS / Sbaa / bSaa / baSa/ baaS / $\epsilon$ More simplified - S -> aSaSbS / aSbSaS / bSaSaS / $\epsilon$ vijaycs answered Jul 8, 2016 • edited Jul 8, 2016 by vijaycs vijaycs comment Share Follow See all 3 Comments See all 3 3 Comments reply Lakshya Mission 1 commented Jul 8, 2016 reply Follow Share @vijaycs07 What you say about this, isn't it more simplified ... S-> aSaSbS|aSbSaS|bSaSaS|ϵϵϵ 0 votes 0 votes LeenSharma commented Jul 8, 2016 reply Follow Share Right. 1 votes 1 votes vijaycs commented Jul 8, 2016 reply Follow Share Yes @Lakshya Mission 1 .. thanks .. :) 1 votes 1 votes Please log in or register to add a comment.