I'm trying to solve a 2nd order ode with ode45, but have no idea where to start.
Show older comments

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];
Accepted Answer
More Answers (1)
Torsten
on 10 Sep 2024
0 votes
After dividing your equation by t, you can just follow the example
Solve Nonstiff Equation
under
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



