compute_pi_leibniz
Calculate pi by specifying the number of terms in the Leibniz series formula π/4 = 1 - 1/3 + 1/5 - 1/7 + ...
Instructions
Compute pi using the Leibniz formula: π/4 = 1 - 1/3 + 1/5 - 1/7 + ... (Domain: arithmetic, Category: mathematical_constants)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes |