Calculates the optimal refraction index of an anti reflection (AR) coating deposited on a substrate (minimizing reflections) as a function of the refraction index of the incident medium and the refraction index of the substrate.