How to solve the differential equation y(a-y)dy = udx/k?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Here u, k and a are constants.
0 commentaires
Réponse acceptée
Torsten
le 10 Nov 2016
Modifié(e) : Torsten
le 10 Nov 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!