Assume there are two linear equations:
a_1 x + b_1 y +c_1=0
a_2 x + b_2 y +c_2=0

The solution is x=\frac{b1*c2-c1*b2}{a1*b2-a2*b1}, y=\frac{a2*c1-a1*c2}{a1*b2-a2*b1}

You can drag the [b]circle[/b] to change the slope of the linear equation or drag the square to change the offset of the linear equations.

There is a similar applet: [url=http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1048.0]Solving linear equations[/url]

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/twolinearequations_pkg/twolinearequations.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1228.8kB):double click downloaded file to run it. (9 times by 7 users) , Download EJS source (6 times by 4 users) View EJS source