NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
May 29, 2020, 10:08:59 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
An interdisciplinary approach. ...Wisdom
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
Author Topic: Young Double and Multi Slits Java Applet Ejs Open Source Physics Computer Model  (Read 6064 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Hero Member
Offline Offline

Posts: 1796


Embed this message
on: July 02, 2013, 09:32:35 pm »

Young Double and Multi Slits Java Applet Ejs Open Source Physics Computer Model by Fu-Kwun Hwang, Robert Mohr and Wolfgang Christian and now this remixed version lookang.
i got ideas and codes from several sources
andrew duffy work found here http://www.compadre.org/osp/document/ServeFile.cfm?ID=9988&DocID=1622&Attachment=1
 took some ideas from tat leong point P, https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejs_wave_double_slit_LTL.jar
 Jose Ignacio Fernández Palop vcolor code from http://www.compadre.org/osp/items/detail.cfm?ID=10529


Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • Please feel free to post your ideas about how to use the simulation for better teaching and learning.
  • Post questions to be asked to help students to think, to explore.
  • Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!

Multiple Slit Diffraction

The EJS Multiple Slit Diffraction model allows the user to simulate Fraunhofer diffraction through single or multiple slits. The user can modify the number of slits, the slit width, the slit separation and the wavelength of the incident light. The scale of the diffraction pattern can also be changed and a plot of the light intensity can be toggled on and off with a checkbox.

The minima of single slit diffraction are determined by:

D sin Ө = m λ ,  where m = 1,2,3,......

where D is the single slit width.

For double slit interference, constructive interference (bright spots) are found at:

d sin Ө = m λ ,  where m = 1,2,3,......

and destructive interference dark spots are located at:

d sin Ө = (m+0.5) λ ,  where m = 1,2,3,......

where d is the distance between slits.

Multiple slits will sharpen (narrow) the regions of constructive interference. The overall pattern from multiple slits will be the two-slit pattern multiplied by the single slit diffraction envelope.
Douglas Giancoli, Physics: Principles with Applications sixth edition, pages 664-675.
Eugene Hecht, Optics fourth edition, pages 460-464.

The Multiple Slit Diffraction model was created by Fu-Kwun Hwang using the Easy Java Simulations (EJS) modeling tool. It was adapted to EJS version 4.1 by Robert Mohr and Wolfgang Christian at Davidson College. You can examine and modify the model for this simulation if you have EJS installed by right-clicking within the diffraction frame and selecting "Open Ejs Model" from the pop-up menu. Information about EJS is available at: and in the OSP ComPADRE collection .

this remixed model is by lookang based on the earlier EJS models by Fu-Kwun Hwang, Robert Mohr and Wolfgang Christian  and Andrew Duffy.

* MR_blue_2013-07-02_1707.png (144.86 KB, 1280x1024 - viewed 463 times.)
« Last Edit: July 02, 2013, 09:34:27 pm by lookang » Logged
Hero Member
Offline Offline

Posts: 1796


Embed this message
Reply #1 on: July 02, 2013, 09:34:00 pm »

changes made:
changes made:

turn the screen to the right by doing a switch of the i and j arrays
made intensity graph and envelope work in the right panel
scale the y to fix the 1 m instead of the older 200
added a scale factor to make the display coincident with the other applet made by andrew duffy http://weelookang.blogspot.sg/2013/06/ejs-open-source-young-double-slit-java.html
added source as triangle of laser
added λ slider with color indicated by adding colorlookang codes
set default as double slit N = 2, the open input field technically allows for multiple slits up to 20 as previously designed by Fu-Kwun Hwang
made a, d, L and y
made intensity and different from the envelope
redesign the layout to suit left to right with right panel showing the screen
laser redrawn
added background
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
made the codes work under the new design space of x = -0.5,1 and y = -1 and 1
« Last Edit: July 02, 2013, 09:38:49 pm by lookang » Logged
Pages: [1]   Go Up
An interdisciplinary approach. ...Wisdom
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Ejs Open Source Roller Coaster Physics Model Java Applet
Collaborative Community of EJS
lookang 15 46384 Last post June 15, 2011, 03:45:49 pm
by lookang
Ejs Open Source Bar Magnet Model java applet
Simulations from other web sites
ahmedelshfie 2 9516 Last post April 26, 2010, 07:48:35 pm
by ahmedelshfie
Ejs Open Source Rocket Physics Java Applet Model
Collaborative Community of EJS
lookang 1 6734 Last post April 29, 2013, 02:34:40 pm
by lookang
Ejs Open Source Young's Double Slit Java Applet
Collaborative Community of EJS
lookang 1 10958 Last post June 25, 2013, 11:01:27 pm
by lookang
Double Slit Wave-Particle Duality Model Open Source Physics Java Applet
Collaborative Community of EJS
lookang 1 8604 Last post July 05, 2013, 09:25:03 am
by lookang
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.049 seconds with 23 queries.since 2011/06/15