[url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=704.0]Equation for thin lens[/url]: where [b]p[/b] is the distance between object and lens, [b]q[/b] is the distance between image and lens, and [b]f[/b] is the focus length of lens.
trace of light path
backward tracing for virtual image
small red lines
distances f and 2*f away from the center of lens.
current mouse position (x , y) relative to lens
white vertical line
reference line (you can click and drag it left/right)
light path for paraxial ray assumption(mirror only)
Parameters can be changed :
Select Lens for thin lens effect(default)
select mirror for concave/convex mirror effect
default: assume paraxial ray (you can turn it off)
press toggle button +/- to change between converging/diverginglens
Move the object
click near tip of the object, and drag it to where you like it and release the mouse button.
Move the lens/mirror:
click near center of the lens, and drag it to left or right.
if click with left mouse button, only lens will move.
if click with right mouse button, object will move with lens.
Change the focus length of the lens/mirror
click near the top/bottom of the lens/mirrir, then drag the mouse . Try it!
if you adjust the size of window, parameters reset to default values.
you can open more then one window to compare different cases, close the created window to Quit. Pressto open another Lens window!
you can change the following parameters inside the "textfield".
You are welcomed to check out another related simulation :[url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=704.0]Relation 1/p+1/q=1/f[/url] and [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=219.0]What will happened if part of the light path were blocked[/url]
[b]You are welcomed to check out a wonderful [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1395.0]thin Len flash animation[/url] created by a teacher in Taiwan [/b]