Newtons Method Program?
Mostrar comentarios más antiguos
Hello, I need to create a program which uses newton's method (xvn+1v=[f(xvnv)]/[f'(xvnv)]....(i use v to indicate subscripts) to estimate solution of any given equation until they are within .001 of each other. I know i'll need function files for both f and f' as well as a plot of f to get xv1v, as a starting guess, but i dont know what to do from there, any help would be greatly appreciated as i know almost nothing about matlab, thanks
Respuestas (1)
Matt Fig
el 30 de Mzo. de 2011
0 votos
From there I would guess you start implementing Newton's method to solve the problem.
Where are you stuck?
2 comentarios
Catherine
el 30 de Mzo. de 2011
Matt Fig
el 30 de Mzo. de 2011
If you make one M-file for the function and one for its derivative, then the third M-file would be to take these two and apply Newton's method to find a root. So the third M-file should be a general application of Newton's method.
Categorías
Más información sobre Systems of Nonlinear Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!