I'm trying to solve a 2nd order ode with ode45, but have no idea where to start.
古いコメントを表示

This the ode with conditions I'm trying to solve and the code below is as far as I got. It would be appreciated if I could get a detailed step by step to help solve this.
%initial conditions
y0 = [0 1];
tspan = [1 4];
採用された回答
その他の回答 (1 件)
Torsten
2024 年 9 月 10 日
0 投票
After dividing your equation by t, you can just follow the example
Solve Nonstiff Equation
under
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




