calculate the refractive index of glass.

You have to give me something to start with, for example how much a light ray changes direction on entering the material at some angle.