Finding Range of Projectile Under Air Resistance

AI Thread Summary
The discussion focuses on the challenges of calculating the range of a projectile under air resistance using Matlab. The user has successfully plotted the projectile's path by solving second-order differential equations but struggles to derive an equation for the range due to the complexity introduced by air resistance. It is noted that analytical solutions for time-of-flight and range are not feasible, necessitating numerical methods. Suggestions include solving the equations in smaller steps or using numerical techniques available in Matlab to find the root corresponding to when the vertical height is zero. The conversation emphasizes the need for a more manageable model or potential use of a symbolic toolbox for a quasi-analytic solution.
sosolid
Messages
4
Reaction score
0
I have made a program in Matlab to plot the path of a projectile with air resistance, however, I am lost as to how to obtain an equation for the range. I have found my displacements in the x and y direction by solving second order differential equations, it would be far too difficult to set the y equation to zero and hence solve for the time. Basically I want a way of obtaining a formula to show the maximum distance traveled by the projectile in the x direction. If the projectile did not have air resistance then this would be easy as one would simply have to set the equation for vertical height to zero and solve for the time, this time is the total time of flight. However, when considering air resistance I am just finding it too difficult.
 
Physics news on Phys.org
sosolid said:
I have made a program in Matlab to plot the path of a projectile with air resistance, however, I am lost as to how to obtain an equation for the range. I have found my displacements in the x and y direction by solving second order differential equations, it would be far too difficult to set the y equation to zero and hence solve for the time. Basically I want a way of obtaining a formula to show the maximum distance traveled by the projectile in the x direction. If the projectile did not have air resistance then this would be easy as one would simply have to set the equation for vertical height to zero and solve for the time, this time is the total time of flight. However, when considering air resistance I am just finding it too difficult.

Maybe I'm missing something here.

You have already seen that to solve for x and y, you have to solve the differential equation numerically, i.e. there are no analytical solutions to each of the coordinate position. This tells you that you also can't solve for the time-of-flight analytically, and that means that you also have the same issue with solving for the range.

So unless you want to set up 2 coupled differential equations, the only way I can see in doing this is to solve for the range separately using your original equation that solved for x and y, but doing it in smaller steps until you narrow down the solution for x corresponding to y~0. There are several numerical techniques that may be available in Matlab to find such a root.

Zz.
 
Is air resistance proportional to the velocity?
 
Hi,
Well, if you have a symbolic toolbox, you might try to get a quasi-analytic solution.
Or at least try to reduce your model to something more basic.
Smoochie
 
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