Maxwell Garnett Equation describes optical properties of nanocomposites which consist in a collection of perfectly spherical nanoparticles. All these nanoparticles must have the same size. However, due to confinement effect, the optical properties can be influenced by the nanoparticles size distribution. As shown by Battie et al., the Maxwell Garnett equation can be generalized to take into account this distribution.