Author Topic: Spring Force and SHM  (Read 124182 times)

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Spring Force and SHM
« on: January 29, 2004, 04:16:16 pm »
Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME


Spring Force and SHM


    Let us cosider the force exerted on a mass by a spring attached to it.

    This force take the form F = - k X

      Where X measures the displacement of the mass from an equilibrium
      position;

      k is a constant characteristic of the particular spring known as spring constant.


    This force law is known as Hooke's law.

    This Java applet let you familar with this kind of relation and simple harmonic motion¡C







How to play:

There is a spring on the table, a string is connected to the spring
over a light frictionless pulley.

You can attach mass/blocks to the spring :

  1. Move the mouse button with the blocks

  2. The color of those blocks above the mouse pointer will turn black.

  3. Click the mouse button to attach those black blocks to the spring.

  4. The mass of those attached blocks will be shown near another spring (to
    the right).


The spring will relax to its equilibrium position.

You can detach mass/blocks from the spring


  1. Move the mouse button within the region of the attached blocks.

  2. The color of those blocks below the mouse pointer will turn black.

  3. Click the left mouse button to dettach those black blocks to the spring.

  4. If you click the right mouse button and drag it up/down,


  5. the force exerted on the spring will not balance the weight of the mass.

    It will starts to oscillate in simple harmonic oscillation (SHM)


Press the mouse button to suspend the animation, click it again to resume.

Press Stop button to reset the spring back to equilibrium position.

Press Reset button to reset parameters to default values.







    X-axisY-axis
    blue dots displacement Force
    red dotsdisplacement Velocity



Exercises¡G
  1. Find out the spring-constant?

  2. Green dot is the equilibrium position. How to determine the smpiltude of
    the oscillation?

  3. Measure the peroid of the oscillation. What is the relation between mass
    and the period?

  4. What else did you find out?




If a spring with a mass attached to it is slightly stretched or compressed
and then let loose,


Many elastic systems (building, flagpoles, airplane wings, etc) behave
in a very similar fashion.


Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Spring Force and SHM
« Reply #1 on: September 27, 2009, 11:12:57 pm »
This is a EJS version of the above applet!

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!

ahmedelshfie

  • Hero Member
  • Posts: 930
Re: Spring Force and SHM
« Reply #2 on: June 24, 2010, 08:00:58 pm »
Error in XML source code prof
EJS console appear message: found  : boolean
required: int
  public int _method_for_shape2_enabledPosition () {  return _isPaused(); }
  ^
1 error
Compilation produced an error!
Could you fix please prof
Thanks

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Spring Force and SHM
« Reply #3 on: June 24, 2010, 09:52:56 pm »
I do understand why you have such error. I can not re-produce the same error.
It is working fine with my EJS version 4.2

It should be
public boolean _method_for_shape2_enabledPosition () {  return _isPaused(); }
instead of
public int _method_for_shape2_enabledPosition () {  return _isPaused(); }

Please try to quit your EJS. re-run it and comiple the same file again.

ahmedelshfie

  • Hero Member
  • Posts: 930
Re: Spring Force and SHM
« Reply #4 on: June 25, 2010, 12:10:38 am »
May prof problem because I'm use another version is EJS_4.3.0
So i will test by version 4.2.7 but i have ask :
I can setup two versions from EJS in my PC and work without probelms ?
« Last Edit: June 25, 2010, 12:12:28 am by ahmedelshfie »

ahmedelshfie

  • Hero Member
  • Posts: 930
Re: Spring Force and SHM
« Reply #5 on: June 25, 2010, 12:19:31 am »
Thanks prof,,wrong was from me when i use version 4.2.7 simulation Work very well.
Now no have problems  :D

Richard789

  • Newbie
  • Posts: -4
Re: Spring Force and SHM
« Reply #6 on: February 15, 2016, 02:17:10 pm »
Ya good one..Liked it.