Difference between revisions of "Manuals/calci/PIGEN"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
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(56)= 3.1415926535897 | ||
+ | # PIGEN(14) = 3.141 | ||
+ | # PIGEN() = 3.141592653589793238477496625589926410505632020 | ||
+ | |||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=7QOOqP3XQhA|280|center|Pi Value}} | ||
==See Also== | ==See Also== | ||
Line 27: | Line 35: | ||
*[[ Z3 | Z3 home ]] | *[[ Z3 | Z3 home ]] | ||
− | |||
− |
Latest revision as of 14:56, 7 March 2019
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
- PIGEN(56)= 3.1415926535897
- PIGEN(14) = 3.141
- PIGEN() = 3.141592653589793238477496625589926410505632020