how to use ode23 to solve 2nd order equation

2 views (last 30 days)
picc olo
picc olo on 26 Apr 2015
Commented: Jan on 26 Apr 2015
the equation likes this b*y'/x-a*y^2=y'', dy/dx=y'' a and b are constants y(0)=10, y'(0)=1

Answers (1)

Jan
Jan on 26 Apr 2015
Convert the 2nd order equation to two equations of order 1 - as described by WikiPedia and in the first lesson of a course for numerices. Then follow the examples given in the documentation: doc ode23.
If problems occur, post the code and explain the problems aith all needed details.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!