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

## Easy Java Simulations (2001- ) => Collaborative Community of EJS => Topic started by: lookang on January 08, 2011, 11:20:50 pm

 Title: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 08, 2011, 11:20:50 pm Ejs Open Source Ripple Tank Interference Model java applet a remix from Interference Model: Ripple Tank written by Andrew Duffy http://www.compadre.org/osp/items/detail.cfm?ID=9989[ejsapplet]Description adapted from the original by Andrew DuffyInterference in Two Dimensions of 2 sourceWith this simulation, you can explore the interference pattern that results from the superposition of two sources of waves. The simulation models what happens a) two speakers, emitting sound waves; b) two oscillating bobbers or dippers in a water tank, producing water waves; c) two light sources, so the interference is with two light waves.In the simulation, 1) red regions (depending on the type of visualization selected) are areas where the net displacement is positive (such as when two peaks overlap) 2) blue regions are areas where the net displacement is negative (such as when two troughs overlap). 3) In the black regions, the net displacement is zero, or close to zero.To understand this pattern, we use the idea of the path-length difference, S1P - S2P. There is a movable blue-point P in the simulation. The path-length difference (∆L) for this point is the distance the point is from one of the sources minus the distance the point is from the other source, or  simply S1P - S2P. These distances are expressed in units of the wavelength λ. When the sources send out waves that are in phase with one another, the waves will interfere completely constructively when the path-length difference is an integer number of wavelengths, and they will interfere destructively when the path-length difference is an integer number of wavelengths, plus half a wavelength. We can express this in the form of equations.When the sources are in phasecondition for constructive interference: ∆L = m λ, where m = 0, 1, 2, ...condition for destructive interference: ∆L = (m + 0.5) λ, where m = 0, 1, 2, ...Activities by Andrew Duffy1 First, press the Play button to start the simulation running. One thing the simulation can help with is in understanding how this interesting pattern is formed, from two sources that put out identical single-frequency waves. Click-and-drag the blue dot P to change its location on the screen. You should observe that, whenever the blue point P is at a position in which there is a large amplitude displacement, that the path-length difference for that point (shown in blue bar at the bottom right) is an integer number of wavelengths (or close to it). In contrast, whenever the blue point P is at a position in which there is generally no displacement (it's always dark there), the path-length difference for that point is an integer number of wavelengths plus half a wavelength (or close to it).2 Explore different points on the line joining the two sources. In between the sources, along the line joining the sources, you should observe a standing wave, with nodes (zero displacement points) and anti-nodes (maximum displacement points) that are fixed in position. For a node, you should measure a path-length difference that is close to an integer number of wavelengths plus half a wavelength. For the anti-nodes, you should observe a path-length difference that is close to an integer number of wavelengths. Is this what you find? Explain why you will always find an anti-node at the place that is halfway between the two sources.3 Let's keep exploring what happens along the line joining the two sources, but now place the blue point P on this line, to the right of the source on the right. Adjust the frequency of the waves, or the x-coordinate of one or both of the sources, until the path-length difference is 3 wavelengths. Is constructive interference taking place at the point, or is it destructive interference? What is the distance between the sources (expressed in terms of wavelengths) in this case? Repeat, when the path-length difference is 3.5 wavelengths.4 The wave speed has a constant value in the simulation. With the wave speed constant, what happens to the wavelength when the frequency is increased? In general, what happens to the pattern when the frequency is increased?5 In general, what happens to the pattern when the two sources are move closer together? Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 08, 2011, 11:21:29 pm changes made1 redesign layout and color scheme2 add v and lambda slider controls3 add time to show the progress for student to use v to calculate how much the wave move4 add the 4 types of visualization5 add the 10 mode of color visualization6 add legend, suspect buggy but will try to activate it for relation learning to the visualization meaning of color7 add S1 and S2 y displacement as vertical bar for understanding of phase difference at the sources S1 and S28 add y1 and y2 and y1+y2 for the y displacement for understanding of superposition of point P17Jan20109 added coherence and incoherence check-box for exploring what if scenario for exploring in-depth the meaning of incoherence.incoherence here refer to v=!v2 || f=!f2 || lambda=!lambda2 31January 201110 added screen effects (instantaneous patterns and average intensity patterns)  of the interference patterns for both coherent and incoherent sources from http://www.cabrillo.edu/~jmccullough/Applets/OSP/Oscillations_and_Waves/waves_interference.jar by  Juan M. Aguirregabiria. now it is very easy to visualize the meaning of coherent sources. :)10 February 201111 add check box to visual true S1, S2 and P bar values12 add check box for visual instant and average pattern of the end of the screen for relating to future cases of interference as such light waves13 made S1 and S2 show when radio buttons are selected14 fix a bug on the S1 and S2 bar with phase is change15 made the area to display top view of ripple tank bigger to solve the bug of a line showing16 made some animated gif to others to use here http://weelookang.blogspot.com/2011/01/ejs-open-source-ripple-tank.html13 February 2011 Sundaymade the screen on the right more obvious by adding BR text "screen on the right"made all number 0.00 for consistent readingadd hint for activating the side views30 March 2011fix bugthe border on top and right corner of ripple tank is due to a fix relationship for the screen effect arrayoutofbound error that i cannot seem to fixarrange the code inside04 Jan 2012reintroduce a side view versus time of the displacement at point P. the displacement-time graphs of S1, S2 and the resultant at any position Pfixed some 0.00 format on the bars of S1 S2 and Pfixed the bug by moving the codes to evolution page instead of fixed relationship, was difficult to find the bug or cause, but i did it!made hide and show after clicking the check-boxes, a bit neater now, we agree that it could be still useful to be able to fine-control position of S1 and S2, let keep it inside the simdded a margin 10%, now can see the maximum and minimum values of 2 and -2 easily. 05 Jan 2012selectable width now using split panels Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: ahmedelshfie on January 09, 2011, 11:23:31 am Nice applet, many days ago born my first baby  :o Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 10, 2011, 09:36:43 pm all the best ahmedelshfie. parenting is super tiring especially if you are juggling make applet at home and using free time :)Based on a rough idea i had some years ago :)http://www.scribd.com/doc/46322449/Weelookang-Conceptual-Design-ProjectV1 p 11the real difference today is i can make interactive java applet standing on the giants of Open Source Physics community instead of the conceptual paper i did which is pretty much just struck at the an idea stage.Thanks to Andrew Duffy for his source original codesand Fu-Kwun Hwang for this fantastic CoP forumPaco for Easy Java SimulationWolfgang for Open Source Physics !and many others whom i have not met but have learnt for the source codes and simulation!Other Ripple Tank Inference Simulationhttp://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2074.0 Interference of two point sources in 3D by Fu-Kwun Hwang Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 13, 2011, 09:49:21 am http://www.seab.gov.sg/aLevel/20102011Syllabus/9646_2011.pdfSECTION lV     WAVES  Superposition (d)        explain the meaning of the term diffraction. (e)        show an understanding of experiments which demonstrate diffraction including the diffraction of water waves in a ripple tank with both a wide gap and a narrow gap.  (f)         show an understanding of the terms interference and coherence.  (g)        show  an  understanding  of  experiments  which  demonstrate  two-source  interference  using water, light and microwaves. may have to finer customized some more the meaning for coherence.i argue that the best pedagogy method is in this case learning by making the best way to demonstrate understanding of coherence is to get students to use Ejs to change the codes inside.hint:v1 = f1*lambda1v2 = f2*lambda2should do it.when v1 =! v2 & f1=!f1 & lambda1=! lambda2 it will result in phi1=! phi2 in general except for those time of coincidence!The less pedagogy effective method but more time efficient method is to make it happen in the sim by teacher.the trade offs of deep pedagogy learning vs efficient time. Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 17, 2011, 12:03:39 pm 17Jan20109 added coherence and incoherence check-box for exploring what if scenario for exploring in-depth the meaning of incoherence.incoherence here refer to v=!v2 || f=!f2 || lambda=!lambda2posting from Kuala Lumpur, Malaysia! Holiday! Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 31, 2011, 11:33:40 am 31January 201110 added screen effects (instantaneous patterns and average intensity patterns)  of the interference patterns for both coherent and incoherent sources from http://www.cabrillo.edu/~jmccullough/Applets/OSP/Oscillations_and_Waves/waves_interference.jar by  Juan M. Aguirregabiria. now it is very easy to visualize the meaning of coherent sources. :)sick today so at home.i also found good resourceshttp://phet.colorado.edu/en/simulation/wave-interference (http://phet.colorado.edu/sims/wave-interference/wave-interference-screenshot.png)Like: a lot of possibilitiesvery complex and realistichttp://www.cabrillo.edu/~jmccullough/Physics/Interference_Wave_Nature.htmlcollection of good applets Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 04, 2012, 02:16:48 pm addeda side view versus time of the displacement at point P. as suggested by chee wah, i think the original sim had it already.fixed some 0.00 format on the bars of S1 S2 and P Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 05, 2012, 10:20:36 am request by teacher Wed 1/4/2012 3:47 PMWe are wondering if you could include an optional check box to show(i) the displacement-time graphs of S1, S2 and the resultant at any positionadded (ii) the intensity-position profile of the resultant waveworking on it, maybe next week can produce As we explore the EJS, we realize that after some time, it seems that the resultant pattern was not correctly represented. We wonder if there might be a bug there. I have attached a word document for your reference.i fixed the bug by moving the codes to evolution page instead of fixed relationship, was difficult to find the bug or cause, but i did it! :) Also, we found that there may be no need to move the source horizontally, thus would it be possible to remove the slider-bars so as to keep the platform neater.made hide and show after clicking the check-boxes, a bit neater now, we agree that it could be still useful to be able to fine-control position of S1 and S2, let keep it inside the sim :)request by teacher Thu 1/5/2012 9:34 AMI just managed to run the superposition EJS and would like to request the following changes if possible: 1. Currently in the graph mode, the pattern shifts right to the top and it is difficult to identify the position of P. I wonder if the graphs could be shown individually on the right side of the panel so that the students know which graph corresponds to which source and know which is the resultant wave. I would propose that the size of the pattern should remain the same, if possible.i added a margin 10%, now can see the maximum and minimum values of 2 and -2 easily.  2. Currently, after running the EJS in the graphical mode and pausing it to show the step function. The graph continues to show the same shape. Clicking the step button causes the graph to shift forward in time, I was a bit confused initially trying to interpret the implication of the graph. I wonder if there is any way to help clarify this by looking at the graph. If not, I suppose the worksheet will need to try explain the meaning of it.the graph data was currently is set to display only 75 data-points, to save memory.if i set to infinity, it will slow down as the calculation to display all the infinity point takes a lot of memory. 3. After pausing the EJS, I start to shift point P around. Initially the graph still looks sinusoidal but after some time, the graph shows vertical line corresponds to the particular time paused. As the lines all overlap, I could not figure out what they are the values of the lines. The line does not seem to correspond correctly to the pattern as I shift point P around.the student-scientist need to understand the graph shows old data, to collect new data on new position of P, click play again to start collect y1+y2 at P.the values can be read from the bars on the right. :)Thanks for the great simulation!my pleasure :) On a side note, for those who downloaded the file *.jar, Windows7 may associate it as a zip file. What my TA did was to change the file extension to jar instead of zip. To view the file extension, you would need to go the folder option/view and unchecked the "hide file extension".yes agreed.SMS Thu 1/5/2012 12:16 PMHi, my colleague prefers to view the JS without colors. Can this be the default screen? Also it seems that the legend slows down the system a bit. We think there may be no need for the legend, if it affects the computation. Ty.doneSMS Thu 1/5/2012 12:26 PMThanks. Btw, did you experience the program hanging after some time, especially after changing the phase a few times and allowing it to run say around 100 s  the EJS starts to slow down till it has no responsei didn't notice it on my computer, i ran for >100 seconds.fix a useability issue of S12 and S2 draggable on simulation is playing, change to only when paused.fix an array issue of border top and right white by  changing sum = [number][number] Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 05, 2012, 02:59:25 pm As NRF-MOE eduLab001 project,May I share one computer model on ripple tank that I have designed for learning, for your use and further sharing-scaling up (a MP3 goal) with others interested in physics.Download after login, registration is free.http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2067.0I have also attached the computer model, requires at least version 1.5 of Java (JRE) comments are welcome!1.   http://weelookang.blogspot.com/2011/01/ejs-open-source-ripple-tank.html or2.   http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2067.0Many thanks to 1.   Professor Andrew Duffy for his original simulation http://www.compadre.org/osp/items/detail.cfm?ID=99892.   Professor Juan M. Aguirregabiria for his simulation http://www.compadre.org/osp/items/detail.cfm?ID=78763.   Professor Fu Kwun Hwang for his OSP learning network and  2000+ models 4.   Innova JC , Chee Wah and Soo Kok for useful feedback to customize to their L&T requirements for their research in eduLab. Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 05, 2012, 03:19:28 pm From a teacher Thu 1/5/2012 4:13 PM.You are indeed amazing!:) Yes, I suppose you are right that we may do away with the intensity graph as it looks pretty good with the current features. I suppose we can design the worksheet to check how students perceive from the pattern the intensity-position graph.agreed For the computer hanging of the JS, it seems that I didn't encounter it this time round with the update. We will explore further to see if it gives us problem again. good Some observation:1. In the full screen mode, the graph seems to be occupy about a fifth of the screen. I wonder how it would look like if it occupies say a third? On the other hand, the size looks perfectly fine so long as I do not maximize the EJS. it is selectable width now using split panels (http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=2067.0;attach=4540;image)2. I observe that the bar for S1P and the line S1P are in purple[magenta] while the S1 source is in red. Is it intended to be so?yes!i design that source S1 is RED and the path S1P is magentasee picture (http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=2067.0;attach=4538;image)Thanks for the great EJS. We are truly impressed.thank you! Open source Physics is awesomeHi Professor Hwang!you are truly amazing too hahahaha Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: ahmedelshfie on January 06, 2012, 07:39:00 am Nice work lookang, keep it up  :) Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 06, 2012, 12:53:10 pm thanks ahmed :)another request from teacher Fri 1/6/2012 1:48 PMWe prefer the previous design but we are wondering if the size of the graph can be made a bit bigger, in compromise of either the wave pattern or the fringe pattern. One suggestion is as shown in the document. You may make other adjustment as you deem necessary.i set the graph to be width = 450, in full screen view, it looks great. in applet default view, it looks big.i also made the intensity patterns from width = 100 to 75 each For your consideration, please. Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 25, 2012, 01:56:01 pm another good request from teacher Wed 1/25/2012 11:45 AMI was working on the worksheet for superposition and would like to request for the following feature:1. Instead of S1P - S2P, could it be shown as |S1P - S2P| to show that we are measuring the magnitude. Alternatively we can show S1P - S2P to be negative to indicate that S1P is shorter than S2P. For your consideration, pleasedone made " |S1P-S2P|  = 0.## "2. Can the distance S1P - S2P, Px and Py be shown to 2 s.f.? two decimal place can? implemented2 significant figures could be look like this 1.2E0 = 1.209.9E-1 = 0.99 a bit harder to read but it is 2 significant figures:)3. Also, was wondering if there is a need for the pop up when we first open the EJS? The information provided may be slightly different from the activities that the students would be exploring.hidden now Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 25, 2012, 02:50:49 pm request Wed 1/25/2012 3:18 PMIt seems that you have yet to change Px and Py to 2 d.p.done now!  Also, realised that at destructive interference at some position, it shows S1P = 8.47  and S2P = 7.96 but the difference is 0.50(lamda), I suppose it is due to the division and rounding off. Is there a possibility of having this fixed?yes, i think i see some rounding off error, but i don't know if it is serious bug that need to solve.seems ok to me when i play with it through the sliderthe error seems to be possible when the user drag the point P, i think it is a trade-off between round-off error possible sometimes or disable the drag-gable point P. Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on January 29, 2012, 03:46:58 pm 29 Jan 2012 Sundayadded A1 and A2 as input fields to allow amplitude of S1 and S2 to be selectable-changeable variables instead of the usual 1 unitmade the graph lines stroke = 2 and 4 respectively thicker for easier visualization Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on February 16, 2012, 09:55:33 am discontinued a best version with legend and autoscale.attached is the source file Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on March 13, 2012, 09:56:04 am changes after lesson research with studentsmade dt = 0.025 from  0.05add text amplitude interference top viewadd legend1 for displacement interference pattern due to a need to deepen understanding from the scalar representationadd legend2 for intensity screen pattern due to a need to deepen understanding from the scalar representation from the equation I proportional to A^2 Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on May 07, 2012, 04:01:49 pm after discussion with teacher.changes.added pen paper representation to support transfer of learning to examinations questions in pen paper format. Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on May 15, 2012, 12:55:36 pm discussion with teacherThanks. but the wave fronts drawn by pen look funny.made  drawing panel x and y squared==true, should look like the real thingThere seems to be additional unnecessary wave fronts appearing at the same time.reprogram the pen linesfor( ipen=1;ipen if(vd[ipen]==0 && t>=(ipen-1)*(1/f)){ // clever way to assign wavefront  count = ipen; // added by lookang to count waves emitted  tEmitted[ipen] = t;//  vd[ipen]=4*v; // assign velocity to wavefrontvd[ipen]=4*f*lambda; // assign velocity to wavefront  xs[ipen]=xsource; // assign position  ys[ipen]=ysource; }}for( ipen2=1;ipen2 if(vd2[ipen2]==0 && t>=(phase/(2*pi)+ipen2-1)*(1/f2)&&t>=0){ // clever way to assign wavefront  count2 = ipen2; // added by lookang to count waves emitted  tEmitted2[ipen2] = t;          vd2[ipen2]=4*f2*lambda2; // assign velocity to wavefront            xs2[ipen2]=xsource2; // assign position  ys2[ipen2]=ysource2; }}if (phase>0&&t==0)vd2[1]=0; // needed to fix bug of wave starting when phase not zerothanks to Prof Hwang codes herehttp://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=873.0andEjs Open Source 1 Dimension Doppler Effect Sound Wave Java Applethttp://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1997.0:) Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on June 26, 2012, 09:26:51 am added hintsif ((Math.abs(deltaL%(1)) < 0.01)&&(Math.abs(phase%(2*pi)) < 0.1)||(Math.abs((deltaL-0.5)%1) < 0.01)&&(Math.abs((phase-pi)%(2*pi)) < 0.1)){  text = " Constructive Inference ";  texthint1correctbackground = java.awt.Color.YELLOW;  hintshow = true;}//P.D. = 0.5lambda, phi =0 || P.D. = 0, phi =pi//else if (Math.abs((deltaL-0.5)%1) < 0.01)&&(Math.abs(phase%(2*pi)) < 0.1)||Math.abs(deltaL%(1)) < 0.01)&&(Math.abs((phase-pi)%(2*pi)) < 0.1)){else if ((Math.abs((deltaL-0.5)%1) < 0.01)&&(Math.abs(phase%(2*pi)) < 0.1)||((Math.abs(deltaL%(1)) < 0.01)&&(Math.abs((phase-pi)%(2*pi)) < 0.1))) {text = " Destructive Inference ";  hintshow = true;  texthint2correctbackground = java.awt.Color.YELLOW;  }  else {  text = "";    hintshow = false;    texthint1correctbackground = new java.awt.Color(255,255,255,255);;    texthint2correctbackground = new java.awt.Color(255,255,255,255);;  }added hinttextif (hint==true&&(Math.abs(phase%(2*pi)) < 0.1)){texthint = "When the sources are in phase, $\\phi$=0";texthint1 = "condition for constructive interference: |S1P-S2P| = m $\\lambda$ , where m = 0, 1, 2, ...";texthint2 = "condition for destructive interference: |S1P-S2P| = (m + 0.5) $\\lambda$ , where m = 0, 1, 2, ...";}else if (hint==true&&(Math.abs((phase-pi)%(2*pi)) < 0.1)){texthint = "When the sources are in anti-phase, $\\phi$=180 degree";texthint1 = "condition for constructive interference: |S1P-S2P| = (m + 0.5) $\\lambda$ , where m = 0, 1, 2, ...";texthint2 = "condition for destructive interference: |S1P-S2P| = m  $\\lambda$ , where m = 0, 1, 2, ...";}else { texthint = "move the source phase $\\phi$ into in phase $\\phi$=0 or anti-phase $\\phi$=180 degree for hints regarding them";texthint1 = "";texthint2 = "";} Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on July 02, 2012, 04:49:20 pm Two-source Ripple Tank interference patterns with River Valley High SchoolIntroduction Video on the features of the computer model as a guide to support learning.Ejs Open Source Ripple Tank Interference Model java applethttp://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2067.0this video made as a research response to improve student's experience and learning by supporting teachers in setting the stage, giving the basic features of the inquiry lesson to come,  for student centred inquiry with computer model as a tool.the teacher will play a even bigger role in facilitating learning because the tool adds interactive engagement and visualization that traditional tools cannot support..enjoy! Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on July 02, 2012, 10:45:07 pm http://youtu.be/XHiDpP-572Y[youtube]XHiDpP-572Y[/youtube]trying to figure out if tracker can be used to determine useful curriculum learning. seems to be possible to determine the velocity of wave when a length is assumed.say if S1S2 is 0.3m since we know the video i n phase sources, by observing the bright light at S1 and S2 happens together.the centre line, say length is set at 4.659E-1 m from S1 to P where P is a bright interference.similarly, S2P is roughly 4.734E-1 mby stepping the video,for simplicity 4 steps result in t = 0.133 s = T.thus, f = 1/T = 7.52 Hzthe wavelength is determined as 1.097E-1 m as showntherefore, using v = f.lambda                       v = 7.52(1.097E-1)                       v = 0.825 m/sis this correct?  took 3 videos real setup video taken by lookangin phase sources video taken by lookangin anti-phase sources video taken by lookang Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on July 06, 2012, 09:24:06 am added node and anti-node texts Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on June 07, 2013, 01:18:23 pm added new features.enjoy! Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on July 08, 2013, 10:52:41 am bug fixed! redraw using AnalyticCurveX= "xsource+(x-xsource)*cs-0.1*A1*Math.cos(omega*t-k*(x-xsource))*sc"Y ="ysource+(x-xsource)*sc+0.1*A1*Math.cos(omega*t-k*(x-xsource))*cs"the using new feature with new wave form to allow counting of number of wavelength with RVHS tat leong in ripple tank sim plus some bug fixes. made dt smaller 0.01 for smooth graphhttp://weelookang.blogspot.sg/2013/03/ripple-tank-model-wee-duffy.htmlRipple Tank Model (Wee, Duffy, Aguirregabiria, Hwang & Lee, 2012) with simplified physics equations modeled, realistic 2D and 3D (shown) visualizations, hints and scientific measurement tools for inquiry activities and data gathering for inquiry learninghttps://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejs_Ripple_Tank_Interferencewee10.jarolder version  working https://dl.dropbox.com/u/44365627/lookangEJSworkspace/export/ejs_Ripple_Tank_Interferencewee07try.jarworksheets by (lead) IJC: https://www.dropbox.com/s/ssfismpu1683l3k/RippleTankIJC.zipIJC: https://www.dropbox.com/s/dyvzrhuhzecxx7c/RippleTankIJC2013.docxRVHS: https://www.dropbox.com/s/pnbi0k6ww1zcmv8/RippleTankRVHS.zipYJC: https://www.dropbox.com/s/khlnwerjoienknh/RippleTankYJC.zip Title: Re: Ejs Open Source Ripple Tank Interference Model java applet Post by: lookang on February 21, 2019, 09:01:29 am uploading the latest version used by schools