NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
October 21, 2017, 08:30:12 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
"Progress, therfore, is not and accident,¡K" ..."Herbert Spencer(1820-1903, British philosopher)"
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
  Print  
Author Topic: Lesson 1: simple harmonic motion in 1D  (Read 27468 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
on: March 16, 2009, 11:21:07 am » posted from:Taipei,T\'ai-pei,Taiwan

This is a tutorial for simple harmonic motion(SHM) in 1D.
The equation for the SHM is Fx=-k*x;
EJS did not know how to solve the above equation. But it can solve first order differential equation.
The above is a particle move in x direction with velocity v, and it's velocity will change with time due to the above force (give acceleration ax).
So
d(vx)/dt= -k*x/m; // this equation tell EJS how the velocity should change with time.

dx/dt=vx; // this equation tell EJS how the x-coordinate change with time.

Movie is a snap shot of image at different time step. Simulation calculate the variable value at different time step and show it on the screen with GUI elements.
With the above two equations: EJS know how x/vx will change with time. So it will update it's new value and draw view elements according to your design.

The following is the simulation and the swf movie. Please download EJS xml source and modify the model to change it into a 2D SHM motion.

Hints: Change the resizable property for the arrow so that you can change it's size with your mouse when the simulation is in pause state.

Tutorial SWF file
http://www.phy.ntnu.edu.tw/ntnujava/swf/shmx.swf

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!
Logged
rubizoobi
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #1 on: February 17, 2010, 02:32:43 pm » posted from:Ahmadabad,Gujarat,India

I just saw the Tutorial and it was very informative,
so if you have some more tutorials than please
share it with us so that we can also get to know
about your project.
« Last Edit: February 17, 2010, 02:34:28 pm by rubizoobi » Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #2 on: February 17, 2010, 03:07:56 pm » posted from:Taipei,T\'ai-pei,Taiwan

Please check out EJS tutorial (How to create simulation with EJS) to find other tutorials.

There are many swf tutorials in Chinese can be found at http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=656.0

It is fine if you do not understand Chinese characters, but you can get the ideals how it works.


If you are really interested in EJS, try to use it. And you are welcomed to post any questions related to it.
Post what you want to do and attach the xml file. And I will try to help you solve it (create the simulation you want).
Logged
corartum
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #3 on: January 12, 2012, 02:46:31 am » posted from:Parañaque,Rizal,Philippines

Well explained tutorial. Smiley I've been looking for this for a while. Thanks. Smiley
Logged
aminbahgat
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #4 on: October 03, 2015, 11:52:17 pm » posted from:BANI SUWAYF,BANI SUWAYF,EGYPT

i new member here thanks for the lesson Wink
Logged
Pages: [1]   Go Up
  Print  
"Progress, therfore, is not and accident,¡K" ..."Herbert Spencer(1820-1903, British philosopher)"
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
relations between simple harmonic motion and circular motion
Kinematics
Fu-Kwun Hwang 2 36788 Last post April 15, 2016, 11:21:50 pm
by lookang
about Simple harmonic motion...
Question related to Physics or physics related simulation
kennethkyho 4 14207 Last post December 16, 2008, 11:50:28 pm
by Fu-Kwun Hwang
relations between simple harmonic motion and circular motion
kinematics
ahmedelshfie 2 10644 Last post September 27, 2010, 05:40:33 pm
by ahmedelshfie
relation between Circular motion and Simple Harmonic Motion (SHM)
Dynamics
Fu-Kwun Hwang 0 6974 Last post February 27, 2011, 10:02:24 am
by Fu-Kwun Hwang
relation between Circular motion and Simple Harmonic Motion (SHM)
dynamics
ahmedelshfie 0 8406 Last post May 20, 2011, 11:31:09 pm
by ahmedelshfie
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.054 seconds with 24 queries.since 2011/06/15