Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Solving differential equations and specifying initial conditions
조회 수: 1 (최근 30일)
이전 댓글 표시
Given an equation, can you solve for the derivatives of certain quantities in terms of the other variables? For example in the following equation when I try to solve for diff(y(t)) Matlab is unable to find an explicit solution but diff(y(t)) is equal to diff(x(t)), so if the value of diff(x(t)) can be specified diff(y(t)) could be found. How can you specify appropriate conditions such as the value of diff(x(t)) to solve for the derivatives of other quantities?
syms x(t) y(t)
eq1 = x == y+2;
solve(diff(eq1),diff(y(t)))
댓글 수: 1
Walter Roberson
2021년 2월 23일
Duplicated by later https://www.mathworks.com/matlabcentral/answers/753309-solve-for-a-variable-in-terms-of-specific-other-variables?s_tid=srchtitle which has an answer
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!