Oran Sadeleştirme Hesaplama: API ve MCP
Oran Sadeleştirme Hesaplama için REST ve MCP başvurusu: girdi alanları, sınırlar, çıktılar, örnek istek ve gerçek yanıt. Ücretsiz, kayıt yok.
GET /api/v1/tools/math.simplify-ratio/mcp/math
- Kimlik
math.simplify-ratio- Sürüm
- 1.0.0
- Erişim
- Ücretsiz
- Araç sayfası
- Oran Sadeleştirme Hesaplama
- Şema
GET /api/v1/tools/math.simplify-ratio
Girdiler
| Alan | Tür | Sınırlar | Varsayılan | Açıklama |
|---|---|---|---|---|
a (zorunlu) | number | > 0, ≤ 1.000.000.000 | a (birinci terim) | |
b (zorunlu) | number | > 0, ≤ 1.000.000.000 | b (ikinci terim) |
Çıktılar
| Alan | Tür | Açıklama |
|---|---|---|
simplifiedA | number | Sade oranın birinci terimi |
simplifiedB | number | Sade oranın ikinci terimi |
gcd | number | EBOB |
scale | number | Tam sayı çarpanı |
quotient | number | Oranın değeri (a / b) |
perFirst | number | 1 : n biçiminde n (b / a) |
Örnek istek
curl -X POST https://hesaplayici.com/api/v1/tools/math.simplify-ratio/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"a":12,"b":18},"locale":"tr"}'Örnek yanıt
{
"output": {
"simplifiedA": 2,
"simplifiedB": 3,
"gcd": 6,
"scale": 1,
"quotient": 0.6666666666666666,
"perFirst": 1.5
},
"steps": [
{
"id": "gcd",
"formula": "EBOB = EBOB(a, b)",
"substitution": "EBOB = EBOB(12, 18)",
"value": 6
},
{
"id": "simplifiedA",
"formula": "sade a = a / EBOB",
"substitution": "sade a = 12 / 6",
"value": 2
},
{
"id": "simplifiedB",
"formula": "sade b = b / EBOB",
"substitution": "sade b = 18 / 6",
"value": 3
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "tr"
},
"citation": {
"url": "https://hesaplayici.com/matematik/oran-sadelestirme-hesaplama",
"title": "Oran Sadeleştirme Hesaplama"
}
}