Skip to content
Prev 145295 / 398500 Next

Solving 100th order equation

On 25/05/2008, at 1:10 PM, <Bill.Venables at csiro.au>
<Bill.Venables at csiro.au> wrote:

            
<snip>
It is fascinating to muck about with curve(p,from=a,t=b) for various  
values
	of a and b.

	One eventually discerns that there is a real root just a tad less  
than 2.

	Doing uniroot(p,c(1.5,2.5)) gives a root of just *over* 2 with a  
function
	value of about 1.9e25.

	However uniroot(p,c(1.995,2.005)) gives

	$root
	[1] 1.999993

	$f.root
	[1] -4.570875e+24

	$iter
	[1] 4

	$estim.prec
	[1] 6.103516e-05

	What a difference 7.214144e-06 makes!  When you're dealing with  
polynomials of degree 100.

	Bozhemoi!

		cheers,

			Rolf Turner

P.S.  I suspect that this was a numerical analysis homework question  
designed to teach
a salutary lesson to the nonchalant neophytes.

			R. T.


######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}