NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
August 24, 2019, 11:55:06 am

"In theory, theory and practice are the same. In practice, they are not." ..."Albert Einstein (1879~1955, Mathematical physicist, Nobel Prize 1921-Physics)"

 Pages: [1]   Go Down
 Author Topic: Solution for two linear equations  (Read 7104 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
Fu-Kwun Hwang
Hero Member

Offline

Posts: 3082

 « Embed this message on: June 18, 2009, 03:37:19 pm » posted from:Taipei,T'ai-pei,Taiwan

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

Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list