NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => optics => Topic started by: ahmedelshfie on July 27, 2010, 05:36:01 pm



Title: illustrate refraction with dog running
Post by: ahmedelshfie on July 27, 2010, 05:36:01 pm
This following applet is illustrate refraction with dog running
Created by prof Hwang Modified by Ahmed
Original project illustrate refraction with dog running (http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1384.0)

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.