Example exercise
Assignment
Calculate the index of refraction of the prism!
Note for the teacher
In order for this exercise to make sense the index of refraction must not be visible in the simulation. To mask all buttons that are not needed for this exercise and to set up the initial conditions for this exercise, the following JavaScript code is executed upon loading of this web page:
function initialize() {
simulation.jsSetIOR("1.35");
simulation.jsSetVisible("no","monochromatic");
simulation.jsSetVisible("no","lineSpectra");
simulation.jsSetVisible("no","ior");
simulation.jsSetVisible("no","glassType");
simulation.jsSetVisible("no","white");
}