Lesson 6 of 15
Speed of Light in Media
Speed of Light in Media
Light travels at in vacuum. Inside a transparent medium, it slows down. The ratio of the vacuum speed to the medium speed defines the refractive index:
Speed in Various Media
| Medium | Speed (m/s) | |
|---|---|---|
| Vacuum | 1.000 | |
| Air | 1.0003 | |
| Water | 1.333 | |
| Glass | 1.5 | |
| Diamond | 2.42 |
Wavelength Change
Light's frequency does not change when it enters a medium (it's set by the source). But since , a lower speed means a shorter wavelength:
Where is the wavelength in vacuum and is the wavelength in the medium.
Example: Yellow sodium light () entering glass ():
The wavelength shortens, but the color we perceive is determined by frequency — so the light still looks yellow when it exits.
Finding the Refractive Index
If you measure the speed of light inside a medium:
Your Task
Implement the three functions below. Use .
Python runtime loading...
Loading...
Click "Run" to execute your code.