NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
April 18, 2021, 02:54:31 am

Life well spent is long. ..."da Vinci (1452-1519, Italian artist, sculptor, painter, architect, engineer and scientist) "

 Pages: [1] 2   Go Down
 Author Topic: Thin Lens (converging/diverging lens/mirrors)  (Read 1136631 times) 0 Members and 2 Guests are viewing this topic. Click to toggle author information(expand message area).
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 « Embed this message on: January 29, 2004, 11:02:28 pm »

Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
There are 46 translations,
Higher number at the end means more translation been done.
or

Equation for thin lens: $\frac{1}{p}+\frac{1}{q}=\frac{1}{f}$ where p is the distance between object and lens, q is the distance between image and lens, and f is the focus length of lens.
 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 :
1. Select Lens for thin lens effect(default)

2. select mirror for concave/convex mirror effect

3. default: assume paraxial ray (you can turn it off)

4. press toggle button +/- to change between converging/diverginglens

5. Move the object

6. click near tip of the object, and drag it to where you like it and release the mouse button.

7. Move the lens/mirror:

8. 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.

9. Change the focus length of the lens/mirror

10. click near the top/bottom of the lens/mirrir, then drag the mouse . Try it!

11. if you adjust the size of window, parameters reset to default values.

12. you can open more then one window to compare different cases, close the created window to Quit. Pressto open another Lens window!

13. 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.

You are welcomed to check out another related simulation :Relation 1/p+1/q=1/f and What will happened if part of the light path were blocked

You are welcomed to check out a wonderful thin Len flash animation created by a teacher in Taiwan

Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
There are 46 translations,
Higher number at the end means more translation been done.
or
 ThinLens.gif (654.03 KB, 640x480 - viewed 128929 times.) Logged
Guest
 « Embed this message Reply #1 on: January 30, 2004, 08:02:46 am »

Subject: Lenses
Date: Sun, 01 Feb 1998 17:08:13 -0600
To: hwang@phy03.phy.ntnu.edu.tw
I stumbled into it one night while trying to find some insight on a physics assignment that I had.
I've used it ever since to check my work.
Something that might be helpful to a great number of people
would be a java applet with thick lenses and or two lense systems. Just a thought.
Thank you for taking the time to publish such a page John Eagle
 Logged
Guest
 « Embed this message Reply #2 on: January 30, 2004, 08:11:28 am »

Subject: Lens/mirror
Date: Fri, 03 Apr 1998 16:16:37 -0600
From: Kelly <kpuls@students.wisc.edu>
To: hwang@phy03.phy.ntnu.edu.tw
Mr. Hwang, I want to say that your virtual lab was unbelievably helpful to me.
I attend the university of wisconsin-madison and I was having problems with optics concepts.
I went under the internet and searched under lens and mirrors and fell upon your lab.
I am very grateful. I was a little upset last night when I wanted to access the lens mirror applet,
because I couldn't find it.
I guess even the virtual labs have hours of availability.
I guess that's my only suggestion,
which isn't a very necessary one to attend to when most of us can access it during the day.
Thanks again, Chris cechapma@students.wisc.edu
 Logged
Guest
 « Embed this message Reply #3 on: January 30, 2004, 10:58:55 am »

Subject: Wow!!!
Date: Sun, 03 May 1998 15:39:11 -0600
From: The Lahrs
To: hwang@phy03.phy.ntnu.edu.tw
I just figured out that the inverted image is not virtual but real,
so everything makes sense now.
Keep up the good work.
John C. Lahr
 Logged
Guest
 « Embed this message Reply #4 on: January 30, 2004, 10:59:36 am »

Subject: Wow!!!
Date: Sun, 03 May 1998 12:47:55 -0600
From: The Lahrs
To: hwang@phy03.phy.ntnu.edu.tw
I love your thin lens page: http://www.phy.nau.edu/~layton/JavaApps/thinlens/lens_e.htm
What a great use of Java!
I use Netscape, by the way, and the applet worked just fine and was very speedy.
I've been trying to figure out why a glass rod creates an inverted (about one axis) virtual image.
Do you have an applet for a thick lens, or just a ray diagram that would show this effect?
Is the thinlens.java code still available? The link was not working when I tried.
It would be interesting to develop something like this for seismic waves.
I'm a seismologist now, but my first love is physics,
which was my undergraduate major at Rensselaer Polytechnic Institute.
Thanks again for providing the world this great applet.
John C. Lahr
-- * John C. and Jan H. Lahr * *
914 10th Street * *
(303) 215-9913 * *
http://www.lahr.org/john-jan * *
 Logged
Guest
 « Embed this message Reply #5 on: January 30, 2004, 11:33:55 am »

Subject: Thin Lens Java applet
Date: Fri, 19 Feb 1999 18:00:24 +1100
From: pevans@mentone.gsat.edu.au
To: hwang@phy03.phy.ntnu.edu.tw
Hi

I was looking at your applet for the thin lens and really liked it. I am new to applets and
often it is possible to download them so that you can use them off line but I couldn't

I am a secondary teacher and would really like to show it to my students. Would I be
able to get a copy of it please.

Thanks

Pam Evans
pev@netspace.net.au
pevans@mentone.gsat.edu.au
 Logged
Guest
 « Embed this message Reply #6 on: January 30, 2004, 04:42:18 pm »

From: Rick Matthews <matthews@wfu.edu>
Organization: Wake Forest University
To: hwang@phy03.phy.ntnu.edu.tw
Subject: Great applet!

I just discovered your lens applet. It is a great tool for
helping students come to understand lenses and mirrors.

Unless you object, I would like to assign a problem to my
students based on this applet.

--
Rick Matthews matthews@wfu.edu
Department of Physics http://www.wfu.edu/~matthews
Wake Forest University 336-758-5340 (Voice)
Winston-Salem, NC 27109-7507 336-758-6142 (FAX)
USA
 Logged
Guest
 « Embed this message Reply #7 on: May 25, 2004, 02:08:12 am »

This is an awesome lab for teaching ray diagrams and optics basics! Thanks a bunch!
 Logged
Guest
 « Embed this message Reply #8 on: August 13, 2004, 04:14:50 pm »

lixo
 Logged
Guest
 10 topic48 « Embed this message Reply #9 on: August 13, 2004, 04:29:52 pm »

:shock: :shock: :shock: :shock: :shock:
 Logged
Guest
 11 fuk off « Embed this message Reply #10 on: August 13, 2004, 08:08:45 pm »

sup dude, yo this Thin Lens Demostration stuff rock!! i really enjoied it!! ill write a song now, c ya!

"go go go go go Go shory it's your birthday you gonna party like it's your birthday" by 50 cent

um abraço pra galera do marista

:lol:
 Logged
Guest
 12 Class « Embed this message Reply #11 on: August 18, 2004, 09:01:05 pm »

:arrow: This is an [b:134dfe8f92]amazing[/b:134dfe8f92] site man! very interesting to study lens and mirrors!! Now i can figure out how does it work! As soon as you have news i'll be back! Se ya!!!
 Logged
Guest
 « Embed this message Reply #12 on: August 18, 2004, 09:07:28 pm »

[b:73495ba837] Hadson é lindo!!!!!![/b:73495ba837], mas Enzo é muito chato e muito burro!! Klebinho é pegador!!!!!!!! Saulo parece c Silvio Santos, mas se acha muito!!!!!!!! Seus feios!!!
Gabarito de Matematica:
1- a)
2- b)
 Logged
patent
Newbie

Offline

Posts: 1

 14 topic48 « Embed this message Reply #13 on: February 24, 2005, 07:16:57 pm »

I have few stupid questions...

I see mainly converging lenses collecting rays to one poit (pix A) but do they work another direction? (pix B) any differet solutions/ something usefull to know? I know I could use image conduit but they don't have enought resolution for 2000-3000 pixel CCD-bar/21mm wide...or I'm wrong? :?: In pictures arrow shows direction of ray.

Another Q is about focusing. Is there difference in working of D ja C assebly pictures? Are they equal?
 Logged
aauba
professor
Newbie

Offline

Posts: 1

 15 topic48 « Embed this message Reply #14 on: February 25, 2005, 02:28:10 am »

i am very glad to see the applets, i would like see more of them
 Logged
asdf
Newbie

Offline

Posts: 1

 « Embed this message Reply #15 on: April 19, 2005, 02:05:24 am »

This thin lense program is awesome! How Long did it take you to make it?
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 17 topic48 « Embed this message Reply #16 on: April 19, 2005, 02:36:42 pm »

[quote:f1f6840cd2]i am very glad to see the applets, i would like see more of them [/quote:f1f6840cd2]

You can try out the following applet!

http://www.phy.ntnu.edu.tw/ntnujava/viewtopic.php?t=174

:-)
 Logged
Teacher
Newbie

Offline

Posts: 4

 18 topic48 « Embed this message Reply #17 on: May 26, 2005, 04:48:34 am »

Students won't be alfraid of physics with the help of these java applets. All physics teachers must use java applets. These are very useful Thanks for sending us for free.
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 19 topic48 « Embed this message Reply #18 on: May 26, 2005, 12:12:10 pm »

[quote:506d759f5b]I see mainly converging lenses collecting rays to one poit (pix A) but do they work another direction? (pix B) any differet solutions/ something usefull to know? I know I could use image conduit but they don't have enought resolution for 2000-3000 pixel CCD-bar/21mm wide...or I'm wrong? In pictures arrow shows direction of ray. [/quote:506d759f5b]
Yes. The path of light ray is reversable. If those parallel light really focus on one single point. You can place a light source at that point can create a parallel light output.
 Logged
tulu
Newbie

Offline

Posts: 1

 « Embed this message Reply #19 on: November 23, 2005, 10:44:28 am »

I am not able to download the applet for offline use. When I press the "Get applets for offline use" button, I get a "no privilege" message in the next page.
 Logged
colos
Newbie

Offline

Posts: 4

 21 topic48 « Embed this message Reply #20 on: November 25, 2005, 12:00:28 pm »

When I check it with my browser with two different account.
It works fines with my netscape and IE browser.
Could you tell me what is your browser and the verson #?
 Logged
Arns
Newbie

Offline

Posts: 1

 22 topic48 « Embed this message Reply #21 on: February 20, 2006, 02:41:39 pm »

I am a new memeber. I have downloaded an applet, unfortunatley it is not working offline despite I have the version of JRE.
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 23 topic48 « Embed this message Reply #22 on: February 20, 2006, 03:58:53 pm »

This applet was created with JDK1.0.2.
It should works for most of the browser.
You need to open lens_e.html with your browser.

If it still did not work. I need the error message from java console.
 Logged
Management Consultant
Newbie

Offline

Posts: 1

 « Embed this message Reply #23 on: March 01, 2006, 10:55:18 am »

Professor Hwang,

This app is great. I would like to build off of your code to do a mirror simulation focused on some different ideas, but I don't can't get the app to open in the EJS interface so I can work on it. Is there a way to do this?

Thanks,

-TW
 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 25 topic48 « Embed this message Reply #24 on: March 02, 2006, 10:24:07 am »

Applets under physics simulation category are created many years ago with JDK 1.0.2

Only those applets under "Easy Java SImulation" category are created with ejs.
And you can view how it was created.

I am going to change the code and the server structure so that user can also edit ejs code and save the modified simulation on our server . (user also can get modified ejs code and all related files in ZIP format).
 Logged
Paste23
Newbie

Offline

Posts: 1

 26 topic48 « Embed this message Reply #25 on: April 05, 2006, 09:58:13 am »

This is absolutly spiffingly amazing!
It reminds me of things that are good!
This is very good program it is good. Not bad.
I is a Student at Taira High School in Japan. Arigatoo my freinds.
Gomibako ni sunde imasu.
Neko o tabemasu ka?
Thanks you my freinds
Munko? :twisted:
 Logged
sanjeevgogna
Newbie

Offline

Posts: 2

 27 topic48 « Embed this message Reply #26 on: May 17, 2006, 04:47:42 am »

 Logged
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3086

 28 topic48 « Embed this message Reply #27 on: May 17, 2006, 08:57:17 am »

Please try it again! It should work now.
 Logged
normariam
Newbie

Offline

Posts: 1

 29 topic48 « Embed this message Reply #28 on: January 26, 2007, 10:03:31 am »

i think this simulation is just great and i hope every student will be more understand
 Logged
hak7011
Newbie

Offline

Posts: 1

 « Embed this message Reply #29 on: September 07, 2007, 01:34:31 pm »

Is it possible to run the java script offline?

I can't find Lens.html after I have unzip the files...
 Logged
 Pages: [1] 2   Go Up
Life well spent is long. ..."da Vinci (1452-1519, Italian artist, sculptor, painter, architect, engineer and scientist) "