  Suppose that a plane wave is incident onto an impenetrable grating profile of
Dirichlet or Impedance type or a penetrable grating. The grating interface is
assumed to be given by a Lipschitz function in two dimensions. We derive
stability estimate of the grating diffraction problem via variational method
with an explicit dependence of solutions on the incident wavenumber and
incident angle.
