Bisection method in MATLAB

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024

Комментарии • 7

  • @cleidevieira286
    @cleidevieira286 6 лет назад +1

    Very good explanation. Learn

  • @rubiadealbuquerqueevasconc321
    @rubiadealbuquerqueevasconc321 5 лет назад

    Hello! Very nice video, thanks!
    I would like to find the first 6 roots of a function that has a root between every 0:3 interval (there is a root in the interval between 0 an 3, then there is another root in the interval between 3 and 6, then another in the interval between 6 and 9 and continues forever...). Do you know how can I variate the interval to find this 6 first roots? It would be very helpful. Thanks!

  • @umair5807
    @umair5807 5 лет назад

    Good Explanaition

  • @notbnull
    @notbnull 7 лет назад +1

    Learned from this thanks

  • @HanzAlbertNguyen
    @HanzAlbertNguyen 7 лет назад

    what does it mean by MaxN? and MaxN=MaxN-1?

    • @TSpeedsters
      @TSpeedsters  7 лет назад +3

      Hi,
      Thanks for asking a question.
      In this code, we want that there should be a maximum limit on the number of times the loop will operate. This is to prevent getting stuck into an infinite loop. The variable that we are using to do this is called maxN.
      Before starting the while loop we initialize the value as 100.
      And every time inside the loop we reduce it by 1.
      So, maxN = maxN - 1; says.. reduce the value of maxN by 1 and store it again in the same variable.
      I hope this helps. Please get back to us for any other queries.
      Regards,
      Elijah