Exact Ordinary Differential Equation

25 visualizaciones (últimos 30 días)
JC.UT
JC.UT el 9 de Abr. de 2021
Respondida: Lakshmi el 11 de Dic. de 2023
syms y(x)
ode=y*(1-x^2)*(diff(y))== ((x*y^2)-(cos(x)*sin(x)))
sol=dsolve(ode)
ode(x) =
-y(x)*(x^2 - 1)*diff(y(x), x) == x*y(x)^2 - cos(x)*sin(x)
sol =
((C1 - cos(x)^2)*(x - 1)*(x + 1))^(1/2)/(x^2 - 1)
-((C1 - cos(x)^2)*(x - 1)*(x + 1))^(1/2)/(x^2 - 1)
Did I properly tranlate the problem below correctly using the right syntax and operations ? Can you please check my code, is it correct ?

Respuesta aceptada

Samuel Brewton
Samuel Brewton el 9 de Abr. de 2021
I just ran it through and got the same solution so it seems to check out.

Más respuestas (1)

Lakshmi
Lakshmi el 11 de Dic. de 2023
dx

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by