2nd Order Ordinary Differential Equation
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How do you solve the following 2nd order ODE
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152727/image.jpeg)
so this question describes the motion of an object in 3-D space
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152728/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152729/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152730/image.jpeg)
r vector represents the position of an object a vector is an acceleration vector caused by drag g vector simply represents the gravitational acceleration where g_z = -9.8
r(0) is given by
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152731/image.jpeg)
and r'(0) or v(0) is given by
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152732/image.jpeg)
* Now here is my question *
Assuming that drag is 0 (thus, a vector simply reduces to 0) and given initial conditions above
How can you find the time(t_I) at which the object hits the ground (r = 0)
and how can you express the position and velocity of this object as functions of time?
Can anyone provide the MATLAB code to solve these problems?? :P
0 commentaires
Réponses (1)
Torsten
le 18 Déc 2015
If the drag is zero, the general solution is
x(t) = x(0) + vx(0)*t + gx/2*t^2
y(t) = y(0) + vy(0)*t + gy/2*t^2
z(t) = z(0) + vz(0)*t + gz/2*t^2
Best wishes
Torsten.
0 commentaires
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!