Thin Lens Java applet written by Fu Kwun Hwang




Thin Lens Java applet written by Fu-Kwun Hwang




Thin Lens (converging/diverging
lens/mirrors)







blue lines 
trace of light path

green lines 
backward tracing for virtual image

small red lines
distances f and 2*f away from the center of lens.

1st textfield
current mouse position (x , y) relative to lens

white vertical line
reference line (you can click and drag it left/right)

yellow line
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/diverging lens
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. Press to
open another Lens window!
you can change the following parameters inside the "textfield".
 



Parameters
distance
defaults

P
object
20.

q
image
20.

f
focus
10.

m=-q/p
magnification
1.
Would you like to try a thick
lense or a thin lens
combination?related java applet lens



Any suggestions? just click my E-mail address hwang@phy03.phy.ntnu.edu.tw
Thanks to : Surendranath
Reddy.B., Tim Mewes, Mathieu.Dubreuil, Kenneth.Holmlund, ... for their
valuable suggestions.  



Other java applets
Source
code for this applet
download
Last modified : 




URLs link to
this page


Wyszukiwarka

Podobne podstrony:
Java for Beginners by Knowledge flow
java applet AppletStub
java applet Reference
java applet AudioClip
building a java applet
Package java applet
java applet AppletContext
java applet Applet
(Ebook) Cyberkwoon com Martial Arts Kung Fu Da Baji Quan by Grandmaster Liu
Meditazione Kung Fu Chi Kung (By j4Ck)
nn panel applet java
Found And Downloaded by Amigo
java text FieldPosition
kod z WOŚP polecane chomiki by closer9
Found And Downloaded by Amigo
java
java text CollationElementIterator
java io InvalidClassException

więcej podobnych podstron