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

AI Thread Summary
The discussion centers on developing an algorithm to calculate the range of the Oerlikon 20 mm auto-cannon for a physics project. The suggested approach involves using the differential equation for projectile motion, incorporating air resistance, and employing the fourth order Runge-Kutta method for numerical solutions. Participants emphasize the importance of understanding the necessary mathematical concepts, such as differential equations and calculus, as well as programming skills for implementation. The need for clarity on the user's current educational level and knowledge base is highlighted to provide tailored guidance. Overall, the conversation aims to assist in creating a comprehensive algorithm for the cannon's range calculation.
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:
Hi there, im studying nanoscience at the university in Basel. Today I looked at the topic of intertial and non-inertial reference frames and the existence of fictitious forces. I understand that you call forces real in physics if they appear in interplay. Meaning that a force is real when there is the "actio" partner to the "reactio" partner. If this condition is not satisfied the force is not real. I also understand that if you specifically look at non-inertial reference frames you can...
This has been discussed many times on PF, and will likely come up again, so the video might come handy. Previous threads: https://www.physicsforums.com/threads/is-a-treadmill-incline-just-a-marketing-gimmick.937725/ https://www.physicsforums.com/threads/work-done-running-on-an-inclined-treadmill.927825/ https://www.physicsforums.com/threads/how-do-we-calculate-the-energy-we-used-to-do-something.1052162/
I have recently been really interested in the derivation of Hamiltons Principle. On my research I found that with the term ##m \cdot \frac{d}{dt} (\frac{dr}{dt} \cdot \delta r) = 0## (1) one may derivate ##\delta \int (T - V) dt = 0## (2). The derivation itself I understood quiet good, but what I don't understand is where the equation (1) came from, because in my research it was just given and not derived from anywhere. Does anybody know where (1) comes from or why from it the...
Back
Top