hesaplayıcı
Menu

Square Root and Cube Root Calculator: API and MCP

Square Root and Cube Root Calculator over REST and MCP: input fields, limits, outputs, one example request and its real answer. Free, no sign-up.

GET /api/v1/tools/math.square-root/mcp/math

Id
math.square-root
Version
1.0.0
Access
Free
Tool page
Square Root and Cube Root Calculator
Schema
GET /api/v1/tools/math.square-root

Input

FieldTypeConstraintsDefaultDescription
x (required)number≥ -1,000,000,000,000, ≤ 1,000,000,000,000Number
ninteger≥ 2, ≤ 1002Index of the root (n) · 2 for a square root, 3 for a cube root.

Output

FieldTypeDescription
rootnumberRoot
coefficientnumberCoefficient outside the root (a)
radicandnumberNumber under the root (b)
notSimplifiedbooleanThe number is not whole, so the root is not simplified: a = 1 and b is the number itself.

Example request

curl -X POST https://hesaplayici.com/api/v1/tools/math.square-root/execute \
  -H 'Content-Type: application/json' \
  -d '{"input":{"x":72,"n":2},"locale":"en"}'
Example answer
{
  "output": {
    "root": 8.48528137423857,
    "coefficient": 6,
    "radicand": 2,
    "notSimplified": false
  },
  "steps": [
    {
      "id": "root",
      "formula": "root = √x",
      "substitution": "root = √72",
      "value": 8.48528137423857
    },
    {
      "id": "simplified",
      "formula": "√x = a × √b, a² × b = x",
      "substitution": "√72 = √(6² × 2) = 6 × √2",
      "value": 8.48528137423857
    }
  ],
  "notes": [],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/math/square-root-calculator",
    "title": "Square Root and Cube Root Calculator"
  }
}