{"uid":"cap_wdNQ9VG9KNDXsi3s5DIix","slug":"quadratic-formula-calculator-x402-forgemesh-io-b04ceee9","name":"Quadratic Formula Calculator (x402.forgemesh.io)","description":"Solves quadratic equations (ax squared + bx + c = 0) from numeric coefficients, returning both roots — real or complex — along with the discriminant. Also handles linear equations and small 2x2 systems. For algebra homework checking, engineering calculations, and any agent that needs exact roots instead of an approximated answer.","url":"https://x402.forgemesh.io/quadratic-formula-calculator","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_fFyGZTklITcs_3o3SYpxr","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 quadratic equations (ax²+bx+c=0), linear equations, and 2x2 linear systems, returning exact real or complex roots and the discriminant.","exampleAgentPrompt":"Solve the quadratic equation 2x² + 3x - 5 = 0 for me and give me both roots along with the discriminant — I need the exact values, not a decimal approximation.","exampleUseCases":null,"resultDescription":"Returns both roots (real or complex) of the specified equation, the discriminant value, and relevant classification of the solution (e.g. two distinct real roots, repeated root, complex conjugate pair).","failureModes":["Missing required coefficient fields returns a validation error","Non-numeric coefficient strings cause a parsing error","Unrecognized 'type' enum value (not 'linear', 'quadratic', or 'system2') returns an error","Incomplete 2x2 system parameters (missing a1/a2/b1/b2/c1/c2) causes a failure","Payment not provided or insufficient USDC results in HTTP 402"],"whenToPreferThis":"Choose this endpoint when you need exact algebraic roots (including complex numbers) of a quadratic, linear equation, or 2x2 system rather than numerical approximation. Particularly useful for homework verification, engineering calculations, and any workflow requiring discriminant values or symbolic-quality precision at low cost ($0.002/call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:59:10.539Z","isFirstParty":false}