<div class="code">    
<pre class="verbatim">
x = [0.1: .001:3];
x0 = 2;
x1 = 2*(1 - log(2)); 
plot(x, x.^-1 - 1 , '-b', x, -(1/x0)^2*(x - x0) + (1/x0 -1), '--b')
grid on;
ylabel('y');
xlabel('x');
title('Illustration de la methode de Newton');
</pre>
</div>