Download presentation
Presentation is loading. Please wait.
Published byPhoebe Lane Modified over 9 years ago
1
Graphical Display of a Physics Simulation Steven Oetjen TJHSST Computer Systems Lab 2006 - 2007
2
Purpose and Scope Display objects graphically and information about those objects numerically on a GUI Allow user set-up of scenarios Allow use of multiple types of objects particles springs ramps
3
Development Implement equations in several areas Kinematics Dynamics/Newton's Laws Conservation of Momentum Spring Force Gravitation Electrostatics
4
Development – Collision Detection Check if x coordinate between ends of ramp Check if y coordinate between bottom of ramp and desired center of projectile
5
Development – Integration Method Modified Simpson's Rule Stores previous two acceleration values Finds equation for parabola through points Integrates from 0 to t
6
Results – Kinematics
7
Results – Spring Force
8
Results Projectile-projectile and projectile-ramp collisions are detected and a velocity change occurs as a response. Projectiles correctly apply gravitational and Coulomb forces. Ramps correctly apply frictional force.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.