This following applet is [b]illustrate refraction with dog running[/b]
Created by prof Hwang Modified by Ahmed
Original project [url=]illustrate refraction with dog running[/url]

The velocity of wave changes when wave move from one media into another media.
For light: The index of refraction is defined as n=c/v, where c is the speed of light in vacuum, and v is the speed of light in media.

The following animation use many dogs running from one region into another region.
Due to the condition on the ground , dogy's speed is different when running from one region into another region.
It obeys Snell's Law n_1 \sin\theta_1 =n_2 \sin\theta_2.

You can use n_1,n_2 slider to change speed of running dogs and c1 to change it moving direction.

/htdocs/ntnujava/ejsuser/37048/users/br/ahmed/dogyrunning_refraction_pkg/dogyrunning_refraction.propertiesFull screen applet or Problem viewing java?Add to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(917.9kB):double click downloaded file to run it. (10 times by 7 users) , Download EJS source (1 times by 1 users) View EJS source