NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

JDK1.0.2 simulations (1996-2001) => Optics => Topic started by: Fu-Kwun Hwang on June 20, 2006, 04:53:37 pm



Title: Multiple Reflection from two plane mirrors
Post by: Fu-Kwun Hwang on June 20, 2006, 04:53:37 pm
Rays of lights are reflected from the mirror, each ray satisfying the
law of reflection.

It is fun to play with two plane mirrors, multiple images are
formed.

Would you like to try it with this java applet?



P.S. I have created another version of the same applet with EJS (http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=569.0) (2007/11/27).





Usage:
There are two plane mirrors with an initial angle of 120 degree.
Click the green circle and drag the mouse to change the angle.

The red circle (with yellow background) and the blue line on the left of
the mirror , represent the object to be play with.
Click inside the red circle or near the end of blue segment
and drag the mouse to change size/location/orientation
of the object.

Right click the mouse button to show the relations between images.

Rays of light will emit from the red circle if you click mouse button twice.

Find out the light paths and their relations to the images.

Play with it and enter the physics of optics.


Title: Re: Multiple Reflection from two plane mirrors
Post by: curlygrl200 on October 13, 2010, 10:43:55 am
Hi Mr. Hwang,

I'm Arabelle, I sent you a message before. This is the Applet I am really interested in. Could you by any chance send me the code?


Title: Re: Multiple Reflection from two plane mirrors
Post by: Fu-Kwun Hwang on October 13, 2010, 12:33:14 pm
Please download it by yourself. (attached file under the first message).


Title: Re: Multiple Reflection from two plane mirrors
Post by: curlygrl200 on October 15, 2010, 01:59:14 am
I am actually looking for the .java files, if possible.

I would need the java source code in order to modify your applet to work with 3 reflective surfaces instead of two.


Title: Re: Multiple Reflection from two plane mirrors
Post by: ahmedelshfie on October 15, 2010, 05:38:39 pm
like prof Hwang explain in him answer you will find Java source code, and you can
Download by your self, source code is attach file name is(image Java)
Please download it by your self the attach file up your first message.


Title: Re: Multiple Reflection from two plane mirrors
Post by: Fu-Kwun Hwang on October 15, 2010, 06:28:25 pm
The name of the source code (file) is image.java
Please download it by yourself. (Just a click away!)


Title: Re: Multiple Reflection from two plane mirrors
Post by: sofia marah frias on October 18, 2010, 02:03:12 pm
Mr. Hwang,

Good day! I'm Sofia Marah P. Frias, a student of the University of the Philippines Diliman. I am currently conducting my research on multiple image formation and I found your java applet very useful and interesting. I would just like to request for your approval or consent so I could include your java applet as one of my references in my research.

Thank you for your time and I would be patiently waiting for your reply.



Sofia Marah Frias


Title: Re: Multiple Reflection from two plane mirrors
Post by: Fu-Kwun Hwang on October 18, 2010, 05:29:47 pm
You are welcomed to use it for your research purpose, please included links back to this URL when you use it. :-)


Title: Re: Multiple Reflection from two plane mirrors
Post by: curlygrl200 on October 21, 2010, 04:03:56 am
Hi Mr. Hwang,

My teacher and I have been in contact with you about editing this wonderful Applet using the source code. You said that a .java file is provided on this website, but this does not seem to be the case. There is a downloadable zip folder, and in this folder are html files and .class files, but no .java files. My teacher has tried opening the .class file with numerous compilers, but it simply does not work, possibly because of language conversion issues. We would really appreciate your help in obtaining the source code for this Applet. If you have a .java file of this Applet, could you please post it or email it to curlygrl200@aim.com. If you have any other suggestions on how to obtain the source code, please inform us. We appreciate your help sir, and we understand if there was some confusion on either one of our parts regarding the files available for download. Thank you!

Regards,
Arabelle Chafé


Title: Re: Multiple Reflection from two plane mirrors
Post by: curlygrl200 on October 21, 2010, 07:09:36 am
Never mind Mr. Hwang, I found it! Thanks a ton!


Title: Re: Multiple Reflection from two plane mirrors
Post by: sofia marah frias on October 22, 2010, 06:04:40 pm
Thank you, Mr. Hwang.  :)

Sofia Marah Frias


Title: Re: Multiple Reflection from two plane mirrors
Post by: koclup1580 on November 15, 2012, 12:29:19 pm
thank you... :)