This programme was developed using AJAX technology; that is why it produces the results
without any sign of flicker while transmitting data.
Example One: water / air - n1 = 1; n2 = 1.3
Example Two: glass / water - n1 = 1.3; n2 = 1.5
Example Three: glass / air - n1 = 1; n2 = 1.5
Example Four: diamond / air - n1 = 1; n2 = 2.4