constants.pi: Constant - pi - Archimedes' Constant

constants.piR Documentation

Constant - pi - Archimedes' Constant

Description

The ratio of the circumference and diameter of a circle. This formulation of pi is based on the formulation used by NASA/JPL. It provides more digits of resolution than R's built-in version (6 digits after decimal point vs 15 digits).

Usage

constants.pi

Format

An object of class numeric of length 1.

References

NASA/JPL Edu. How Many Decimals of Pi Do We Really Need?. March 16, 2016. Accessed March 15, 2022. https://www.jpl.nasa.gov/edu/news/2016/3/16/how-many-decimals-of-pi-do-we-really-need/

Examples

# options(digits=22)
# pi #Default R version
##[1] 3.141593
# constants.pi #NASA/JPL Version
##[1] 3.1415926535897931


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.