數學問題計10個unknows

2006-11-16 6:56 am
一條equation 可搵到一個unkonwn數,如10+X=15 then X=5
兩條equations 可搵到ニ個unkonwn數,如X+Y=10 and 2X-Y=5, then X=5 and Y=5
三條equations 可搵到三個unkonwn數,如此類推。
那if 有10個unknowns,set 十條equations,有冇電腦程式可以快D計到answer?

回答 (3)

2006-11-16 7:22 am
✔ 最佳答案
這類問題係system of linear equation
如果你有學過Matrix
第二條其實可以寫成咁
 1  1  X   10
[    ] [  ] = [   ]
 2  -1  Y    5
用Ax = b表示
要解決就計 x = A^-1 b
A^-1係A既inverse

係電腦裏面有好多方法可以解決到
例如Jacobi method, Gauss-Seidel method等等
但如果你唔識matrix即話,就會比較難明lu

可以參巧下
http://en.wikipedia.org/wiki/System_of_linear_equations
或者有個online solver
http://wims.unice.fr/wims/wims.cgi?module=tool/linear/linsolver.en
2006-11-16 7:24 am
There are many math software available but all of them require you having the basic knowledge of "matrix" and "linear algebra" and "system of linear equations". You may try to search "Matlab" or "Mathematica". However, you should notice that the solution may not be unique even in the case n=2 "two eqn two known". e.g. 5x+y=4 and 10x+2y=8. You may say that this is obvious but this is usually not obvious if n>=3.
2006-11-16 7:21 am
Yes, search for the calculator programs software


收錄日期: 2021-04-12 23:52:03
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20061115000051KK04831

檢視 Wayback Machine 備份