フィルターのクリア

Solving two linear equations with two variables

2 ビュー (過去 30 日間)
Zelda Luxenburry
Zelda Luxenburry 2011 年 6 月 27 日
コメント済み: madhan ravi 2019 年 3 月 14 日
I need help solving these simultaneous equations: solve: {2x+3y=12 {5x+2y=3
Thank you!

採用された回答

Sean de Wolski
Sean de Wolski 2011 年 6 月 27 日
xy = [2 3; 5 2]\[12;3]
  1 件のコメント
Zelda Luxenburry
Zelda Luxenburry 2011 年 6 月 27 日
thank you!!!!

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

その他の回答 (1 件)

Ali Al-khadher
Ali Al-khadher 2019 年 3 月 14 日
%{
ax+by=c....equ(1)
dx+ey=f....equ(2)
A=[a b;d e]
B=[c f]
sol=A/B
x=sol(1)
y=sol(2)
example
3x-9y=-42....equ(1)
2x+4y=2......equ(2)
%}
A = [3 -9;2 4]
b = [-42;2]
%Solve Ax=b as A\b
sol=A\b;
x=sol(1)
y=sol(2)
  1 件のコメント
madhan ravi
madhan ravi 2019 年 3 月 14 日
The equations doesn't correspond to the equations posted by the OP, by the way the correct solution had been answered and accepted 8 years ago.

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

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by