# PI Function in Excel

PI Function in Microsoft Excel

### Part 1: Introduce

Definition:
The PI function in Microsoft Excel returns the mathematical constant π (pi), which is approximately 3.14159265358979.

Purpose:
The function provides the value of pi, which is essential in various mathematical, scientific, and engineering calculations.

Syntax & Arguments:

syntax
PI() 

Explain the Arguments in the function:
The PI function does not have any arguments.

Return value:
The function returns the value of pi, accurate to 15 digits.

Remarks:
The PI function is a constant representing the ratio of a circle’s circumference to its diameter.

### Part 2: Examples

Example 1:
Purpose of example: To return the value of pi.

ABC
1FormulaResult
2=PI()3.141592654

Explanation: This example demonstrates the primary usage of the PI function, which returns the value of pi.

Example 2:
Purpose of example: To calculate the area of a circle with a given radius.

ABC
23=PI()*(A2^2)28.27433388

Explanation: The formula calculates the area of a circle using the formula

, where r is the radius. In this case, the radius is 3, so the area is approximately 28.27.

Example 3:
Purpose of example: To calculate the circumference of a circle with a given diameter.

ABC
1DiameterFormulaResult
25=PI()*A215.70796327

Explanation: The formula calculates the circumference of a circle using the formula

$\mathrm{dis the diameter. In this case, the diameter is 5, so the circumference is approximately 15.71.}$

Example 4:
Purpose of example: To calculate the volume of a cylinder with a given radius and height.

ABCD
2410=PI()*(A2^2)*B2502.6548246

Explanation: The formula calculates the volume of a cylinder using the formula

, where r is the radius, and h is the height. In this case, the radius is 4, and the height is 10, so the volume is approximately 502.65.

Example 5:
Purpose of example: To calculate the surface area of a sphere with a given radius.

ABC
3. 🚀 Remember, the PI function does not take any arguments, so always use it as PI().