MATLAB - Newton's Method

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

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

  • @sankoktas420
    @sankoktas420 2 года назад +2

    Man's out there saving livessss!

  • @michaelwirtzfeld7847
    @michaelwirtzfeld7847 3 года назад +1

    Thank you. Can you please elaborate on the logarithmic function that was passed on in favour of the cosine function? Likely a new can or worms, but it would be nice to see a formal explanation.

  • @kyuichi2225
    @kyuichi2225 2 года назад +1

    You're a life saver. My class at UCM holds an hour and thirty minutes of theory and comcepts 3 times a week, and 1 hour matlab discussion only on Friday. I didn't know where to start - thank you so much. By chance have you cover Lagrange interpolation in your videos ?

    • @JoelRosenfeld
      @JoelRosenfeld  2 года назад +2

      I have a couple of videos on interpolation. The first video does Lagrange interpolation, and I have code for the Vandermonde approach on another video. The same polynomials at the end of the day, since interpolating n+1 points with a polynomial of degree n or less is uniquely determined

  • @brianchoi4542
    @brianchoi4542 Год назад +1

    Hello ThatMathThing. I believe you are having a trouble implementing the Newton's method with log x + x, because your derivative (in Matlab) is 1/x - x. Please see 8:41.

    • @JoelRosenfeld
      @JoelRosenfeld  Год назад +1

      Hah whoops! Thanks for catching that. I threw these videos together in a rush

    • @brianchoi4542
      @brianchoi4542 Год назад +1

      Otherwise all look great. Thanks for the video. -BC

  • @edgaraskryzevicius9369
    @edgaraskryzevicius9369 3 года назад

    6:05 You've written xnext = xnext - f(xnext)/fdiff(xnext). Shouldn't the formula look like this: xnext = xnext - f`(xnext)/f``(xnext). First derivative divided by second derivative instead of 0th derivative divided by 1st derivative?

    • @JoelRosenfeld
      @JoelRosenfeld  3 года назад +2

      Newton’s method is the zeroth divided by the first. The first divided by the second comes up in the proof of convergence, I believe. Newton’s method is a first order method, and doesn’t require the second derivative.