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

## Easy Java Simulations (2001- ) => Optics => Topic started by: Fu-Kwun Hwang on July 19, 2009, 05:10:49 pm

 Title: Ray tracing of image forms with one or two combined convex/concave lens Post by: Fu-Kwun Hwang on July 19, 2009, 05:10:49 pm The following applet shows light paths for converging lens.Initially, there is only one convex lens. The blue arrow represents object and green arrow is the image.You can drag objec position and change it's height (drag arrow tip), too.Two small cyan dots represent focus points (d 8)rag it to change focus length of the lens).Drag the center of the lens to change it's location. Drag top of the lens to change the height of the lens.For the first lens: $\tfrac{1}{P_1}+\tfrac{1}{q_1}=\tfrac{1}{f_1}$Click 2nd Lens to add another convex lens. You can study how light paths were refracted to form the image.If the separation between two lens is $d$, and assume second lens is at the right side of the first lens.Then, $p_2=d-q_1$ , and the images form can be found at $\tfrac{1}{q_2}=\tfrac{1}{f_2}-\tfrac{1}{p_2}$. Title: Re: Ray tracing of image forms with one or two combined convex lens Post by: lookang on July 20, 2009, 07:51:10 am i like this simulation.I was able to 1.study how the marginal lights rays are implemented.nexti will try to implement many rays based on the marginal codes!(http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=1170.0;attach=1210;image) Title: Re: Ray tracing of image forms with one or two combined convex lens Post by: lookang on July 21, 2009, 09:55:22 am $\tfrac{1}{P_1}+\tfrac{1}{q_1}=\tfrac{1}{f_1}$how to write equations in this forum? it is cool but i dont think it is default in SMF right?Code:$\tfrac{1}{P_1}+\tfrac{1}{q_1}=\tfrac{1}{f_1}$ Title: Re: Ray tracing of image forms with one or two combined convex lens Post by: Fu-Kwun Hwang on July 22, 2009, 08:28:45 am Type the following syntax to show the above equation:\$\frac{1}{p}+\frac{1}{q}=\frac{1}{f}\$Please check out http://en.wikipedia.org/wiki/Math_markup.However, you need to add $sign before and after the equation. Title: Re: Ray tracing of image forms with one or two combined convex lens Post by: lookang on July 22, 2009, 11:54:28 am$alpha\$ok i understand how to do that is this forum, but i can't do the same for my own forum http://66.7.205.91/~lookangc/index.php?topic=1005.msg2003#msg2003can explain what mods needs to be done?i actually use αCode:[html]α[/html] Title: Re: Ray tracing of image forms with one or two combined convex lens Post by: Fu-Kwun Hwang on July 22, 2009, 10:38:57 pm I use the math equation code from MediaWiki and add my own code to make it work in this forum. Title: Re: Ray tracing of image forms with one or two combined convex/concave lens Post by: diinxcom on December 14, 2014, 06:14:37 pm Just bookmarking first.-*-