dx+fy=k solve for x

2 commentaires

bym
bym le 8 Sep 2011
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 le 8 Sep 2011
Is this linear algebra or is it a differential equation ?

Connectez-vous pour commenter.

Réponses (2)

Walter Roberson
Walter Roberson le 8 Sep 2011

0 votes

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

0 votes

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

1 commentaire

eqn = [str2sym('3*X+2*Y==24')
str2sym('X+Y==12')]
eqn = 
solve(eqn)
ans = struct with fields:
X: 0 Y: 12

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by