How do I solve a dr/dt equation?
조회 수: 3 (최근 30일)
이전 댓글 표시
I just need an example of how to solve basic integrals to get the r's at different timesteps. I have an equation:

How do I solve it at t=0 for example, if it has r's on both sides?
댓글 수: 1
Roger Stafford
2016년 6월 13일
What you have there is a differential equation, which is different from a problem in integration. In matlab these can be solved numerically using one of the ‘ode’ functions (ordinary differential equations.) See for example:
http://www.mathworks.com/help/matlab/ref/ode45.html
You will need to furnish an initial value for ri.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!