Mathematica Asked on March 26, 2021
The matrix equation m.{x,y}==b
results in an awkward disjointed looking presentation but correct construction of a system of linear equations {x + y, -x + y} == {1, 2}
.
m.{x,y}==b
in a more proper form sucheqs={x+y==1,-x+y==2}
.eqs={x+y==1,-x+y==2}
for y in terms of x so thateqs={y==1-x,y==2+x}
?Here is the working code…
ClearAll[m,b,vars,x,y,eqs];
m = {{1, 1}, {-1, 1}};
b = {1, 2};
vars={x,y};
eqs = m.vars == b;
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP