- #1
Shruf
- 2
- 0
Hi, so I am trying to model the path of a tennis ball when serving. I already have the model without air resistance, but now I'm getting into differential equations with the air resistance. I obtained two differential equations for acceleration that i think are correct, but I'm not sure where to go from here exactly. It is in two dimensions. What I want to find is what angle the ball must be hit at to travel a set distance.
So far these are what i have:
equation 1: m[itex]\stackrel{d^{2}x}{dt^{2}}[/itex] = -k [itex]\stackrel{dx}{dt}[/itex] [itex]\sqrt{\stackrel{dx}{dt}^{2}+\stackrel{dy}{dt}^{2}}[/itex]
equation 2: m[itex]\stackrel{d^{2}y}{dt^{2}}[/itex] = k [itex]\stackrel{dy}{dt}[/itex] [itex]\sqrt{\stackrel{dx}{dt}^{2}+\stackrel{dy}{dt}^{2}}[/itex] - g
K is drag co-efficient, m is mass, g is gravity acceleration, all of which are defined.I have the initial velocity, and I know that I can use trig ratios to get the initial x and y velocities, but I have not idea what to do with them. BTW all the above below things are meant to be fractions, but i am not sure how to make them fractions, sorry.
So far these are what i have:
equation 1: m[itex]\stackrel{d^{2}x}{dt^{2}}[/itex] = -k [itex]\stackrel{dx}{dt}[/itex] [itex]\sqrt{\stackrel{dx}{dt}^{2}+\stackrel{dy}{dt}^{2}}[/itex]
equation 2: m[itex]\stackrel{d^{2}y}{dt^{2}}[/itex] = k [itex]\stackrel{dy}{dt}[/itex] [itex]\sqrt{\stackrel{dx}{dt}^{2}+\stackrel{dy}{dt}^{2}}[/itex] - g
K is drag co-efficient, m is mass, g is gravity acceleration, all of which are defined.I have the initial velocity, and I know that I can use trig ratios to get the initial x and y velocities, but I have not idea what to do with them. BTW all the above below things are meant to be fractions, but i am not sure how to make them fractions, sorry.