Developing an Algorithm for Calculating Range of Oerlikon 20 mm Auto-Cannon

Click For Summary
SUMMARY

The discussion focuses on developing an algorithm to calculate the range of the Oerlikon 20 mm auto-cannon. The recommended approach involves using the differential equation for projectile motion, incorporating air resistance, and employing the fourth order Runge-Kutta algorithm for numerical solutions. Participants emphasize the importance of understanding basic calculus and differential equations, as well as programming skills or proficiency in spreadsheet software for complex calculations. The conversation highlights the need for clarity on the user's educational background to tailor the guidance effectively.

PREREQUISITES
  • Understanding of differential equations
  • Knowledge of basic calculus
  • Familiarity with the fourth order Runge-Kutta algorithm
  • Proficiency in programming or spreadsheet software for numerical calculations
NEXT STEPS
  • Research differential equations in the context of projectile motion
  • Learn the fourth order Runge-Kutta algorithm for numerical analysis
  • Explore air resistance effects on projectile trajectories
  • Practice programming simulations or using spreadsheets for complex calculations
USEFUL FOR

Students in physics or engineering, aspiring programmers, and anyone involved in simulating projectile motion or developing algorithms for military applications.

Mikomi
Messages
1
Reaction score
0
I've been assigned a relatively funky physics project, and the process of writing the algorithm for said project has completely stumped me.

I have chosen to research the Oerlikon 20 mm auto-cannon, and have done all of my research and am at the point where I am supposed to write an algorithm.

Per the worksheet: "Develop an algorithm to calculate the range of the cannon based on variables you, as the cannoneer, control. Show all work for your derivation of the algorithm."

If anybody could send me in a general direction, I would be much obliged. Thanks so much! :3
 
Physics news on Phys.org
How much detail are you looking at simulating?
 
If it were me, I would start with the differential equation for projectile motion including air resistance, and use something like the fourth order Runge-Kutta algorithm to solve it numerically for a given launch angle, speed, and drag coefficient. Then calculate the trajectories for various combinations of launch angle and speed, and construct a table.

Of course, I have no idea whether this would be appropriate for you to try, because I don't know if you've studied differential equations or even basic calculus, or how much physics you've studied. And for the Runge-Kutta algorithm you need to know some computer programming or at least how to use a spreadsheet for complex numerical calculations.

So maybe you'd better give us some idea of what level school you're in, and where you're starting from as far as math and physics knowledge is concerned.
 
Last edited:

Similar threads

  • · Replies 35 ·
2
Replies
35
Views
8K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
29
Views
6K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K