2019年1月15日 星期二

解 線性代數 EX8-1


解 線性代數

 0.52 x1 +  0.82 x2  = 0.0143
 1.52 x1 -  1.82  x2  = 0.0005

==============================

|  0.52      0.82     |   |   x1 |   =  0.0143
|  1.52       -1.82   |   |  x2  |   =  0.0005


 https://matrix.reshish.com/gauss-jordanElimination.php

設定矩陣
Matrix dimension:    X   


Set Matrix

輸入矩陣值  Very detailed solution   --> Solve

答案畫面: 


Your matrix
X1X2b
10.520.82-0.0143
21.52-1.82-0.0005
Make the pivot in the 1st column by dividing the 1st row by 0.52
X1X2b
111.576923076923076923-0.0275
21.52-1.82-0.0005
Multiply the 1st row by 1.52
X1X2b
11.522.3969230769230769229-0.0418
21.52-1.82-0.0005
Subtract the 1st row from the 2nd row and restore it
X1X2b
111.576923076923076923-0.0275
20-4.21692307692307692290.0413
Make the pivot in the 2nd column by dividing the 2nd row by -4.2169230769230769229
X1X2b
111.576923076923076923-0.0275
201-0.0097938708500547245534
Multiply the 2nd row by 1.576923076923076923
X1X2b
111.576923076923076923-0.0275
201.576923076923076923-0.015444180955855527179
Subtract the 2nd row from the 1st row and restore it
X1X2b
110-0.012055819044144472821
201-0.0097938708500547245534
Solution set:
x1 = -0.012055819044144472821
x2 = -0.0097938708500547245534


另一解


Your matrix
X1X2b
10.5441120.8395880.0002415
21.544112-1.839590.0000495
Make the pivot in the 1st column by dividing the 1st row by 0.544112
X1X2b
111.54304260887464345570.00044384244420266415737
21.544112-1.839590.0000495
Multiply the 1st row by 1.544112
X1X2b
11.5441122.38263060887464345560.00068534244420266415736
21.544112-1.839590.0000495
Subtract the 1st row from the 2nd row and restore it
X1X2b
111.54304260887464345570.00044384244420266415737
20-4.2222206088746434556-0.00063584244420266415736
Make the pivot in the 2nd column by dividing the 2nd row by -4.2222206088746434556
X1X2b
111.54304260887464345570.00044384244420266415737
2010.00015059432064402159735
Multiply the 2nd row by 1.5430426088746434557
X1X2b
111.54304260887464345570.00044384244420266415737
201.54304260887464345570.0002323734534082556622
Subtract the 2nd row from the 1st row and restore it
X1X2b
1100.00021146899079440849517
2010.00015059432064402159735
Solution set:
x1 = 0.00021146899079440849517
x2 = 0.00015059432064402159735

沒有留言:

張貼留言

WOKWI ESP32 LED Control , Node-Red MQTT SQLITE  

WOKWI ESP32 LED Control ,  Node-Red  MQTT SQLITE   const char broker[] = "test.mosquitto.org" ; //const char broker[] = "br...