NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
October 28, 2020, 01:36:23 am

Brevity is the Soul of wit. ..."Shakespeare (154-1616, English dramatist and poet) "

 Pages: [1]   Go Down
 Author Topic: Solving linear equations  (Read 7010 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: 3086

 « Embed this message on: March 24, 2009, 08:02:50 am » posted from:Taipei,T\'ai-pei,Taiwan

Assume there are two linear equations:

a1*x+b1*y=c1
a2*x+b2*y=c2

$x=\frac{\begin{vmatrix}c_1 & b_1\\ c_2 & b_2 \end{vmatrix}}{\begin{vmatrix} a_1 & b_1 \\ a_2 & b_2 \end{vmatrix}}=\frac{c_1*b_2-c_2*b_1}{a_1*b_2-a_2*b_1}$,
$y=\frac{\begin{vmatrix}a_1 & c_1 \\ a_2 & c_2 \end{vmatrix}}{\begin{vmatrix}a_1 & b_1 \\a_2 & b_2\end{vmatrix}}=\frac{a_1*c_2-a_2*c_1}{a_1*b_2-a_2*b_1}$

This applet demostrate EJS GUI possibility: Solving linear equations and display it the solution graphically.

There is a similar applet: Solution for two 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