grating element and grating spacing is same i.e e+d... don't get confuse... look this formula.. sometimes in ques, they ask to calculate width of grating.. so W=N(e+d) is width of ...
Grating element and grating spacing are same thing. Just two different names. Here I have attached a detailed solution. And yes, it is a very good question. a conceptually rich one...