File:NewtonsMethodConvergenceFailure.svg
Summary
Description | Plot of x^3 - 2x + 2, including tangent lines at x = 0 and x = 1. Illustrates why Newton's method doesn't always converge for this function. |
Date | |
Source | Self-made, created using FooPlot and modified in Inkscape. |
Author | Aaron Rotenberg |
Gnuplot
# Author: Ika, 24 Aug 2013 set terminal svg size 1000 1000 fixed enhanced fname 'Times' fsize 36 set output "Newton_Method_SVG.svg" set samples 2000 set autoscale fix set xrange [-3:4] set yrange [-3:4] set grid set xtics -3,1,4 set ytics -3,1,4 set xzeroaxis linewidth 2.5 set yzeroaxis linewidth 2.5 set nokey unset border set multiplot plot x lw 2 lc rgb "red" plot -2*x+2 lw 2 lc rgb "blue" plot x*x*x-2*x+2 lw 2 lc rgb "black" unset multiplot
Licensing
![]() |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |