how to solve nonlinear problem with matlab code?

y''+2/t(y')-9c^2y=0,boundary condition y(1)=1,y'(0)=1,c is constant. how to solve in matlab?

2 commentaires

John D'Errico
John D'Errico le 5 Août 2017
Modifié(e) : John D'Errico le 5 Août 2017
Solve it, by reading the help for ODE45?
doc ode45
In there you will find an example. It may be nasty there, near t==0. So you might try one of the stiff solvers too.
Torsten
Torsten le 7 Août 2017
Modifié(e) : Torsten le 7 Août 2017
help bvp4c
Best wishes
Torsten.

Connectez-vous pour commenter.

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by