calculating the velocity and distance of a rocket
27 次查看(过去 30 天)
显示 更早的评论
A rocket gets up from the earth with speed 56.2917 and acceleration-9.81 .I need to solve the equation with ode45 command and get the velocity and distance in t=0:0.01:2.can you help me please
5 个评论
回答(1 个)
Image Analyst
2024-4-24
Why do you need differential equations? velocity = acceleration * time and distance = (1/2) a*t^2 + v*t + d0. You only are giving the downwards accelration due to gravity, not the acceleration due to the rocket thrust. And you are not giving the angle of the rocket but I guess you're assuming it's perfectly vertical.
Attached is a demo for a projectile with no drag with most parameters being variables that you can adjust the initial settings. It computes just about everything you can think of.
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!