i0 : angle of incidencen0 : refraction index of the first mediumn1 : refraction index of the second mediumi1 : angle of refraction