Solve Systems of Equations
This program solves a 2-variable system of equations when the coefficients are known. It assumes the two equations are in the form Ax+By=C
Input "1st A=",A
Input "1st B=",B
Input "1st C=",C
Input "2nd A=",D
Input "2nd B=",E
Input "2nd C="F
If AE-BD=0
Goto 1
(CE-BF)/(AE-BD)->X
Disp "X=",X
(AF-CD)/(AE-BD)->Y
Disp "Y=",Y
Goto 2
Lbl 1
Disp "Inconsistent or dependent"
Lbl 2