exact solution for system first order ODEs

How to get exact solution for system of first order odes. The system of odes is
y'1=-y1+y2^2+y3^2+y4^2;
y'2=-10y2+10(y3^2+y4^2);
y'3=-40y4+40y4^2;
y'4=-100y4+2;

2 commentaires

SUMAN DUTTA
SUMAN DUTTA le 12 Juin 2021
You can use the ode45 command to solve your problem, this link will definenitely help you I feel
https://in.mathworks.com/help/matlab/ref/ode45.html#d123e924894
Hira Soomro
Hira Soomro le 12 Juin 2021
will it give the exact silutions too? because i cannot see the solution i just got numerical values.

Connectez-vous pour commenter.

Réponses (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 12 Juin 2021

1 vote

You shall try dsolve() if your system of ODEs can be solved analytically via Symbolic MATH.
If dsolve() fails, you can try numerical solvers, viz. ode23, ode45, ode113, etc.

Community Treasure Hunt

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

Start Hunting!

Translated by