Solving Systems Of Equations Using Sympy And Numpy (Python)

preview_player
Показать описание
In this video I go over two methods of solving systems of linear equations in python. One method uses the sympy library, and the other uses Numpy.
Рекомендации по теме
Комментарии
Автор

With gratitude, I thank you for making this video. You are a trailblazer. Following you is a blessing.

vtrandal
Автор

You've made a typo in your first system of equations.
You wrote: eq2 = Eq(3*x-1, -2)
It should be: eq2 = Eq(3*x - y, -2)

The first system yields x = -1/3 (3x = -1 => x = -1/3) and thus y = 11/3
The second system yields x = 2 and y = 8.

Hope that helps!

TymeToTry
Автор

0:00 "What's going on, smart people!" - There. That's where you lost me. 😀 Just kidding. Nice video. I didn't know about the latex trick. Thank you for sharing.

BiancaAguglia
Автор

Really helpful. BTW, I like your hair style~!!LOL

jingyiwang
Автор

This is an excellent video. It helped me a ton!!! Thank you.

methorogood
Автор

Andrew you just made my day . I was on rank 7 in code chef contest and used this method to solve the equation of degree 4 and got the 4th rank. Love you bro ❤

rahulkumarjha
Автор

Thanks so much! This has been a great help!
My uni also uses python for physics programming so thanks again and do more python videos, please :)

stormbrakerable
Автор

Nice video. Since this video is over a year old, you may have figured this out by now. Using control-Enter is the same as having to move your mouse to click on run.Use that for about 10 minutes and it will become instinct. The little bit of time saved can add up over a long coding session.

googacct
Автор

You look like Ryan Reynolds. Very informative vid.

merryjoy
Автор

Great tutorial! Your channel is easily becoming my favorite! :D

davidsanjenis
Автор

Have you tried the "Successive Over-Relaxation" method? It's an iterative method with a convergence parameter, it solves large matrices MUCH faster than Gauss-Jordan does. When you get to doing Finite Difference Methods with grids in the millions, that performance matters!

xexeventien
Автор

Woah, I didn't know you used to make these videos too. Awesome make more, Thanks.

admiralhyperspace
Автор

Great video!! I definitely enjoyed it and learned a couple of things!!

monicapym
Автор

What are the main advantages and disadvantages of using either sympy or numpy?
Great video btw!

monzz
Автор

Great stuff, i''m just wondering why you didnt use numpy.array when solving the equ with numby?

abdelrhmandameen
Автор

Thanks for the video. I was looking for an easy way to find the initial guess for a poly nomial in order to solve the equation by fsolve from scipy.optimize and importing numpy!

oldelkhot
Автор

Hey can you integrate (3x^2 + 1) using this library to get output as x^3 + x?
If so, can you explain the procedure for this? Needed help for this asap

nikhilnambiar
Автор

I did a Java program that solves matrices using Gauss-Jordan, can't wait to learn python, muh friendlier language for math.

kamehamehaDdragon
Автор

thx for video
i need to solve problem it look easy but it isn't
i wanna use sympy or numpy honestly it dosn't matter any thing that solves it
my equation has one variable but one is one side and the other is on other side and it wont come to other side easily cause it buried under 4 or 5 heavy Denominator
so is there a way i can solve this ?

if u know how plz help me



ps: i will bookmark this page to look for your answers

aminoffline
Автор

Dear Andrew Dotson,

Thank you for your video. Most helpful.

I was wondering if, perhaps, you could post some tips/techniques for evaluating the stability of ODE using Python.

Recently, there has been great development in that field using Python. One example is the LMFIT Python's library, which is most straitfoward for modelling linear and non-linear syatems. Nevertheless, we still lack a proper method for evaluating stability in an ODE system.

philiperiskallaleal