This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Pi

Pi
is , with numerical value .
  • Mathematical constant treated as numeric by NumericQ and as a constant by D.
  • Pi can be evaluated to any numerical precision using N.
Pi can be entered as Esc p Esc:
Evaluate to any precision:
Do an exact numerical computation:
Pi can be entered as Esc p Esc:
In[1]:=
Click for copyable input
Out[1]=
 
Evaluate to any precision:
In[1]:=
Click for copyable input
Out[1]=
 
Do an exact numerical computation:
In[1]:=
Click for copyable input
Out[1]=
Find the millionth digit of in base 10:
Find an area of a circle:
The first 20 digits of in base 10:
Trigonometric functions have arguments in radians:
Many mathematical functions and operations give results involving :
Various symbolic relations are automatically used:
Pi is treated as a constant in differentiation:
Walk corresponding to the binary digits of :
Terms in the continued fraction:
New in 1 | Last modified in 3