NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
June 21, 2019, 06:56:44 am

"There is nothing either good or bad, but thinking makes it so." ..."Shakespeare (154-1616, English dramatist and poet) "

 Pages: [1]   Go Down
 Author Topic: Ejs Open Source Wave Representations Model Java Applet Simulation  (Read 6862 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
lookang
Moderator
Hero Member

Offline

Posts: 1792

http://weelookang.blogspot.com

 « Embed this message on: April 19, 2011, 11:00:34 pm » posted from:Singapore,,Singapore

Ejs Open Source Wave Representations Model Java Applet Simulation by Andrew Duffy, remixed by lookang

The Ejs Wave Representations model displays two representations of a sinusoidal wave on a string. One shows a movie of the wave traveling along a string - you can think of this representation as a sequence of photographs. The second representation is a plot of the displacement as a function of time for two points on the string (you can select which two points to use). Using only these two representations, you can determine the values of many different parameters that describe the wave. You can modify this simulation if you have Ejs installed by right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item.

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
• 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!

Wave representations by Andrew Duffy
In this simulation, you have two representations of wave motion to work with. One shows a movie of the wave traveling along a string - you can think of this representation as a sequence of photographs. The second representation is a plot of the displacement as a function of time for two points on the string (you can select which two points to use). Using only these two representations, you can determine the values of many different parameters that describe the wave.

Activities by Andrew Duffy
Keep pressing the "Get a new wave" button until you have a wave you are happy with. Then, play the simulation until you have a nice position versus time graph. Then, pause the simulation so that you have a photograph of the string as well as your position vs. time graph to work with. For each parameter below, figure out which of the two representations you need to determine the value of the parameter, and then find the value. You can check your answers as many times as you want.
The amplitude.
The wavelength.
The period.
The angular frequency.
The wave speed.
The maximum transverse speed of a single point on the string.
and now!! frequency // remix by lookang
and Phase lead of blue point x1 to green point x2 // remix by lookang
 waverepresentation.PNG (56.52 KB, 757x584 - viewed 470 times.) « Last Edit: May 03, 2011, 01:47:16 pm by lookang » Logged
lookang
Moderator
Hero Member

Offline

Posts: 1792

http://weelookang.blogspot.com

 « Embed this message Reply #1 on: April 19, 2011, 11:03:33 pm » posted from:Singapore,,Singapore

fixed the " with ' which is giving some error message in Ejs 4.3.3
re arrange to usual layout and color scheme
made the 2 x1 and x2 points drag-gable to improve usability
made feedback immediate, improve user experience
added a better code to code for phase lead in multiple of 2*Math.PI thanks to Hwang Fu-Kwun expert advise
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=2179.0

if (Math.abs(phi%(2*Math.PI)-enterphi%(2*Math.PI)) < 0.1){
phicorrect = " Yes";
phicorrectbackground = java.awt.Color.GREEN;
}
else {
phicorrect = " No";
phicorrectbackground = java.awt.Color.RED;

}

work in progress
done!
enjoy!

 « Last Edit: April 21, 2011, 04:51:33 pm by lookang » Logged
 Pages: [1]   Go Up
"There is nothing either good or bad, but thinking makes it so." ..."Shakespeare (154-1616, English dramatist and poet) "