{"uid":"cap_8mWiUu99DvsWUbYVXuf2d","slug":"forgemesh-linear-equation-solver-3fe934eb","name":"ForgeMesh Linear Equation Solver","description":"Equation solver for linear equations, quadratics with real or complex roots, and 2x2 systems of linear equations, given structured numeric coefficients rather than a text expression to parse. For engineering checks, math tutoring tools, and agents that need guaranteed-exact algebraic solutions.","url":"https://x402.forgemesh.io/linear-equation-solver","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"string"},"b":{"type":"string"},"c":{"type":"string"},"a1":{"type":"string"},"a2":{"type":"string"},"b1":{"type":"string"},"b2":{"type":"string"},"c1":{"type":"string"},"c2":{"type":"string"},"type":{"type":"string","description":"linear | quadratic | system2"}}},"responseSchema":{"type":"json","example":{"roots":[2,1],"nature":"two real roots","discriminant":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4VU50YbT26ZFXZTdMs5LJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Solves linear equations, quadratic equations (real and complex roots), and 2x2 systems of linear equations given structured numeric coefficients","exampleAgentPrompt":"Can you solve the quadratic equation 2x² + 3x - 5 = 0 and give me the exact roots, including any complex ones if they exist?","exampleUseCases":null,"resultDescription":"Returns exact algebraic solutions: for linear equations, the value of x; for quadratics, both roots (real or complex); for 2x2 systems, the values of both variables x and y that satisfy both equations simultaneously.","failureModes":["Missing required coefficients for the chosen equation type returns a validation error","Invalid or non-numeric coefficient strings cause parsing errors","Unsupported equation type string returns an error","Division by zero for degenerate cases (e.g. a=0 for quadratic) may return an error or fallback","Network or payment failure returns a 402 or 5xx response"],"whenToPreferThis":"Choose this endpoint when you need guaranteed-exact algebraic solutions to standard equation types (linear, quadratic, or 2x2 linear systems) and your coefficients are already known numerically. Prefer this over symbolic math libraries when you want a simple API call with no local computation, or over LLM-based math when you need precision and determinism. Not suitable for higher-degree polynomials, symbolic/variable coefficients, or natural language math expressions that need parsing first.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:58:53.520Z","isFirstParty":false}