What is the MATLAB code to solve this system of equations through ODE15S?

2 vues (au cours des 30 derniers jours)
Debasish  Pal
Debasish Pal le 6 Oct 2015
We have two dependent variables y1 and y2 and one independent variable. The system is like this.
(dy1/dx)^2 - y1*(dy1/dx) + x*(dy2/dx) = 0 ......(1)
(dy2/dx)^2 + x*(dy2/dx)*(dy1/dx) + y2*(dy1/dx)^2=0 .....(2)
Initial condition y1(0)=1 and y2(0)=0 with x=0:0.1:0.9. Please provide me the MATLAB code through 'ode15s' to solve the mentioned equation. Kindly help.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by