Needing help with projectile trajectories

Click For Summary
The discussion focuses on developing Java classes for simulating projectile trajectories with air resistance, highlighting the user's struggle with the underlying physics concepts. Key points include the need to set up a differential equation of motion in two dimensions, incorporating gravity and air resistance proportional to velocity squared. It is noted that while there is no analytical solution for the complete model, a simplified version can yield accurate results for small launch angles. The user seeks clarification on the relevant formulas and additional resources for similar projects. Assistance with derivations is offered, emphasizing the collaborative nature of the inquiry.
Babillon
Messages
1
Reaction score
0
I've been working on making a package of Java classes to use in developing programs/games using actual physics instead of 'best guess'.

The problem is I'm pretty rusty with the whole subject, and am lost trying to get a formula for projectile trajectory with air resistance taken into account. I found this, https://www.physicsforums.com/showthread.php?t=27331&page=1&pp=15&highlight=projectile+trajectory, set of formulas which seem to have helped the person who asked the same question as me, but the thing is, it's completely lost on me.

If anyone could explain the formulas mean and how they work I'd be very appreciative.

Also, if anyone knows of any other resources or projects similar to what I'm working on, I'd very much like a point in that direction.

Thanks!
 
Physics news on Phys.org
If you google for 'external ballistics' you'll find a range of stuff, including some examples in Fortran and C.
 
You need to set up the differential equation of motion in two dimensions. In a simple model there are only two forces involved: gravity, which is constant and air resistance, which is proportional to velocity squared. There is no analytical solution, therefore you have to integrate the equations numerically. If you restrict the air resistance to only the x-direction (that is, the horizontal one), an analytical solution can be found which is pretty accurate for small launch angles. If you need help with doing the derivations, just ask.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
22K
Replies
3
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K
Replies
5
Views
5K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
8
Views
2K