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 个评论

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

回答(0 个)

此问题已关闭。

产品

版本

R2019a

标签

关闭:

2021-6-4

Community Treasure Hunt

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

Start Hunting!

Translated by