I tried it with Wolfram Alpha by referring to "Solving simultaneous linear equations with Python (sweeping method and fractional expression)".

(Original post) https://qiita.com/asana_yui/items/89832a2435408223ace2

At Wolfram Alpha

mat1.txt

Input interpretation:

https://www.wolframalpha.com/input/?i=%E6%8E%83%E3%81%8D%E5%87%BA%E3%81%97%E6%B3%95%E8%A8%88%E7%AE%97%E6%A9%9F&assumption=%7B%22F%22%2C+%22ReducedRowEchelon%22%2C+%22theMatrix%22%7D+-%3E%22%7B%7B4%2C+2%2C+1%2C+26%7D%2C+%7B1%2C+6%2C+3%2C+48%7D%2C+%284%2C+1%2C+5%2C+34%29%7D%22&lang=ja

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

result:

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

approximation (1 | 0 | 0 | 2.72727 0 | 1 | 0 | 5.81818 0 | 0 | 1 | 3.45455)

mat2.txt Something is wrong?

Input interpretation:

https://www.wolframalpha.com/input/?i=%E6%8E%83%E3%81%8D%E5%87%BA%E3%81%97%E6%B3%95%E8%A8%88%E7%AE%97%E6%A9%9F&assumption=%7B%22F%22%2C+%22ReducedRowEchelon%22%2C+%22theMatrix%22%7D+-%3E%22%7B%7B3%2C6%2C9%7D%2C+%7B6%2C12%2C18%7D%7D%22&lang=ja (3 | 6 | 9 6 | 12 | 18)

result:

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

mat3.txt Something is wrong?

Input interpretation

https://www.wolframalpha.com/input/?i=%E6%8E%83%E3%81%8D%E5%87%BA%E3%81%97%E6%B3%95%E8%A8%88%E7%AE%97%E6%A9%9F&assumption=%7B%22F%22%2C+%22ReducedRowEchelon%22%2C+%22theMatrix%22%7D+-%3E%22%7B%7B1.0%2C+2.0%2C+3.0%7D%2C+%7B0%2C+0%2C+0%7D%7D%22&lang=ja (1 | 2 | 3 0 | 0 | 0)

output

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

Recommended Posts

I tried it with Wolfram Alpha by referring to "Solving simultaneous linear equations with Python (sweeping method and fractional expression)".
Solving simultaneous linear equations in Python (sweeping method and fractional representation)
I tried it with SymPy Live, Wolfram Alpha and google with reference to "Algorithm learned with Python 4th: Prime numbers".
I tried it with Wolfram Alpha and google, referring to "[Fundamental Information Technology Engineer Examination] I wrote an algorithm for determining leap years in Python."
I tried to make GUI tic-tac-toe with Python and Tkinter
I tried it with SymPyLive by referring to "[Ruby] Getting unique elements from an array".
I made a server with Python socket and ssl and tried to access it from a browser
[Scientific / technical calculation by Python] Solving simultaneous linear equations, numerical calculation, numpy
I tried to make a periodical process with Selenium and Python
I tried to easily detect facial landmarks with python and dlib
I tried to implement Bayesian linear regression by Gibbs sampling in python
I tried to verify and analyze the acceleration of Python by Cython
[Zaif] I tried to make it easy to trade virtual currencies with Python
I tried to make a periodical process with CentOS7, Selenium, Python and Chrome
I tried to automate internal operations with Docker, Python and Twitter API + bonus
When I tried to create a virtual environment with Python, it didn't work
[ES Lab] I tried to develop a WEB application with Python and Flask ②
[Python] I introduced Word2Vec and played with it.
Let's solve simultaneous linear equations with Python sympy!
I tried Jacobian and partial differential with python
I tried to get CloudWatch data with Python
I tried function synthesis and curry with python
I tried to output LLVM IR with Python
I tried to automate sushi making with python
I tried to make the weather forecast on the official line by referring to the weather forecast bot of "Dialogue system made with python".
I tried to automate the article update of Livedoor blog with Python and selenium.
[Introduction to system trading] I drew a Stochastic Oscillator with python and played with it ♬
Image processing with Python (I tried binarizing it into a mosaic art of 0 and 1)
I tried to aggregate & compare unit price data by language with Real Gachi by Python
I tried to compare the processing speed with dplyr of R and pandas of Python
I tried to read and save automatically with VOICEROID2 2
I tried to implement and learn DCGAN with PyTorch
I want to handle optimization with python and cplex
I tried to get started with blender python script_Part 01
I tried to touch the CSV file with Python
I tried to draw a route map with Python
Solve simultaneous ordinary differential equations with Python and SymPy.
I tried to automatically read and save with VOICEROID2
I tried to get started with blender python script_Part 02
I tried to implement an artificial perceptron with python
I tried to automatically generate a password with Python3
I tried to solve the problem with Python Vol.1
I tried to analyze J League data with Python
I tried to implement Grad-CAM with keras and tensorflow
I tried to solve AOJ's number theory with Python
I learned MNIST with Caffe and tried to draw it (MAC OS X El Capitan)
I tried to get the number of days of the month holidays (Saturdays, Sundays, and holidays) with python
I also tried to imitate the function monad and State monad with a generator in Python
I tried to predict the sales of game software with VARISTA by referring to the article of Codexa
I tried to predict and submit Titanic survivors with Kaggle
I tried to find the entropy of the image with python
I tried to simulate how the infection spreads with Python
I tried to make various "dummy data" with Python faker
I tried various methods to send Japanese mail with Python
[Numerical calculation method, python] Solving ordinary differential equations by Eular method
I tried follow management with Twitter API and Python (easy)
I tried "How to get a method decorated in Python"
[Python] I tried to visualize tweets about Corona with WordCloud
I tried to classify MNIST by GNN (with PyTorch geometric)
Mayungo's Python Learning Episode 3: I tried to print numbers with print
I tried to enumerate the differences between java and python