jkj
jkj

Reputation: 2611

Calculating ballistic trajectory with changing conditions during flight

There is a good compilation of trajectory math in wikipedia.

But I need to calculate a trajectory that has non uniform conditions. E.g. the wind speed changes above certain altitude. (Cannot be modeled easily.)

Are there good languages / frameworks for handling symbolic math?

Upvotes: 2

Views: 1880

Answers (2)

Matteo Italia
Matteo Italia

Reputation: 126787

I'd suggest an "improved" first approach: solve the differential equations of motion numerically with e.g. the classic Runge-Kutta method.

The nice part is that with these algorithms, once you correctly set up your framework, you just have to write an "evaluate" function for the motion law (which can be almost anything - you don't need to restrict to particular forces), and everything should work fine (as far as the integration step is adequate).

Upvotes: 2

Beta
Beta

Reputation: 99094

If the conditions really are cleanly divided into two domains like that, then the second approach is probably best. The first approach is both imprecise and overkill, and the third, if done right, will wind up being equivalent to the second.

Upvotes: 1

Related Questions