{"uid":"cap_OPxU9-ctt53C0LmnuI0gt","slug":"complex-number-arithmetic-and-operations-solver-ea3ade28","name":"Complex Number Arithmetic and Operations Solver","description":"Complex number arithmetic, modulus and argument, integer powers, square root and n-th roots, in rectangular and polar form.","url":"https://math-geometry.x402tookit.com/complex-ops?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["op","z"],"properties":{"n":{"type":"integer","description":"Integer for power (-50 to 50) or root count (2 to 50)"},"w":{"type":"string","description":"Second number for add, subtract, multiply and divide"},"z":{"type":"string","description":"Complex number such as 3+4i"},"op":{"type":"string","description":"add, subtract, multiply, divide, power, roots, polar, conjugate or sqrt"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"result":{"type":["null","object"],"properties":{"im":{"type":["null","number"]},"re":{"type":["null","number"]},"text":{"type":["null","string"]}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IdF0ez3SOEt_isrlI49D_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs arithmetic, modulus, argument, powers, roots, polar/rectangular conversion, and conjugate operations on complex numbers.","exampleAgentPrompt":"What are all 4 fourth-roots of the complex number 1+1i? Give me the results in rectangular form.","exampleUseCases":[{"title":"Polar form conversion for signal analysis","prompt":"Convert the complex number 3+4i to polar form — I need the modulus and argument."},{"title":"Power computation for electrical engineering","prompt":"Raise the complex number 2+3i to the power of 6 and give me the result."},{"title":"All cube roots of a complex number","prompt":"Find all three cube roots of -8+0i so I can see each one in rectangular form."}],"resultDescription":"Returns an object with the real part (re) and imaginary part (im) of the result as numbers, a human-readable text representation, and a summary string. For multi-valued operations like roots, multiple results may be returned.","failureModes":["Missing required query parameter 'op' or 'z' returns an error","Invalid operation name for 'op' returns an unrecognized operation error","Integer exponent 'n' out of range (-50 to 50 for power, 2-50 for roots) returns a validation error","Malformed complex number string for 'z' or 'w' returns a parse error","Operations requiring 'w' (add, subtract, multiply, divide) that omit 'w' return an error"],"whenToPreferThis":"Choose this endpoint when you need precise complex number arithmetic or transformations — including polar conversion, root extraction, or integer powers — and want a single API call that handles the full range of complex operations without requiring a general-purpose math library or code execution environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:12:44.938Z","isFirstParty":false,"canonicalSlug":"complex-number-arithmetic-and-operations-solver-ea3ade28"}