Author Topic: Ejs open source kinematics java applet displacement velocity acceleration graphs  (Read 45581 times)

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
http://home.phy.ntnu.edu.tw/~lookang/EJS_4.1_090115/weexvav17rebuild_Simulation.html

Ejs open source kinematics java applet displacement velocity acceleration graphs
Kinematics of 1 D uniformly accelerated motion


run on 3.47
good reference:
http://www.ngsir.netfirms.com/englishhtm/Kinematics.htm

http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=186.0
a good source


seems to make duplicate posts of the same java applet http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=710.msg2578#msg2578

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!
« Last Edit: December 22, 2010, 02:53:57 pm by lookang »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Kinematics of 1 D uniformly accelerated motion
« Reply #1 on: July 03, 2008, 05:39:03 pm »
working on this

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Ejs open source java applet for increasing decreasing displacement at increasing decreasing rates.
Ejs open source kinematics java applet displacement velocity acceleration graphs
Kinematics
Illustrate increasing/decreasing displacement at increasing/decreasing rates.
http://home.phy.ntnu.edu.tw/~lookang/EJS/ejs_group.files/weexvav12.app/weexvav12.html
reference:
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=186.0
« Last Edit: September 22, 2009, 10:56:16 pm by lookang »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Designed by Fu-Kwun Hwang http://www.phy.ntnu.edu.tw/ntnujava/ Original Source code by Fu-Kwun Hwang http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=186.0 Derived work by Wee Loo Kang under creative commons http://creativecommons.org/licenses/by/2.5/tw/deed.en

Kinematics is the science of describing the motion of objects using words, diagrams, numbers, graphs, and equations. The goal of any study of kinematics is to develop sophisticated mental models which serve to describe (and ultimately, explain) the motion of real-world objects. This applet has a real world side view on an object (grey circle) at the top with physical quantities like Displacement, Velocity and Acceleration. (color coded for ease of association). The middle has 3 graphs each showing real time relationship from left to right, they are:
1. Motion with Displacement vs. Time Graph
hints:
Meaning of Shape of D-t Graph
Meaning of Slope of D-t Graph
2. Motion with Velocity vs. Time Graph
hints:
Meaning of Shape of v-t Graph
Meaning of Slope of v-t Graph
Meaning of Area on a v-t Graph
3. Motion with Acceleration vs. Time Graph
hints:
Meaning of Shape of a-t Graph
Meaning of Area on a a-t Graph

Notice that there are scaffolds text to describe the motion instantaneously for learning of physics of motion, to heighten the support to learners to understand the relational meaning of the 3 graphs.
All the graphs are dynamically calculated using equations of motion dx/dt = v and dv/dt = a. (refer to the Model - Evolution Page & Custom Function getV for the details of implementation of the moving points on the v-t graph) It also has a dropdown menu bar for common motions to support ease of exploration and sense making of words to the motion it describes for high school or secondary school learners.
at_rest;
uniform_motion_=_10;
uniform_motion_=_20;
uniform_motion_=_-10;
uniform_motion_=_-20;
simple_acceleration;
simple_deceleration;
negative_acceleration;
positive_deceleration;
edit_v-t_graph"

The slow checkbox allows for slowing down the simulation for higher velocities examples.

What is http://creativecommons.org/licenses/by/2.5/tw/deed.en
You are free:
to Share — to copy, distribute and transmit the work
to Remix — to adapt the work

Under the following conditions:
Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
Attribute this work:
What does "Attribute this work" mean?
The page you came from contained embedded licensing metadata, including how the creator wishes to be attributed for re-use. You can use the HTML here to cite the work. Doing so will also include metadata on your page so that others can find the original work as well.
 
For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.
Any of the above conditions can be waived if you get permission from the copyright holder.
Nothing in this license impairs or restricts the author's moral rights.




Previously
A script on the page "Illustrate increasing/decreasing displacement at increasing/decreasing rates." (http://www.phy.ntnu.edu.tw/ntnujava/index.php?PHPSESSID=92b971004d55f1f0a04d1efc0a9f2d17&topic=710.msg2589#new) is making Safari unresponsive. Do you want to continue running the script, or stop it?

what is wrong?

Mac OSX cannot load failed
Windows XP can load properly

strange? any thoughts?

need time to figure out why


source code
download the *.jar for using the applet on standalone without internet connection.
« Last Edit: August 21, 2009, 11:31:13 am by lookang »

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
I was not able to view the applet you have posted (the first message). May be that is the reason why the Safari did not response.

There might be other reason to cause browser unresponsive. e.g.
If I viewed java applet with Firefox 2 with JDK 1.6.0_06 , the browser will hangup (when java embed in the html).
You can find out similar report at http://forum.java.sun.com/thread.jspa?messageID=10221200

Now,  I switch to Foreox 3 and install latest JDK1.6.0_07 and it work just fine when I view other topic.
May be you can try to update to latest java run time.

 

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
I installed Safari on my computer and the above simulation was working fine.
This post is created when I was using Safari. The interface look nice!
:-)

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
i think i will revert to a lower version of EJS and recompile the applet.

made some changes :)

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
any idea why the new applet at the very top cannot load ?

i recompile the output.
uploaded to a separate folder
rename the codebase to "http://home.phy.ntnu.edu.tw/~lookang/EJS/ejs_group.files/weexvav12.app/"



code="weexvav12.weexvav12Applet.class"codebase="http://home.phy.ntnu.edu.tw/~lookang/EJS/ejs_group.files/weexvav12.app/"archive="common.jar,weexvav12.jar,"name="weexvav12"id="weexvav12"width="800"height="489"

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
I can view the applet in the first message body very well.
It run nicely. So I do not know what is the problem.

If you are using Firefox, Please check out "error console" and let me know what was shown their.

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
i see what you mean now, it load very slowly, i waiting for 5 minutes or so before the applet comes alive!

thanks! there is no problem now :)

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Illustrate increasing/decreasing displacement at increasing/decreasing rates.
« Reply #10 on: September 09, 2008, 03:35:18 pm »
May be you did not have enough RAM or there are too many processes running at the same time.
I did not find any delay with my browser/computer.
Java need a lot of RAM if the program is for many dynamic objects.

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Illustrate increasing/decreasing displacement at increasing/decreasing rates
« Reply #11 on: September 10, 2008, 11:26:06 pm »
LOL... you are right, it worked on windows 2 Gig ram (home), beautifully.

the other machine has windows 1 GB ram is slow until like not working when loading this page.

the joke is it was 512 Mb, until i added another 512 Mb thanks to a "friend".
 

i learn alot from you....thanks!
 
« Last Edit: September 11, 2008, 11:04:06 am by lookang »

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Illustrate increasing/decreasing displacement at increasing/decreasing rates.
« Reply #12 on: September 10, 2008, 11:48:24 pm »
RAM is relative cheaper. I would suggest you upgrad your RAM. Otherwise, you will waste a lot of time due to that.

I would rather has less powerful CPU but I want to have more RAM.
A high power CPU with less RAM is similar to a high speed car with small gas tank.
If you need to add gas every 3km, there is no need to have a high powered engine. :-)

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Illustrate increasing/decreasing displacement at increasing/decreasing rates.
« Reply #13 on: September 11, 2008, 10:44:20 am »
my home computer windows OS is P4 3.0 GHZ with 2 GB ram, which i upgraded another 1 GB ram  recently :)

my 8 am to 6 pm computer is also windows OS is P4 3.0 GHZ with 1 GB ram, which i can't increase the ram by myself:(

i will remember to share that joke around LOL "If you need to add gas every 3km, there is no need to have a high powered engine. :-)"

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Illustrate increasing/decreasing displacement at increasing/decreasing rates.
« Reply #14 on: September 11, 2008, 09:24:26 pm »
strange,MAC OSX seems to have problem loading using both firefox 3 and safari. Any thoughts ? could it be the Java version of 1.5 instead of 1.6 needed ?

Java Plug-in 1.5.0
Using JRE version 1.5.0_13 Java HotSpot(TM) Client VM
User home directory = /Users/11
----------------------------------------------------
c:  clear console window
f:  finalize objects on finalization queue
g:  garbage collect
h:  display this help message
l:  dump classloader list
m:  print memory usage
o:  trigger logging
p:  reload proxy configuration
q:  hide console
r:  reload policy configuration
s:  dump system and deployment properties
t:  dump thread list
v:  dump thread stack
x:  clear classloader cache
0-5: set trace level to
----------------------------------------------------
« Last Edit: September 11, 2008, 09:27:34 pm by lookang »