geometric_sum
Calculate the sum of finite or infinite geometric sequences using the first term and common ratio. Supports both finite series and infinite convergent series when |r| < 1.
Instructions
Calculate the sum of a geometric sequence. For |r| < 1, can calculate infinite series sum. (Domain: arithmetic, Category: general)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first_term | Yes | ||
| common_ratio | Yes | ||
| num_terms | No |