Exact solution of ode using matlab dy/dx=x^2+y^2 condition y(0)=0

13 visualizaciones (últimos 30 días)
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)

Respuesta aceptada

Bjorn Gustavsson
Bjorn Gustavsson el 28 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by