How to Solve System of Equation in Python (n x n) with Numpy

preview_player
Показать описание
This short video tutorial explains how to solve a system of equation in Python using Numpy.

Find Python Tutorials here

Data Science Tutorials

My websites

Learn Programming by joining International Computer Programmers here:

Feel free to connect with me on any of these

Your support can help me improve my content:

This is one of the series of free lessons on AI Artificial Intelligence, Machine Learning and Data Science with Python
Рекомендации по теме
Комментарии
Автор

great video, at the end you miss np.devide:

import numpy as np

A = np.array([[2, 1, 1], [1, 3, 4], [2, 1, 2]])
b = np.array([[180], [300], [240]])

xyz = np.linalg.solve(A, b)
print(xyz)

xyz2 = np.divide(b, A)
print(xyz2)

eldesarrollador_