NTNUJAVA Virtual Physics Laboratory
Enjoy 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 January 11, 2011, 10:30:21 am



Title: Interference of two point sources in 3D
Post by: Fu-Kwun Hwang on January 11, 2011, 10:30:21 am
The following simulation show two point source located at P1=(x1,y1,z) and P2=(x2,y1,z)

It only show waves moving toward a common point P=(x,y,z), so that the interference can be shown at (x,y,z)
$y1(t)=h*sin(k*r1-w*t)$ where r1 is the distance of bwtween P1 and P.
and
$y2(t)=h*sin(k*r2-w*t)$ where r2 is the distance of bwtween P2 and P.

You can change the distance between source with slider for d, location of observed point with slider for x,wavelength with slider for lambda.

Two blue arrows represent phases for those two wave at P. i.e. represent (k*r1-w*t and k*r2-w*t).


Title: Re: Interference of two point sources in 3D
Post by: lookang on January 11, 2011, 01:21:36 pm
This is a simple simulation that is great for visualizing only the point of interest P, without looking at other parts of the interference.
Like:
simplicity
3D


I have remix something here http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2067.0 as well
Ejs Open Source Ripple Tank Interference Model java applet http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2067.0
my 3D effect can also be observed but it is too complex, under surface visualization.