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:
The rope is tied into the person (the load of 200 pounds) and the rope goes up from the person to a fixed pulley and back down to his hands. He hauls the rope to suspend himself in the air. What is the mechanical advantage of the system? The person will indeed only have to lift half of his body weight (roughly 100 pounds) because he now lessened the load by that same amount. This APPEARS to be a 2:1 because he can hold himself with half the force, but my question is: is that mechanical...
Hello everyone, Consider the problem in which a car is told to travel at 30 km/h for L kilometers and then at 60 km/h for another L kilometers. Next, you are asked to determine the average speed. My question is: although we know that the average speed in this case is the harmonic mean of the two speeds, is it also possible to state that the average speed over this 2L-kilometer stretch can be obtained as a weighted average of the two speeds? Best regards, DaTario
Some physics textbook writer told me that Newton's first law applies only on bodies that feel no interactions at all. He said that if a body is on rest or moves in constant velocity, there is no external force acting on it. But I have heard another form of the law that says the net force acting on a body must be zero. This means there is interactions involved after all. So which one is correct?
Back
Top