# NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

## Easy Java Simulations (2001- ) => misc => Topic started by: Fu-Kwun Hwang on June 18, 2009, 03:37:19 pm

 Title: Solution for two linear equations Post by: Fu-Kwun Hwang on June 18, 2009, 03:37:19 pm 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 circle 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: Solving linear equations (http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1048.0)