Borrar filtros
Borrar filtros

How to solve the differential equation y(a-y)dy = udx/k?

2 visualizaciones (últimos 30 días)
Aneesh Rao
Aneesh Rao el 9 de Nov. de 2016
Editada: Torsten el 10 de Nov. de 2016
Here u, k and a are constants.

Respuesta aceptada

Torsten
Torsten el 10 de Nov. de 2016
Editada: Torsten el 10 de Nov. de 2016
By integrating both sides of the equation:
integral_{y=y0}^{y=y}y*(a-y) dy = (a*y^2/2 - y^3/3) - (a*y0^2/2 - y0^3/3)
integral_{x=x0}^{x=x}u/k dx = u/k*(x-x0)
Thus
(a*y^2/2 - y^3/3) - (a*y0^2/2 - y0^3/3) = u/k*(x-x0)
and the inverse function if the solution is given by
x = x0 + k/u*((a*y^2/2 - y^3/3) - (a*y0^2/2 - y0^3/3))
Best wishes
Torsten.

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