Simulation Projectile Motion
Full Version 1.0 - © 2002 Steffen Maus und Daniel Roth - All rights reserved!
A projectile is shot with the initial angle alpha and the initial velocity v0. During flight the projectile is creating track marks.
By moving the mouse over the reference system, the passed time and the time between two track marks can be displayed.
Parameter changes have to be confirmed by hitting the ENTER key.
- The background of the animation and the appearence of the projectile can be changed by editing the ".gif" bitmap files in the directory.
The following methods are available:
make user interface elements visible or invisible:
state = "yes": make user interface element visible
state = "no": make user interface element invisible
element = "V0Box": text field for initial velocity input
element = "AlphaBox": text field for initial angle input
element = "Start": button for starting/stopping simulation
element = "Reset": button for reseting simulation
element = "tOutput": overlay display of coordinates, time and frequency
element = "trackmarks": display of trackmarks during flight of projectile
element = "setup": display of arrow representing initial velocity during setup
set initial velocity of projectile (default value = 70)
set initial angle of projectile (default value = 50)
set initial position of projecitle (default value (x,y)= (0,0))
set acceleration due to gravity (default value = 9.81 m/s²)
set track mark every "value" (Integer!) simulation steps (default value = 5)
set time step for numerical caluclation (default value = 0.1s)
get actual x-position of projectile (value type is double and not Integer)
get actual y-position of projectile (value type is double and not Integer)
get actual x-component of momentum of projectile (value type is double and not Integer)
get actual y-component of momentum of projectile (value type is double and not Integer)
get actual time (value type is double and not Integer