root_aitken
Accelerate fixed-point iteration to find roots using Aitken's delta-squared method. Input the iteration function and initial guess to get the accelerated root with convergence details.
Instructions
Accelerate fixed-point iteration with Aitken's delta-squared method.
Args: g_str: Math expression for the iteration function g(x). x0: Initial guess. tol: Convergence tolerance. max_iter: Maximum iterations. precision: Rounding digits.
Returns: Dict with the accelerated root, iteration table and convergence flag.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x0 | Yes | ||
| tol | No | ||
| g_str | Yes | ||
| max_iter | No | ||
| precision | No |