Borrar filtros
Borrar filtros

Solve ODE without initial condition

1 visualización (últimos 30 días)
sudhir
sudhir el 20 de Nov. de 2023
Comentada: Sam Chak el 20 de Nov. de 2023
syms y(x) x
E=diff(y,x)+(y*cos(x)+sin(y)+y)/(sin(x)+x*cos(y)+x)==0
y=(dsolve(E))
I am getting error
E(x) =
Warning: Unable to find symbolic solution.
y =[ empty sym ]

Respuestas (2)

Torsten
Torsten el 20 de Nov. de 2023
Your ODE is nonlinear. The symbolic toolbox is not able to find an analytical solution for it. You will only be able to solve it numerically with a given initial condition.

Sam Chak
Sam Chak el 20 de Nov. de 2023
I also couldn't obtain the analytical solution using dsolve(). However, when I tested this problem on Wolfram Alpha, it returned an open-form solution that manifests in the form of a recurrence relation.
  2 comentarios
Torsten
Torsten el 20 de Nov. de 2023
Impressive that Wolfram Alpha was able to deduce this.
Maybe better: "implicit" instead of "recurrence" for the solution given.
Sam Chak
Sam Chak el 20 de Nov. de 2023
Yes, implicit solution.

Iniciar sesión para comentar.

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