MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: extracting decimal digits of Pi

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55851] Re: extracting decimal digits of Pi
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 8 Apr 2005 01:36:23 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <d32uuv$d0p$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

dat=RealDigits[N[Pi, 500000]][[1]] // Rest

may help.

Regards
  Jens

"zak" <chocolatez at gmail.com> schrieb im 
Newsbeitrag news:d32uuv$d0p$1 at smc.vnet.net...
> hi
> in my previous letter i mentioned extracting the 
> first 100000 decimal
> digits of Pi, and to put it in a List.
> the following code is my version,:
> dat = 
> IntegerDigits[ToExpression[StringDrop[ToString[N[Pi, 
> 500000]], 2]]];
>
> i think it is consuming the memory of the 
> computer.
> i hope there is another version.
>
> regards
> zak
> 



  • Prev by Date: Re: spiral cipher
  • Next by Date: Re: ploting functions slowly
  • Previous by thread: Re: extracting decimal digits of Pi
  • Next by thread: Using "%" command with .NET/Link in the MathKernelApp Demo