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 个评论

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
will it give the exact silutions too? because i cannot see the solution i just got numerical values.

请先登录,再进行评论。

回答(1 个)

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