phetsims / projectile-motion

"Projectile Motion" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
15 stars 13 forks source link

Projectile velocity and acceleration being stored as zero for final data point in trajectory #310

Closed matthew-blackman closed 1 year ago

matthew-blackman commented 1 year ago

Currently the sim is saving the final data point on each Trajectory with a velocity and acceleration of zero. This does not correctly represent the motion on the parabolic path, where the final velocity and acceleration should be the moment of impact. This could present issues if the DataProbe were ever to display velocity or acceleration

https://github.com/phetsims/projectile-motion/blob/57e46509115aad2266290118c8da2a9608281133/js/common/model/Trajectory.js#L347-L349

Note: Students often try to say (incorrectly) that the final velocity of a projectile is zero because it hits the ground, so this issue would feed into that confusion if left unchanged.

matthew-blackman commented 1 year ago

Final position looks good. Closing this issue.