How to solve the differential equation y(a-y)dy = udx/k?
조회 수: 2 (최근 30일)
이전 댓글 표시
Here u, k and a are constants.
댓글 수: 0
채택된 답변
Torsten
2016년 11월 10일
편집: Torsten
2016년 11월 10일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!