NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
February 19, 2018, 01:19:08 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  
The softest thing overcomes the hardest thing in the universe. ...Lao Tzu (570-490 BC)
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1]   Go Down
  Print  
Author Topic: Free Fall modelling to understand the Event for ODE Evolution Page  (Read 8654 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1782


http://weelookang.blogspot.com


WWW
«
Embed this message
on: November 26, 2008, 12:56:37 pm » posted from:Singapore,,Singapore

Free Fall models a ball that is dropped near the surface of Earth. Newton's second law states that a force F produces an acceleration a that is proportional to the mass m of the falling object.
F = ma .

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!


* freefall.PNG (23.75 KB, 1024x738 - viewed 270 times.)
« Last Edit: August 03, 2009, 11:38:51 am by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1782


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #1 on: January 17, 2009, 12:58:08 pm » posted from:Singapore,,Singapore

Quote
from karzelsoze@hotmail.com January 17, 2009 7:56:22 AM SST


Hi
 
I have a Project about bouncing ball  and i am checking all information connected  with it
Can you send me this example code. İ am gonna so happy with  this code in java or C/c++
 
Gramercy!


the source code is in the FreeFallwee.xml (11.2 KB - downloaded 2 times.) xml file attached in the first post, in fact all my projects are open source creative commons attribute just like the prof hwang's

U should learn to use EJS from here http://www.um.es/fem/EjsWiki/index.php/Main/Webcasts.
« Last Edit: January 17, 2009, 01:19:16 pm by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1782


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #2 on: August 03, 2009, 11:24:15 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

A freely falling object is acted on by a constant downward gravitational force if we ignore air resistance. Because this gravitational force F is constant and because it is proportional to the mass of the falling object, all objects near Earth fall with the same constant downward acceleration g = 9.8 m/s2.  In the Free Fall model, the ball's speed is reduced by a constant factor at every floor collision.  All motion takes place in the vertical (y) direction to keep this first Ejs example as simple as possible.
References:
The Free Fall model is  a designed to teach Ejs modeling.  Right click within the simulation to examine this model in the Ejs modeling and authoring tool.  See:
"Modeling Physics with Easy Java Simulations" by Wolfgang Christian and Francisco Esquembre, The Physics Teacher, November 2007, 45 (Cool, pp. 475-480.
The Easy Java Simulations (EJS) manual can be downloaded from the ComPADRE Open Source Physics collection and from the Ejs website.
Note:
This simulation was created by Wolfgang Christian using the Easy Java Simulations (Ejs) modeling tool. You can examine and modify this simulation if you have Ejs installed by right-clicking within a plot and selecting "Open Ejs Model" from the pop-up menu.
Information about Ejs is available at: .

The Free Fall model uses 6 variables having their usual meaning.  The variable g is the acceleration new Earth's surface due to gravity in m/s2.  The coefficient of restitution is used to reduce the speed of the falling object at each bounce.
Numerical algorithms for solving second order differential equations, such as Newton's Second Law, usually require that the differential equation be rewritten as a system of first ordinary differential equations.  This is a straightforward process if we introduce a variable for each velocity component.  Because the ball's motion occurs only along the y (vertical) axis, we introduce the variable vy.  For the simple Free Fall example the differential equations for vertical position y and velocity vy can be written as:
dy/dt = vy dvy/dt =-9.8 .
Differential equations for position y and the velocity vy are entered on the Ejs Evolution page.

Modeling the bounce requires an Ejs event that is triggered when the ball passes through the table top. An Ejs event occurs when the event's zero condition becomes negative.  Because the table is located at y=0, we can use the y-position of the ball to trigger the event.

If the ball is below the floor and if the velocity is downward, the zero condition is negative and the event's action takes place.  Note that Ejs automatically determines the time of the event (to within the given tolerance) before applying the action. The time evolution will then continue unless the Stop at event box is selected.  In the Simple Free Fall model, the event's action diminishes the speed of the ball and causes the ball to move upward.


My contributions are
1. Event for ODE Evolution Page in EJS that is easier to modify
Code:
if (y<-0.5) return y; // change the value to check where to rebounce example y<1.0
 else
return 1;

2. panel for inputs of variables like vx and vy so that students can explore when if scenarios


source code
download the *.jar for using the applet on standalone without internet connection.
Logged
Pages: [1]   Go Up
  Print  
The softest thing overcomes the hardest thing in the universe. ...Lao Tzu (570-490 BC)
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Event for ODE Evolution Page in EJS
Questions related to EJS
lookang 6 7635 Last post November 27, 2008, 07:42:23 am
by lookang
Free Fall modelling with Friction force F = k*v
Collaborative Community of EJS
lookang 0 9021 Last post November 26, 2008, 01:13:20 pm
by lookang
Free Fall modelling with Friction force F = k*v and a plot of Energy vs time
Collaborative Community of EJS
lookang 0 5519 Last post November 26, 2008, 02:07:29 pm
by lookang
how to view the valuesofvariables declared inside for ODE Evolution Page in EJS?
Questions related to EJS
lookang 1 5218 Last post November 28, 2008, 11:03:57 am
by Fu-Kwun Hwang
Trajectory of free fall with different initial speed
Examples for beginner who want to learn EJS
Fu-Kwun Hwang 0 6384 Last post February 10, 2010, 04:24:03 pm
by Fu-Kwun Hwang
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 23 queries.since 2011/06/15