Variational Method for the Calculation of the Distribution of Energy Reflected from a Periodic Surface. I. | Synapse