ordinary differential equations ODE

Please can somebody help wite a fuction containing these ODEs that i would be able to use ODE45 to solve it?

3 Comments

This is a nice assignment, but you should come up with a try on your own before you can expect help here. Other peoples homework is not what this forum is for.
function D= ODEsys(v)
theta=pi/8;
c=0.72;
g=9.81;
m=80;
s=0.5;
xdot=v*cos(theta);
ydot=v*sin(theta);
thetadot=(-g/v)*cos(theta);
vdot=(-D/m)-g*sin(theta);
end
that is what i have but its wrong i was just hoping other had different insight to me
i Just what to know how to write thr system of ODEs as a function

Answers (0)

This question is closed.

Products

Release

R2019a

Tags

Asked:

on 4 Jun 2021

Closed:

on 4 Jun 2021

Community Treasure Hunt

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

Start Hunting!