Skip to main content
Glama
agmonetti

mathmethods-mcp

by agmonetti

root_newton_raphson

Find roots of single-variable equations f(x)=0 via Newton-Raphson with numeric derivative. Returns root, iteration table, and convergence flag.

Instructions

Find a root of f(x) = 0 with the Newton-Raphson method (numeric derivative).

Args: func_str: Math expression in x. x0: Initial guess. tol: Convergence tolerance. max_iter: Maximum iterations. precision: Rounding digits.

Returns: Dict with the root, iteration table and convergence flag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x0Yes
tolNo
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