Solve Linear Equations with Python

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Awesome stuff! Thank you very much. I had one of those for an assignment and solved it by hand in like 10 seconds, but I had no Idea how to do it with the proper syntax with NumPy. Thanks a lot!

snow
Автор

Thank you so much! It really solved my problem. I have a small question for the answer array [6, 1, 1], it is a 3 rows one column, why it is not [[6], [1], [1]]?

lululin
Автор

What screen capturing software did you use to make this video?

Misseldine
Автор

please, if we have 3 equations, and we know that for exemple z=0, how can we force him to solve the problem with z=0 thx <3

festeration
Автор

how does that b matrix works. When we introduce the arguments for the array using the np.array([ ]) the inner [ ] works as a column? but when we are introducing the coefficients using np.array([ [ ], [ ] ]) each inner [ ] works as a row but the outer as...a column as well? Or does Python knows how to handle that when we use the linalg.solve command?

rvilleg
Автор

I don't understand why b = np.array([-42, 2]) instead of np.array([[-42], [2]]). Basically I'm asking why is b a 1x2 vector rather than a 2x1 one?

kennyPAGC
Автор

which way is efficienly better, this method or using Gauss-Jordan or LU?

basticorrea
Автор

Sir why we got dot with numbers in the answer in numpy? Hope for getting the answer.

nsbkpzs
Автор

Hi,
you are supposed to use inverse of A which is obtained by 'np.linalg.inv(A)' . But rather that this, u directly multiplied A and b to find z with the method 'np.linalg.solve(A, b)'

irreproachableincorrigable
Автор

is there a video where I can see the actual implementation of the equation solver?

kennyPAGC
Автор

can you help when the input and has to be given in a input.txt file and output printed to output.txt file?

Alex-svli
Автор

I got an error as
NameError Traceback (most recent call last)
in <module>
----> 1 A = np.array

NameError: name 'np' is not defined
Please tell why I get this error.

azeemmustafa
Автор

Why it complains that raise LinAlgError("Singular matrix")

weiminli
Автор

What if the linear system has infinitely many solutions?

usmanfawad
Автор

i have a problem, but it kept saying "LinAlgerror: 1-dimensional array give. Array must be atleast two-dimensional". please help me fix this

Tmac
Автор

Hello, how can I find all roots of 2 equations in Python without using modules. I am using Python 3.5.1 and modules doesnt work in my python. Thank

mccaffeina
Автор

hi how l input from the user
Ask the user to input nxn numbers separated by comma. This will be the z matrix.
Enter matrix z: 6, 3, 9, -2, 3, 8, -1, -4, 5

anot
Автор

Hi can you make a video on how to make a full-fledged math solving app

ibrogamingman
Автор

How can I solve 5 equations but only 4 unknowns?

truclam
Автор

Awesome!
Why don't you write b as a column? I see you wrote b as a row

esti