1
Essay 50 points
Problem 1 (50 Points)
Design a context-free grammar (CFG) for the following language (40 points). If your grammar has multiple variables, please briefly describe the strings derived by each variable of your grammar (10 points, please see the lecture notes on CFG design for examples).
$L = \{a^i b^j \mid i \le j \le 3i, i \ge 0, j \ge 0\}$
Edit View Insert Format Tools Table