Octave Tutorial #15: Solve Polynomial Equations using Octave/Matlab

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

КОМЕНТАРІ • 17

  • @mr.stemedutv5514
    @mr.stemedutv5514  3 роки тому +4

    Hope this tutorial video is useful for you who would like to learn Matlab and GNU Octave, and please let me know if you have any questions and comments!

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

    Thanks very much.
    I tried the problem you gave at the end:
    >> roots([1 -5 5 5 -6])
    ans =
    3.0000
    -1.0000
    2.0000
    1.0000
    I also got complex roots (for x^2 + 1 = 0):
    >> roots([1 0 1])
    ans =
    -0 + 1i
    0 - 1i

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

    Wow. This is a fantastic way to check my homework. Thank you, sir. Great video.

  • @chhayanktarkarietlucknow212
    @chhayanktarkarietlucknow212 3 роки тому +2

    very very helpful

    • @jam-ss2jc
      @jam-ss2jc 2 роки тому +1

      Bro

    • @jam-ss2jc
      @jam-ss2jc 2 роки тому +1

      Please help 🙏

    • @jam-ss2jc
      @jam-ss2jc 2 роки тому +1

      Do you know how to solve non linear system of equations in octave?

    • @jam-ss2jc
      @jam-ss2jc 2 роки тому +1

      Suppose there are two simultaneous quadratic equations and we want to calculate the values of it... Then how do we do this in octave?

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

      Ye mene bahut phle pda tha ab to sb bhul gya bro

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

    Thanks

  • @jam-ss2jc
    @jam-ss2jc 2 роки тому

    Please help 🙏🙏
    Suppose there are two simultaneous quadratic equations and we want to calculate the values of it... Then how do we do this in octave?

    • @mr.stemedutv5514
      @mr.stemedutv5514  2 роки тому

      You can use "fsolve" function in Octave or Matlab. I can make the video for you shortly.

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

    hello sir, what about x^100 -121 ? how to write it in octave? thanks alot

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

      I guess it will be roots([1 0 0 0 ... 0 0 0 -121]). Between 1 and -121 there should be 99 zeros.

    • @mr.stemedutv5514
      @mr.stemedutv5514  2 роки тому

      Yes, it should be. To make 99 zeros, you can use "zeros(1,99)".

  • @g1ntok147
    @g1ntok147 3 роки тому

    How to solve non linear equations in octave