Fundamentals of Numerical Mathematics for Physicists and Engineers. Alvaro Meseguer

Читать онлайн.
Название Fundamentals of Numerical Mathematics for Physicists and Engineers
Автор произведения Alvaro Meseguer
Жанр Математика
Серия
Издательство Математика
Год выпуска 0
isbn 9781119425755



Скачать книгу

(1.2) starting from the same initial guess images. The first two columns of Table 1.1 outline the sequences images and images resulting from the bisection and Newton–Raphson methods, respectively. While the bisection method requires almost 50 iterations to achieve full accuracy, Newton's method does the same job in just 5. In fact, Newton–Raphson's sequence nearly doubles the number of converged digits from one iterate to the next, whereas in the bisection sequence this number grows very slowly (and sometimes even decreases, as seen from images to 6). This is better understood when looking at the third and fourth columns of Table 1.1, where we have included the absolute error corresponding to both methods images, where images is the reference value given in the exact expression (1.3), and whose numerical evaluation with Matlab is images.

and Newton–Raphson
when solving (1.2), with added shading of converged digits.

images Bisection images Newton–Raphson images images images
0 1.5 1.5 images images
1 1.75 1.869 565 215 355 94 images images
2 1.875 1.799 452 405 786 30 images images
3 1.812 5 1.796 327 970 874 37 images images
4 1.781 25 1.796 321 903 282 30 images images
5 1.796 875 1.796 321 903 259 44 images
6 1.789 062 5 1.796 321 903 259 44 images
7 1.792 968 75 images
8 1.794 921 875 images
images images images
46 1.796 321 903 259 45 images
47 1.796 321 903 259 44
48 1.796 321 903 259 44