Equation Solve
equation_solveSolve equations exactly where possible. Polynomials of any degree up to 100: exact rational roots, exact surd forms for quadratic factors ("(3 + √5)/2", complex "(-1 + i√3)/2"), multiplicities via square-free factorisation, and high-precision numeric roots (Aberth–Ehrlich + Newton polishing) for the rest. Any other single-variable equation ("cos(x) = x", "2^x = x^2 + 1", "ln(x) + x = 5") is solved numerically over a range with sign scanning + Brent's method, rejecting poles. Systems of linear equations ("2x + 3y = 7", "x - y = 1") are solved with exact rational Gaussian elimination, reporting unique, none, or infinitely many solutions in parametric form. Price: $0.002 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/equation-solve
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "equation_solve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Numeric mode: search range end | |
| min | No | Numeric mode: search range start | |
| angle | No | rad | |
| equation | No | One equation, e.g. "x^2 - 5x + 6 = 0" (no "=" means "= 0") | |
| variable | No | Variable to solve for (auto-detected) | |
| equations | No | Linear system, e.g. ["2x + 3y = 7", "x - y = 1"] |