User:CreativeHedgehog/Templates/2 var linear equation


p




Social Media by CreativeHedgehog avatar.jpg


CreativeHedgehog avatar.jpg


given a, b, c, d, e, and f, find x and y in the 2 equations below:

{{{a}}}x+{{{b}}}y={{{e}}}

{{{c}}}x+{{{d}}}y={{{f}}}

x=({{{e}}}*{{{d}}}-{{{b}}}*{{{f}}})/({{{a}}}*{{{d}}}-{{{b}}}*{{{c}}})

y=({{{a}}}*{{{f}}}-{{{e}}}*{{{c}}})/({{{a}}}*{{{d}}}-{{{b}}}*{{{c}}})



given a, b, c, d, e, and f, find x and y in the 2 equations below:

4x+2y=1

2x+4y=0

x=(1*4-2*0)/(4*4-2*2)

y=(4*0-1*2)/(4*4-2*2)


Note: Do not use this for Alcumus. Also, I am going to build a 3 var'ed one very soon. CreativeHedgehog 14:42, 7 August 2020 (EDT)

It is not fully correct, and I am fixing its bugs. CreativeHedgehog 15:59, 8 August 2020 (EDT)