Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [mg55859] Re: [mg55841] extracting decimal digits of Pi
  • From: DrBob <drbob at bigfoot.com>
  • Date: Fri, 8 Apr 2005 01:36:32 -0400 (EDT)
  • References: <200504070911.FAA12986@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

Use RealDigits.

Bobby

On Thu, 7 Apr 2005 05:11:03 -0400 (EDT), zak <chocolatez at gmail.com> wrote:

> 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
>
>
>
>



-- 
DrBob at bigfoot.com


  • Prev by Date: Re: ploting functions slowly
  • Next by Date: to those interested in * finding * Mathematica help
  • Previous by thread: extracting decimal digits of Pi
  • Next by thread: Re: extracting decimal digits of Pi