Author Topic: Ejs Open Source Projectile Motion with Drag Java Applet  (Read 33358 times)

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Ejs Open Source Projectile Motion with Drag Java Applet
« on: September 15, 2008, 03:21:01 pm »
This applet can do almost anything, Projectile Motion with resistance coefficient drag of a projectile
Open Source Creative Commons Attribute Ejs Projectile Java Applet by lookang
inquiry learning environment.

Best Projectile Applet by lookang best projectile applet best java projectile applet best physics projectile applet
http://iwant2study.org/ospsg/index.php/interactive-resources/physics/02-newtonian-mechanics/01-kinematics/240-projectiley

idea from  & interactive physics & 8 years of interaction with students in Yishun Junior College (singapore)
Date : May 2007

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 23, 2015, 02:35:33 pm by lookang »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
« Last Edit: September 20, 2011, 10:40:46 am by lookang »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Best Most Powerful Projectile Java Applet by lookang
« Reply #2 on: November 05, 2008, 02:59:31 pm »
source code
download the *.jar for using the applet on standalone without internet connection.


some known bugs,

text field fail to load in jar


some good features to have

now need to key in velocity u and angle of launch alpha and once initialize, the applet remembers the values making it easier to explore and use the applet. bad thing is now the starting is 0 or blank or empty, so newbies will be wondering what is wrong.

in 23 added event handlers to put the simulation back to when instant y = yground

replaced all text field into label since the EJS 4.1 Jan 2009 version does not support display of text field

redesigned with slider now instead of input field for better usability
« Last Edit: December 11, 2009, 04:44:02 pm by lookang »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Ejs Open Source Creative Commons Attribute Projectile motion Java Applet
« Reply #3 on: September 22, 2009, 04:37:54 pm »
A youtube video made to spread the news of learning by doing & exploring sense making physics.



Music is audio swapped by Youtube in built service. cool Grin I am assuming Youtube asked for permission already to use the music for youtube users.

I believe this is applicable to me.
   * * Tell me. I may not get it, I'm sure to forget it.
   * * Show me. I may get it, I'll remember it for a little while.
   * * Have me do it. I'll understand it, it may stick for awhile.
« Last Edit: June 15, 2010, 09:13:51 am by lookang »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Ejs Open Source Creative Commons Attribute Projectile motion Java Applet
« Reply #4 on: September 26, 2009, 03:18:58 am »
found http://www.compadre.org/OSP/items/detail.cfm?ID=7299&S=7

Ejs Intro 2DMotionLab Model
written by Anne Cox, Wolfgang Christian, and Mario Belloni
The Introductory Physics 2D (Projectile) Motion Lab program asks students to develop a model for a ball with projectile motion. It is distributed as a ready-to-run (compiled) Java archive. Double-clicking the ejs_intro_2DMotionLab.jar file will run the program if Java is installed. In order to modify this simulation (and see how it is designed), if you have Ejs installed, you can right-click within the simulation window and select Open Ejs Model from the pop-up menu. Information about Ejs (Easy Java Simulations) is available at: http://www.um.es/fem/Ejs/.

This Ejs Intro 2DMotionLab Model simulation is a template for students to input their own equations to model the physics of Ejs Intro 2DMotionLab Model.
I like it 2 :)

http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=623.0
Projectile motion with equations by Fu-Kwun Hwang
Like! equations, input fields, autoscale codes for the view
« Last Edit: April 12, 2010, 09:47:31 pm by lookang »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web

This is my second applet that i made.
1. spent a lot of effort trying to get it to be the best inquiry learning environment for projectile motion
14 june 2010
2 remove the "" from the hints to remove the compilation error
3 made the width = 600 for the http://sgeducation.blogspot.com/2010/06/ejs-open-source-creative-commons.html

ahmedelshfie

  • Hero Member
  • Posts: 930
Wonderful,, now is very good
I'm imagine it was hard work but i see now excllent simulation
By the way i modified layout of simulation and post too on Ahmed's contribution
And of course i will translate to portages
Wonderful simulation :)
« Last Edit: June 14, 2010, 09:35:38 pm by ahmedelshfie »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Thanks Ahmed!
now my projectile motion applet lives on in variance forms thanks to you :)

I still have some ideas about the improvements to made.
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=623.0 has a very good design for projectile motion too.
If time permits i will combine the good features into mine! U want to try adding them? let me know

ahmedelshfie

  • Hero Member
  • Posts: 930
Of course i would it. with pleasure :)
I believe that projects develop by EJS need to improve interface for we have the most beautiful layout
And this guide us to improve projects no only from side of layout but also from side of physics
I mean give us more ideas.
« Last Edit: June 15, 2010, 07:20:50 pm by ahmedelshfie »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
I start a new project and u see how u can add in.
I try to find time to combine later tonight :-)

ahmedelshfie

  • Hero Member
  • Posts: 930
Very well is a good idea I'm waiting :o

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Ejs Open Source Projectile Motion with Drag Java Applet
« Reply #11 on: August 31, 2010, 06:18:15 pm »
changes made after 30 August 2010

add
1 http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1832.0 another Fair = k*v + k2*v^2 to allow exploration of the v^2 model
2 add of the projectile trail
3 made all graphs Active _isPlaying so that the graphs are not connected is not active
4 add range groundx= -vxinit/g*(vyinit+Math.sqrt((vyinit)*(vyinit)+2*g*(yground))); // http://en.wikipedia.org/wiki/Trajectory_of_a_projectile
5 maximum height = - vyinit*vyinit/(2*g); //http://en.wikipedia.org/wiki/Trajectory
6 time of flight tend = groundx/vxinit; //http://en.wikipedia.org/wiki/Trajectory
7 set ball to always same size to the view of the applet
8 // screen view so that it increases if need
if(x < xmin ) xmin*=1.2;
if(x > xmax) xmax*=1.2;
if(y < ymin ) ymin*=1.2;
if(y > ymax) ymax*=1.2;
20 March 2011
added better range for ymax, xmax
took from up and down applet
20 September 2011
remove all the closet==true for the sliders for web deploy to work
saved as another name for the jar to load properly
dialog is a panel and visible ==false
« Last Edit: September 20, 2011, 01:08:06 pm by lookang »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Ejs Open Source Projectile Motion with Drag Java Applet
« Reply #12 on: September 09, 2010, 05:52:01 pm »
updated with better design :)

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Ejs Open Source Projectile Motion with Drag Java Applet
« Reply #13 on: January 07, 2011, 08:41:56 am »
http://www.geogebra.org/en/upload/files/english/lewws/basketballsimulation_counterspeed_simulationspeed_updated1r.html
Simulation of BasketBall Throw by Lew W. S., Created with GeoGebra
Like: Context of a basketball game