calculating the velocity and distance of a rocket
조회 수: 11 (최근 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에서 Ordinary Differential Equations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!