Related java applet
In the above java applet, there are two different regions (green and yellow).
- The condition is :
- An object (red) located at the top left corner of the
green region.
It is going to move to the bottom right corner of the yellow region.
- its speed is also different (green: V1 , yellow: V2)
You can change value of V1 and V2 from the textfield.
- Those two arrors represent the velocity vectors at those
two region.
You can click the left mouse button at the tip of the velocity vector
- and drag it left and right, to change the traveling path.
- and drag it up and down, to change the height of those
two regions.
- A red ball will move along the chosed path.
Another ball(blue) will follow the fastest path if you click the show checkbox:
Did you get the right answer? After how many tries?
Sounds familar? Fermat's principle states that:
- The path of a ray of light between
two points is the path that minimizes the travel time.
We can derives Snell's law from the relation found above
L1

where index of refraction n1 = c / v1,
- c is the speed of light in vacuum, and
v1 is
the speed of light in the medium.
Your suggestions are highly appreciated!
E-mail : Please click hwang@phy03.phy.ntnu.edu.tw !
Author¡GFu-Kwun Hwnag Dept. of Physics National Taiwan Normal Univ.
lasted modified :