Solving Equations - SymPy Tutorial 04

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 13

  • @Red___Beast
    @Red___Beast 3 місяці тому +2

    These videos are hidden gems

  • @ishaan2863
    @ishaan2863 2 роки тому +4

    Really great vids till now, precise and to the point.

    • @TMQuest
      @TMQuest  2 роки тому +2

      Thanks, we're glad you like them :)

  • @Blackheart-nr6tk
    @Blackheart-nr6tk Рік тому +1

    These videos are really very great.

  • @AJ-et3vf
    @AJ-et3vf 2 роки тому +2

    Great video! Thank you!

  • @cs8833
    @cs8833 2 роки тому +1

    Great job done, Thumbs up!
    got a question: make z is a complex symbol as shown in the video
    why solveset(z**2+1=0) gives no solution?

    • @TMQuest
      @TMQuest  2 роки тому

      Thanks!
      If you make a symbol
      z = sp.symbol('x')
      then create an equation
      eq = sp.Eq(z ** 2, -1)
      and write
      sp.solveset(eq, z)
      then you should get all the complex solutions (namely i and -i). Do you not get this?

    • @cs8833
      @cs8833 2 роки тому +1

      @@TMQuest yeah, thanks, it works now!😄

  • @mikekramer7737
    @mikekramer7737 2 роки тому +1

    The system of linear equations results in 1 set of 1 tuple with 3 elements. to unpack use list(sol)[0][element]. It may come in future videos, but the function sp.solve directly creates a list rather than a set, which does need to be converted. If you know the solutions are finite, is there a reason not to use solve ?

    • @TMQuest
      @TMQuest  2 роки тому

      I think in this case, using solve would also work fine :)

  • @maxnord9356
    @maxnord9356 2 роки тому +1

    Great. Is is there a GitHub repo?

    • @TMQuest
      @TMQuest  2 роки тому

      No, not for this project. We're planning on adding github repos for future projects :)