Difference between revisions of "Manuals/calci/PIGEN"

From ZCubes Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
*It is denoted by the Greek letter <math>\pi</math>.
 
*It is denoted by the Greek letter <math>\pi</math>.
 
*<math>\pi</math> is commonly defined as the ratio of a circle's circumference C to its diameter d.  
 
*<math>\pi</math> is commonly defined as the ratio of a circle's circumference C to its diameter d.  
*So <math>\pi</math>=\frac{C}{d}</math>, the ratio <math>\frac{C}{d}</math> is constant, and it is not considering the circle's size.
+
*So <math>\pi</math>=<math>\frac{C}{d}</math>, the ratio <math>\frac{C}{d}</math> is constant, and it is not considering the circle's size.
 
*<math>\pi</math> is a transcendental number and irrational number.  
 
*<math>\pi</math> is a transcendental number and irrational number.  
 
*Being an irrational number,π cannot be expressed exactly as a ratio of any two integers ,but we can express as the fraction 22/7 is approximate to the  <math>\pi</math> value.
 
*Being an irrational number,π cannot be expressed exactly as a ratio of any two integers ,but we can express as the fraction 22/7 is approximate to the  <math>\pi</math> value.
Line 15: Line 15:
  
 
==Examples==
 
==Examples==
 +
# PIGEN = 3.1
 +
# PIGEN(14) = 3.141
 +
# PIGEN() = 3.141592653589793238477496625589926410505632020
  
 
==See Also==
 
==See Also==
Line 27: Line 30:
  
 
*[[ Z3 |  Z3 home ]]
 
*[[ Z3 |  Z3 home ]]
 
<math>\pi</math>=\frac{C}{d}</math>
 

Revision as of 18:18, 23 August 2017

PIGEN (NumberOfIterations)


  • is any number.

Description

  • This function is showing the value of pi with some didgits.
  • In , is any number.
  • The pi is a mathematical constant with a value approximate to 3.14159.
  • It is denoted by the Greek letter .
  • is commonly defined as the ratio of a circle's circumference C to its diameter d.
  • So =, the ratio is constant, and it is not considering the circle's size.
  • is a transcendental number and irrational number.
  • Being an irrational number,π cannot be expressed exactly as a ratio of any two integers ,but we can express as the fraction 22/7 is approximate to the value.
  • Also no fraction can be its exact value.
  • This function is showing the value generally with nearly 40 decimals.

Examples

  1. PIGEN = 3.1
  2. PIGEN(14) = 3.141
  3. PIGEN() = 3.141592653589793238477496625589926410505632020

See Also

References