compute_pi_nilakantha
Calculate the mathematical constant pi to a specified precision using the Nilakantha series approximation method.
Instructions
Compute pi using the Nilakantha series: π = 3 + 4/(2×3×4) - 4/(4×5×6) + 4/(6×7×8) - ... (Domain: arithmetic, Category: mathematical_constants)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes |