0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

「Pythonで連立一次方程式を解く(掃き出し法と分数表現)」を参考にWolframAlphaでやってみた。

Last updated at Posted at 2021-01-08

(オリジナルポスト)

WolframAlphaで

mat1.txt

入力解釈:

(4 | 2 | 1 | 26
1 | 6 | 3 | 48
4 | 1 | 5 | 34)

結果:

(1 | 0 | 0 | 30/11
0 | 1 | 0 | 64/11
0 | 0 | 1 | 38/11)

近似値
(1 | 0 | 0 | 2.72727
0 | 1 | 0 | 5.81818
0 | 0 | 1 | 3.45455)

mat2.txt 何かおかしいですね?

入力解釈:

(3 | 6 | 9
6 | 12 | 18)

結果:

(1 | 2 | 3
0 | 0 | 0)

mat3.txt 何かおかしいですね?

入力解釈

(1 | 2 | 3
0 | 0 | 0)

出力

(1 | 2 | 3
0 | 0 | 0)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?