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.
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 ?
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
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.
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?
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.
Man's out there saving livessss!
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.
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 ?
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
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.
Hah whoops! Thanks for catching that. I threw these videos together in a rush
Otherwise all look great. Thanks for the video. -BC
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?
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.