dx+fy=k solve for x

2 件のコメント

bym
bym 2011 年 9 月 8 日
is dx a variable or does it mean d*x? what is fy. You have to provide more information to get a better answer than:
x= (k-fy)/d
Walter Roberson
Walter Roberson 2011 年 9 月 8 日
Is this linear algebra or is it a differential equation ?

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

回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 9 月 8 日

0 投票

You will need the Symbolic Toolkit.
solve('d*x+f*y=k','x')
Subarna Parajuli
Subarna Parajuli 2021 年 9 月 20 日

0 投票

3X+2Y=24
X+Y=12

1 件のコメント

Walter Roberson
Walter Roberson 2021 年 11 月 7 日
eqn = [str2sym('3*X+2*Y==24')
str2sym('X+Y==12')]
eqn = 
solve(eqn)
ans = struct with fields:
X: 0 Y: 12

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

カテゴリ

質問済み:

2011 年 9 月 8 日

コメント済み:

2021 年 11 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by