Second Order ODE using ode45
显示 更早的评论
I'm trying to solve a problem where I have 2 second order ODE problems.
The first is used if x<=150: x'' = 9.8 – 0.00324 (x’)2 m/s2
the second is used if x>150: x'' = 31.23 – 0.00324 (x’)2 – 0.143x – 1.5/70 x’ m/s2
I need to plot x, x', and x'' (which I can figure out), but I'm stuck on how to create the ode45 function for my 2 equations.
Any help would be appreciated. Thanks.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!