require_once JPATH_SITE.'/TTcustom/TT_contentparser.php';
\(parameters = array("topicname" => "04waves_13light",
 "modelname" => "ejss_model_twomediaspeed");

echo generateSimHTML(\)parameters, "EJSS");

Sample Learning Goals


For Teachers

Two Media Speed JavaScript Simulation Applet HTML5


Instructions on using Simulation Applet:

Display Panel

Toggling the Velocity checkbox will display the direction of the light
(in the form of red arrows)
Toggling h line - Will show h1,h2 and a circle in the centre of the two mediums
Note that the hline circle is also drag-able horizontally

Combo Box and sliders

Selecting the options in the combo box will give you their respective sliders.

Drag-able Light Source

Drag the small box as seen from the top of the light.
Adjusting the light source by moving horizontally left or right
(Moving to the left)


(Moving to the right)

Toggling Full Screen

Double click anywhere on the screen

Play/Pause, Step and Reset Buttons

The one on the left is the Play/Pause Button - Plays/Pauses the Simulation.
The middle is the Step Button - Steps the Simulation.
The one on the right is the Reset Button - Resets the Simulation.



Video {source}<iframe width="560" height="315" src="" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>{/source}



Other Resources

  1. by PhET
  2. by Walter Fendt
  3. by Tony Mangiacapre
  4. by PhysicsClassroom
  5. by Tan Seng KwangTom Walsh

end faq

1 1 1 1 1 1 1 1 1 1 Rating 0.00 (0 Votes)