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

Easy Java Simulations (2001- ) => misc => Topic started by: ahmedelshfie on May 21, 2010, 12:28:44 am



Title: Solution for two linear equations
Post by: ahmedelshfie on May 21, 2010, 12:28:44 am
This applet is Solution for two linear equations
Created by prof Hwang Modified by Ahmed
Original project Solution for two linear equations (http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1150.0)

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.