## [Maxima-commits] CVS: maxima/doc/info mnewton.texi,1.4,1.5

 [Maxima-commits] CVS: maxima/doc/info mnewton.texi,1.4,1.5 From: Leo Butler - 2010-04-30 14:32:52 ```Update of /cvsroot/maxima/maxima/doc/info In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv24688/doc/info Modified Files: mnewton.texi Log Message: This documents that newtonepsilon also controls the type of float used in mnewton's computations. Index: mnewton.texi =================================================================== RCS file: /cvsroot/maxima/maxima/doc/info/mnewton.texi,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- mnewton.texi 28 Nov 2007 03:36:51 -0000 1.4 +++ mnewton.texi 30 Apr 2010 14:32:43 -0000 1.5 @@ -21,7 +21,7 @@ Default value: @code{10.0^(-fpprec/2)} Precision to determine when the @code{mnewton} function has converged towards the solution. - +If @code{newtonepsilon} is a bigfloat, then @code{mnewton} computations are done with bigfloats. See also @code{mnewton}. @opencatbox @@ -69,6 +69,17 @@ (%o4) [[u = 1.066618389595407, v = 1.552564766841786]] @end example +The variable @code{newtonepsilon} controls the precision of the +approximations. It also controls if computations are performed with +floats or bigfloats. + +@example +(%i1) (load("mnewton"), fpprec : 25, newtonepsilon : bfloat(10^(-fpprec+5)))\$ + +(%i2) mnewton([2*3^u-v/u-5, u+2^v-4], [u, v], [2, 2]); +(%o2) [[u = 1.066618389595406772591173b0, v = 1.552564766841786450100418b0]] +@end example + To use this function write first @code{load("mnewton")}. See also @code{newtonepsilon} and @code{newtonmaxiter}. @opencatbox ```

 [Maxima-commits] CVS: maxima/doc/info mnewton.texi,1.4,1.5 From: Leo Butler - 2010-04-30 14:32:52 ```Update of /cvsroot/maxima/maxima/doc/info In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv24688/doc/info Modified Files: mnewton.texi Log Message: This documents that newtonepsilon also controls the type of float used in mnewton's computations. Index: mnewton.texi =================================================================== RCS file: /cvsroot/maxima/maxima/doc/info/mnewton.texi,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- mnewton.texi 28 Nov 2007 03:36:51 -0000 1.4 +++ mnewton.texi 30 Apr 2010 14:32:43 -0000 1.5 @@ -21,7 +21,7 @@ Default value: @code{10.0^(-fpprec/2)} Precision to determine when the @code{mnewton} function has converged towards the solution. - +If @code{newtonepsilon} is a bigfloat, then @code{mnewton} computations are done with bigfloats. See also @code{mnewton}. @opencatbox @@ -69,6 +69,17 @@ (%o4) [[u = 1.066618389595407, v = 1.552564766841786]] @end example +The variable @code{newtonepsilon} controls the precision of the +approximations. It also controls if computations are performed with +floats or bigfloats. + +@example +(%i1) (load("mnewton"), fpprec : 25, newtonepsilon : bfloat(10^(-fpprec+5)))\$ + +(%i2) mnewton([2*3^u-v/u-5, u+2^v-4], [u, v], [2, 2]); +(%o2) [[u = 1.066618389595406772591173b0, v = 1.552564766841786450100418b0]] +@end example + To use this function write first @code{load("mnewton")}. See also @code{newtonepsilon} and @code{newtonmaxiter}. @opencatbox ```