Exact solution of ode using matlab dy/dx=x^2+y^2 condition y(0)=0
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Abdullahi Abubakar
am 28 Jun. 2021
Beantwortet: Bjorn Gustavsson
am 28 Jun. 2021
clear all clc close all syms y(x) ode=(diff(y,x)+((y))==(x^2)+(y^2) cond = y(0) ==1; ySol(x)=dsolve(ode,cond) ySol(x)= -x^2-2*x-2+2*exp(x)
0 Kommentare
Akzeptierte Antwort
Bjorn Gustavsson
am 28 Jun. 2021
That is a Riccatti ODE. See Riccati_equation for information on how to solve it analytically. My version of matlab spits out a longish answer.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!