APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Computer Program Detail Page

Item Picture
Two-Color Multiple Slit Diffraction
written by Michael R. Gallis
The Two-Color Multiple Slit Diffraction Model allows users to explore multiple slit diffraction by manipulating characteristics of the aperture and incident light to observe the resulting intensity.  An exploration of resolving power in spectroscopy is included in the model.

The Two-Color Multiple Slit Diffraction Model was created by Michael Gallis using the Easy Java Simulations (EJS) modeling tool. It is distributed as a ready-to-run (compiled) Java archive. You can examine and modify this compiled EJS model if you run the model (double click on the model's jar file), right-click within a plot, and select "Open Ejs Model" from the pop-up menu. You must, of course, have EJS installed on your computer. 

Please note that this resource requires at least version 1.5 of Java (JRE).
1 source code document is available
Subjects Levels Resource Types
General Physics
- Computational Physics
- Color
- Diffraction
- Interference
= Gratings
- Lower Undergraduate
- High School
- Instructional Material
= Curriculum support
= Interactive Simulation
= Model
Intended Users Formats Ratings
- Learners
- Educators
- application/java
  • Currently 0.0/5

Want to rate this material?
Login here!

Access Rights:
Free access
This material is released under a GNU General Public License Version 3 license.
Rights Holder:
Michael Gallis
color, java, multislit, two color, two-slit
Record Cloner:
Metadata instance created May 8, 2009 by Wolfgang Christian
Record Updated:
June 13, 2014 by Andreu Glasmann
Last Update
when Cataloged:
October 27, 2008
Other Collections:


Author: Diego Racero
Posted: February 22, 2010 at 12:19PM

Hi, I was using your simulation and I noted that each time I increment the slit number the intensity amplitude is rescale so it fit in the screen without any change, could you tell which variable I must maipulate in order tu put in evidence the scale change?

Thakns in advance!

» reply

Post a new comment on this item
ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
M. Gallis, Computer Program TWO-COLOR MULTIPLE SLIT DIFFRACTION (2008), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8888&DocID=1192).
M. Gallis, Computer Program TWO-COLOR MULTIPLE SLIT DIFFRACTION (2008), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8888&DocID=1192>.
APA Format
Gallis, M. (2008). Two-Color Multiple Slit Diffraction [Computer software]. Retrieved May 18, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8888&DocID=1192
Chicago Format
Gallis, Michael. "Two-Color Multiple Slit Diffraction." https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8888&DocID=1192 (accessed 18 May 2024).
MLA Format
Gallis, Michael. Two-Color Multiple Slit Diffraction. Computer software. 2008. Java (JRE) 1.5. 18 May 2024 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8888&DocID=1192>.
BibTeX Export Format
@misc{ Author = "Michael Gallis", Title = {Two-Color Multiple Slit Diffraction}, Month = {October}, Year = {2008} }
Refer Export Format

%A Michael Gallis %T Two-Color Multiple Slit Diffraction %D October 27, 2008 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8888&DocID=1192 %O application/java

EndNote Export Format

%0 Computer Program %A Gallis, Michael %D October 27, 2008 %T Two-Color Multiple Slit Diffraction %8 October 27, 2008 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=8888&DocID=1192

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.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

This resource is stored in 6 shared folders.

You must login to access shared folders.

Save to my folders



Similar Materials

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book