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
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
x (required) | number | ≥ -1,000,000,000,000, ≤ 1,000,000,000,000 | Number | |
n | integer | ≥ 2, ≤ 100 | 2 | Index of the root (n) · 2 for a square root, 3 for a cube root. |
Output
| Field | Type | Description |
|---|---|---|
root | number | Root |
coefficient | number | Coefficient outside the root (a) |
radicand | number | Number under the root (b) |
notSimplified | boolean | The 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"
}
}