[Date Index] [Thread Index] [Author Index]
Re: Pi is not a real number?
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