Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Solving differential equations and specifying initial conditions

1 回表示 (過去 30 日間)
Aleem Andrew
Aleem Andrew 2021 年 2 月 23 日
閉鎖済み: Walter Roberson 2021 年 2 月 23 日
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)))

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by