Needing help with projectile trajectories

  • Context: Undergrad 
  • Thread starter Thread starter Babillon
  • Start date Start date
  • Tags Tags
    Projectile Trajectories
Click For Summary
SUMMARY

The discussion focuses on developing Java classes for simulating projectile trajectories with air resistance. The user seeks assistance in understanding the relevant formulas, particularly those related to external ballistics. Key concepts include setting up the differential equations of motion in two dimensions, considering gravity and air resistance proportional to velocity squared. The user is directed to resources that provide examples in Fortran and C, and is encouraged to seek help with derivations if needed.

PREREQUISITES
  • Understanding of differential equations
  • Familiarity with projectile motion concepts
  • Basic knowledge of Java programming
  • Awareness of numerical integration techniques
NEXT STEPS
  • Research "differential equations of motion in two dimensions"
  • Explore "numerical integration methods for physics simulations"
  • Study "external ballistics and its applications"
  • Examine existing projects in "Fortran and C for projectile motion"
USEFUL FOR

Game developers, physics enthusiasts, and programmers interested in implementing realistic projectile motion simulations in their applications.

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
3K
  • · Replies 36 ·
2
Replies
36
Views
23K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
5
Views
5K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K