Coaxing N[] to work
- To: mathgroup at smc.vnet.net
- Subject: [mg73370] Coaxing N[] to work
- From: <p at dirac.org>
- Date: Wed, 14 Feb 2007 05:20:58 -0500 (EST)
Sometimes N[,] doesn't appear to work. Like here: x = {2.0, 3.0, 5.0}; A = { {6.0, 2.0, 1.0}, {2.0, 3.0, 1.0}, {1.0, 1.0, 1.0} }; For[ k=0, k<15, ++k, lambda = x.A.x/(x.x); y = LinearSolve[A,x]; x = y / Norm[y,Infinity]; ] N[lambda, 30] The output is: Out[5]= 0.578933 I was expecting 30 digits. Why did N[] ignore my request for 30 digits?
- Follow-Ups:
- Re: Coaxing N[] to work
- From: "Igor C. Antonio" <igora@wolf-ram.com>
- Re: Coaxing N[] to work
- From: Sseziwa Mukasa <mukasa@jeol.com>
- Re: Coaxing N[] to work