Question: i want to solve a equation with newton method

hi . i want to solve a equation with newton method but i cant, 

restart;
f(x):=x^2-3;
df(x):=diff(f(x),x);
x:=1;
for i from 2 to 5 by 1 do
    x:=x-(f(x)/df(x));
    print(x);
    end do

Please Wait...