Skip to main content
Glama
agmonetti

mathmethods-mcp

by agmonetti

root_comparar

Compare bisection, fixed-point, Newton-Raphson, and Aitken methods on a single root-finding problem to evaluate convergence and accuracy.

Instructions

Compare bisection, fixed-point, Newton-Raphson and Aitken on the same problem.

Args: func_str: Math expression for f(x) (used by bisection/Newton). g_str: Math expression for g(x) (used by fixed-point/Aitken). a, b: Bracket for bisection (f(a) and f(b) must differ in sign). x0: Initial guess. tol, max_iter, precision: Shared tolerances.

Returns: Dict with per-method results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYes
bYes
x0Yes
tolNo
g_strYes
func_strYes
max_iterNo
precisionNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agmonetti/mathmethods-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server