MathGroup Archive 2008

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

Search the Archive

Re: Pi is not a real number?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86643] Re: Pi is not a real number?
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Sat, 15 Mar 2008 17:45:27 -0500 (EST)
  • Organization: University of Bergen
  • References: <frg0e4$f05$1@smc.vnet.net>

Sebastian Meznaric wrote:
> Try this in Mathematica
> RealDigits[\[Pi], 10, 3, -10^9]
> 
> The answer you get:
> RealDigits::realx: The value \[Pi] is not a real number. >>
> 
> I am using 6.0.0.
> 

That's right, in Mathematica Pi is not a "number", but a "symbol". 
Head[Pi] === Symbol and Head[3.14] === Real.  The digits of Pi must be 
explicitly calculated using N[Pi, 100 (* number of digits)* ] before 
RealDigits can be used on it.  But most probably you will not be able to 
use Mathematica to calculate 10^9 digits of Pi (unless you have a huge 
amount of memory).  Instead, I suggest using a specialized program or an 
online database such as
http://www.pisearch.de.vu/


Also see this thread:
http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/618185d4b162cb2a/df333f3f2d5c0056


  • Prev by Date: Re: Question on Sum[] function
  • Next by Date: Re: LevenbergMarquardt
  • Previous by thread: RE: Re: Pi is not a real number - the News from Mathematica Mathgroup
  • Next by thread: Re: Pi is not a real number?