Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Mathematical Functions > Mathematical Constants >

Pi (Pi)

Pi
is Pi, with numerical value =3.14159.
  • 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 Pi in base 10:
Find an area of a circle:
The first 20 digits of Pi in base 10:
Trigonometric functions have arguments in radians:
Many mathematical functions and operations give results involving Pi:
Various symbolic relations are automatically used:
Pi is treated as a constant in differentiation:
Walk corresponding to the binary digits of Pi:
Terms in the continued fraction:
New in 1 | Last modified in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team