How to solve the differential equation y(a-y)dy = udx/k?
2 views (last 30 days)
Show older comments
Here u, k and a are constants.
0 Comments
Accepted Answer
Torsten
on 10 Nov 2016
Edited: Torsten
on 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 Comments
More Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!