Simulating Thrown Sphere: Find X,Y Positions & Add Drag Force

  • Context: Undergrad 
  • Thread starter Thread starter Mgccl
  • Start date Start date
  • Tags Tags
    Sphere
Click For Summary
SUMMARY

This discussion focuses on simulating the trajectory of a thrown sphere while incorporating drag force into the calculations. The position equations provided are x(t) = vt cos(theta) and y(t) = vt sin(theta) - (gt^2)/2, where v is the initial velocity, theta is the launch angle, t is time, and g is the acceleration due to gravity. To account for drag, it is recommended to use Euler integration, which allows for the calculation of forces acting on the sphere each frame, adjusting velocity and position accordingly. Drag should be modeled as a force that is proportional to the sphere's velocity and acts in the opposite direction of motion.

PREREQUISITES
  • Understanding of basic physics concepts such as velocity, acceleration, and gravity.
  • Familiarity with mathematical equations for projectile motion.
  • Knowledge of numerical methods, specifically Euler integration.
  • Experience with programming for simulations, particularly in a physics engine context.
NEXT STEPS
  • Research "Euler integration techniques for physics simulations".
  • Explore "drag force calculations in projectile motion".
  • Learn about "advanced numerical methods for simulating motion".
  • Investigate "implementing physics engines in programming languages".
USEFUL FOR

Physics enthusiasts, game developers, and anyone interested in creating realistic simulations of projectile motion with drag effects.

Mgccl
Messages
1
Reaction score
0
I'm trying to simulate a sphere got thown in the air
I have find the way of knowing x,y positioning of the sphere though this equation:
x(t) = vt cos(theta)
y(t) = vt sin(theta) - (gt^2)/2
Where v is the initial velocity, theta is the angle, t is the time and g is the gravity.

But this does not take into account of the drag, what if there is drag?
suppose I know the force of drag, where should I add in the 2 functions above?
 
Physics news on Phys.org
Drag acts in the (opposite) direction of the object, and is a function of the speed.
 
Are you simulating this on a computer? If so then the easier and more flexible approach would be to use integration. You could start with Euler intergration (google it). You basically calculate the forces on the ball each frame, use that to get the velocity and use that to change the position of the ball. YOu can easily add drag by adding a force proportional to the velocity.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 17 ·
Replies
17
Views
4K