MapleNewtonsMethod.mws

Newton's Method

Examples

>    with(Student[Calculus1]):

>    with(plots):

Warning, the name changecoords has been redefined

>    NewtonsMethod((x^(3/2))*cos(x),x=1.2,output=plot,thickness=2);

[Maple Plot]

>    NewtonsMethod((x^(3/2))*cos(x),x=1.2,output=value);

1.570796327

>    NewtonsMethod(cos(x),x=0.55,output=plot,thickness=2);

[Maple Plot]

>    NewtonsMethod(cos(x),x=0.55,output=value);

1.570796327

>    NewtonsMethod(cos(x),x=0.15,output=plot,thickness=2);

[Maple Plot]

>    NewtonsMethod((x^(3/2))*cos(x),x=1,output=animation,thickness=2,title="5 Iterations of Newton's Method Applied to f(x) = x^(3/2)*cos(x) with Initial Value x = 1");

>   

[Maple Plot]

>    NewtonsMethod((x^(3/2))*cos(x),x=1,output=sequence);

1, 18.41925858, 16.56883723, 17.50073449, 17.27932356, 17.27875962

>    NewtonsMethod((x^(3/2))*cos(x),x=1.2,output=animation,thickness=2,title="5 Iterations of Newton's Method Applied to f(x) = x^(3/2)*cos(x) with Initial Value x = 1.2");

[Maple Plot]

>