solving simple coupled equations
    3 ビュー (過去 30 日間)
  
       古いコメントを表示
    
can someone help me solving the equations
D^2* L =51.8/(1087*25)
L / D = 1.178
0 件のコメント
回答 (1 件)
  Star Strider
      
      
 2019 年 8 月 30 日
        Symbolic Math Toolbox: 
syms L D 
Eq1 = D^2* L == 51.8/(1087*25);
Eq2 = L/D == 1.178;
[Ls,Ds] = solve(Eq1,Eq2,[L,D]);
Lv = vpa(Ls)
Dv = vpa(Ds)
producing: 
Lv =
 - 0.06914916395087665 + 0.1197698652638286i
 - 0.06914916395087665 - 0.1197698652638286i
                          0.1382983279017533
Dv =
 - 0.0587004787358885 + 0.1016722115991754i
 - 0.0587004787358885 - 0.1016722115991754i
                          0.117400957471777
There are other ways to solve them as well.  
0 件のコメント
参考
カテゴリ
				Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

