Diffraction and Interference Model: Single and Double Slits
written by
Andrew Duffy
The Diffraction and Interference Model: Single and Double Slits shows diffraction and interference patterns from a single slit, double sources and double slits. The user can change the source wavelength, slit width, separation and distance between slit and screen.
The Diffraction and Interference Model was created using the Easy Java Simulations (EJS) modeling tool. It is distributed as a ready-to-run (compiled) Java archive. Double clicking the ejs_bu_Diffraction_Interference.jar file will run the program if Java is installed.
Please note that this resource requires
at least version 1.5 of Java (JRE).
Diffraction and Interference Model Worksheet: Single and Double Slits
Student worksheet for Diffraction and Interference Model. download 18kb .pdf
Published: April 24, 2010
Diffraction and Interference Model: Single and Double Slits Source Code
The source code zip archive contains an XML representation of the Diffraction and Interference model. Unzip this archive in your EJS workspace to compile and run this model using EJS. download 6kb .zip
Published: April 24, 2010
Rights: This material is released under the GNU General Public License Version 3.
previous versions
Young's double slit, diffraction, double slit, interference, single slit
Record Cloner:
Metadata instance created April 24, 2010
by Anne Cox
Record Updated:
June 3, 2014
by Andreu Glasmann
Last Update when Cataloged:
April 24, 2010
strangely after using ejs4.3.0 i managed to open it which become editable in ejs4.3.7
Author: lookang
Posted: June 25, 2013 at 12:17PM
managed to edit it and it is what happens after 2 days :) enjoy!
Young Double Slit Java Applet Ejs Open Source Physics Computer Model http://weelookang.blogspot.sg/2013/06/ejs-open-source-young-double-slit-java.html http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2782.0 author: andrew duffy and lookang, took some ideas from tat leong point P, Jose Ignacio Fernández Palop vcolor original work here http://www.compadre.org/osp/document/ServeFile.cfm?ID=9988&DocID=1622&Attachment=1 many thanks to fu-kwun hwang for teaching me so many things on NTNU java forum, paco and wolfgang for open source physics toolkit :) https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejs_Diffraction_Interferencewee05.jar
can someone open the source code in EJS_4.3.7_130516?
Author: lookang
Posted: June 24, 2013 at 10:57AM
i have tried opening the source code but the EJS hangs. can someone help check if u can open or not? i can only open the source using EJS_4.3.0_100622.
please advise what i should i do next if i want to edit it thanks!
in another computer i can see the error message on the ejs console. hope it helps in the debugging of EJS_4.3.7_130516\EJS_4.3.7.
thanks!
C:\Program Files\Java\jre7/bin/java -classpath bin/comSun7.jar;bin/ejs.jar;bin/bcel.jar;bin/extensions/commons-math3-3.0.jar;bin/extensions/djep.jar;bin/extensions/model_elements/Apache/apache_numerics.jar;bin/extensions/model_elements/External/external.jar;bin/extensions/model_elements/Hardware/hardware.jar;bin/extensions/model_elements/Hardware/_utils/phidgetlibsarlab.jar;bin/extensions/model_elements/Hardware/_utils/serial.jar;bin/extensions/model_elements/InputOutput/input_output.jar;bin/extensions/model_elements/ParallelJava/parallel_ejs.jar;bin/extensions/QTJava.zip;bin/extensions/slf4j-api.jar;bin/extensions/_utils/ARElement.jar;bin/extensions/_utils/commons-cli.jar;bin/extensions/_utils/commons-logging-1.1.1.jar;bin/extensions/_utils/gstreamer-java.jar;bin/extensions/_utils/jackson-annotations-2.1.1.jar;bin/extensions/_utils/jackson-core-2.1.1.jar;bin/extensions/_utils/jackson-databind-2.1.1.jar;bin/extensions/_utils/jna.jar;bin/extensions/_utils/Loader3DS.jar;bin/extensions/_utils/LoaderAC3D.jar;bin/extensions/_utils/LoaderVRML.jar;bin/extensions/_utils/log4j-1.2.15.jar;bin/extensions/_utils/logback-classic.jar;bin/extensions/_utils/logback-core.jar;bin/locales.jar -Dcodebase=. -Dhome=C:\Documents and Settings\Temp\My Documents\Dropbox\Public\lookangEJSworkspace org.colos.ejs.osejs.Osejs -lastFile -lookAndFeel javax.swing.plaf.metal.MetalLookAndFeel -decorateWindows -screen 1 Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: [S cannot be cast to [I at java.awt.image.DirectColorModel.getRGB(Unknown Source) at sun.java2d.loops.OpaqueCopyAnyToArgb.Blit(Unknown Source) at sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source) at sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source) at sun.java2d.loops.MaskBlit$General.MaskBlit(Unknown Source)
A. Duffy, Computer Program DIFFRACTION AND INTERFERENCE MODEL: SINGLE AND DOUBLE SLITS (2010), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=9988&DocID=1622).
A. Duffy, Computer Program DIFFRACTION AND INTERFERENCE MODEL: SINGLE AND DOUBLE SLITS (2010), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=9988&DocID=1622>.
Duffy, A. (2010). Diffraction and Interference Model: Single and Double Slits [Computer software]. Retrieved November 6, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=9988&DocID=1622
Duffy, Andrew. "Diffraction and Interference Model: Single and Double Slits." https://www.compadre.org/Repository/document/ServeFile.cfm?ID=9988&DocID=1622 (accessed 6 November 2024).
%A Andrew Duffy %T Diffraction and Interference Model: Single and Double Slits %D April 24, 2010 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=9988&DocID=1622 %O application/java
%0 Computer Program %A Duffy, Andrew %D April 24, 2010 %T Diffraction and Interference Model: Single and Double Slits %8 April 24, 2010 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=9988&DocID=1622
Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.
The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Diffraction and Interference Model: Single and Double Slits.
changes made: added sources as triangles of laser added ? slider with color indicated with reference made to Jose Ignacio Fernández Palop vcolor http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1037.0 reorder blue green red in ascending order of magnitude set default as double slit made a, d, D and y made intensity selectable redesign the layout to suit left to right with right panel showing the screen laser redrawn slits added text of views added added point yp with reference made to tat leong yp http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2778.0