edited by
743 views
3 votes
3 votes

Why only one derivation??

                S->   E  ->  E+E  ->  E+a  ->  a+a

                S->  E+E  ->  E+a  ->  a+a

Are these two derivations possible??

edited by

2 Answers

Related questions

1 votes
1 votes
2 answers
2
–1 votes
–1 votes
1 answer
3
1 votes
1 votes
1 answer
4
shikharV asked Nov 19, 2015
412 views
Given answer: 1I am able to get 2 rightmost derivation of 'a+a'First:S - E + E - E + a - a + aSecond:S - E + E - E + a - a + aTotal derivation - 2