Light rays in a material with an index of refraction 1.39 can undergo total internal reflection when they strike the interface with another material at a critical angle of incidence. Find the second material's index of refraction (n) when the required critical angle is 78.9°.
n = ___________