필터 지우기
필터 지우기

calculating the velocity and distance of a rocket

조회 수: 20 (최근 30일)
Hossein
Hossein 2024년 4월 24일
댓글: Torsten 2024년 4월 25일
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
Hossein
Hossein 2024년 4월 25일
I tried but it wasn’t useful.
Torsten
Torsten 2024년 4월 25일
Sorry, but more help would be the solution.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
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
Torsten
Torsten 2024년 4월 24일
Maybe better
distance = (1/2) a*t^2 + v0*t + d0
Hossein
Hossein 2024년 4월 25일
It’s one of the project rules to be solved by ode45

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by