Interactive Plotting: Physics of a Golf Ball in Air w/ Drag Force

  • Thread starter Thread starter mateomy
  • Start date Start date
  • Tags Tags
    Plotting
AI Thread Summary
The discussion centers on a project for a modeling course focused on simulating the physics of a golf ball's trajectory, including drag force. The user seeks to implement an interactive slider to adjust the initial angle and velocity of the ball, with the goal of displaying multiple projectile paths simultaneously. They express difficulty finding documentation on maintaining the initial plot while adjusting parameters for new simulations. Responses highlight that while programming flexibility exists, using Mathematica specifically presents unique challenges compared to other platforms like VPython. The conversation emphasizes the need for solutions tailored to Mathematica's capabilities for visualizing multiple trajectories.
mateomy
Messages
305
Reaction score
0
I'm doing a small project for a modelling course that is showing the physics of a golf ball going through the air, drag force included. Let's say I have an interactive slider that allows me to manipulate the initial angle and velocity (a pretty common interaction) of the ball before I hit a trigger that shows its path as a projectile through the air. Is there a way to keep the initial plot on the screen while I choose another set of parameters for the program to run. Say, I choose 45 degrees initially and then I want to show it against a 55 degree plot, is that possible? I can't find any documentation online.

Thanks.
 
Physics news on Phys.org
Well, you typically can do anything if you program it yourself, but that takes a bit of a learning curve. Have you heard of VPython?
 
Yeah, but I forgot to mention that this is only using Mathematica. I know that makes a huge difference.
 
Back
Top