Originally Posted by

**DarkReviver** Ok so this is more for a program to do general solving of 2 variables with 2 equations.

I know how to solve simultaneously on paper but need to know how with one equation that can use variables.

eg. I want to solve for x and y when i have two equations:

x + 3y = 34

&

2x + 4y = 50

I can find that x=7 & y=9 on paper but I want to get this within a program

All I need to know is if:

*(in that example above a=1 b=3 c=34 d=2 e=4 f=50)

ax + by = c

dx + ey = f

.: x=

.: y=

what are the equations that x= and y= in terms of a, b, c, d, e, & f?

Note: I'm not trying to solve the example, I just thought it might help to visualize with an example.