フィルターのクリア

solving unknown in algebraic equations

1 回表示 (過去 30 日間)
harley
harley 2013 年 8 月 28 日
trying to use matlab to solve the following for V2 & V3, how do i do this? All variables are known apart from V2 & V3.
Q1 = (A2*V2) + (A3*V3)
(f2*rho*(L2/D2))*((V2^2)/2) = (f3*rho*(L3/D3))*((V3^2)/2)

採用された回答

Matt J
Matt J 2013 年 8 月 28 日
You could use FSOLVE, if you have it, though I think that might be overkill for a set of equations this simple.
Otherwise, you could use the first equation to eliminate either V2 or V3 from the second equation, leading to a quadratic in a single variable, V2 or V3. Then use ROOTS command on that quadratic.
  2 件のコメント
harley
harley 2013 年 8 月 28 日
thanks Matt, yes i can solve it by hand in a few minutes. How do i actually go about it in matlab? Its all a bit foreign to me.
Matt J
Matt J 2013 年 8 月 28 日
編集済み: Matt J 2013 年 8 月 28 日
As I said, using FSOLVE or ROOTS.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSystems of Nonlinear Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by