21. 4 ways to solve systems of nonlinear equations in python

Ойындар

Non-linear equations are much nastier to solve than linear equations. Fortunately, we have lots of options in python. This video shows 4 approaches: graphical using matplotlib, numerically using scipy's fsolve optimizer, numerically using the gekko optimizer, and symbolically using sympy.
00:00 graphical solution w/ matplotlib
4:00 scipy fsolve
7:55 gekko solver
8:55 sympy symbolic solver

Пікірлер: 21

  • @mauri1996fs
    @mauri1996fs Жыл бұрын

    awesome! Thanks for the tutorial, really well done:)

  • @5eurosenelsuelo
    @5eurosenelsuelo Жыл бұрын

    Great video for beginners. Thanks!

  • @Naresh_Patra
    @Naresh_Patra3 жыл бұрын

    thank you so much finally i got it what i was searching from 3months

  • @henryach
    @henryach9 ай бұрын

    Great video, succinct and helpful

  • @tomip2636
    @tomip26362 жыл бұрын

    Hello Taylor! I really like the video, I learned alot but do you know what I need so that python writes the square roots instead of writing sqrt? Yours seems to be doing it well. Is it the different IDE's or a math library? Have a wonderful weekend.

  • @amirshahmohammadi5897
    @amirshahmohammadi58972 жыл бұрын

    Thank you, it was very helpful

  • @Prometosermejor
    @Prometosermejor Жыл бұрын

    Thanks!

  • @Naresh_Patra
    @Naresh_Patra3 жыл бұрын

    Can you put videos on how to get the exact calculations values using sympy? Because using this we are getting sqrt value.. I need not in sqrt form

  • @vivekkhatua
    @vivekkhatua3 жыл бұрын

    Hey what happens when two equation or a set of equations do not have a solution? what does sym.solve(##) give? will it be a empty matrix/vector?

  • @rosannagomar2067
    @rosannagomar20672 жыл бұрын

    Nice! But I still have one problem, in the second method, imagine that x cannot be negative how can we put this in phyton?

  • @yem.t.3930
    @yem.t.39303 жыл бұрын

    Nice tutorial !!

  • @TaylorSparks

    @TaylorSparks

    3 жыл бұрын

    Thanks!!

  • @jonathanbyamungu5433
    @jonathanbyamungu54333 жыл бұрын

    I am issues solving one long complicated and exponential two-variable equation with any of these methods in python. Keeps giving me errors

  • @alireza-kb9jw
    @alireza-kb9jw2 жыл бұрын

    awesome

  • @gegelagaffe
    @gegelagaffe Жыл бұрын

    I have two non linear equations to solve for a huge dataset ( 700000 set of equations to solve). I tried the nsolve function but the symbolic calculation is too slow. Do you have an idea which solver to use ?

  • @user-nx7hs7kz3l
    @user-nx7hs7kz3l3 жыл бұрын

    how did you do #.%%? how to press that kind of middle multiplication dot

  • @varunmehrotra1053

    @varunmehrotra1053

    3 жыл бұрын

    no need for the multiplication dot.... Its a way of showing blank space in spyder(i think in earlier versions) just use #%% and it will create a new tab

  • @simonbaker9909
    @simonbaker9909 Жыл бұрын

    What is that IDE you are using?

  • @TaylorSparks

    @TaylorSparks

    Жыл бұрын

    I like Spyder!

  • @Dusadof
    @Dusadof Жыл бұрын

    dude you do not need to display yourself

  • @TaylorSparks

    @TaylorSparks

    Жыл бұрын

    🤷‍♂️a little humanity doesn't hurt

Келесі