hesaplayıcı
Menü

Kombinasyon ve Permütasyon Hesaplama: API ve MCP

Kombinasyon ve Permütasyon 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.combinations/mcp/math

Kimlik
math.combinations
Sürüm
1.0.0
Erişim
Ücretsiz
Araç sayfası
Kombinasyon ve Permütasyon Hesaplama
Şema
GET /api/v1/tools/math.combinations

Girdiler

AlanTürSınırlarVarsayılanAçıklama
modestringcombination | permutation | combinationRepetition | permutationRepetitioncombinationHesap türü
n (zorunlu)integer≥ 1, ≤ 1.000Eleman sayısı (n) · Seçimin yapıldığı farklı eleman sayısı, 1 ile 1.000 arası.
r (zorunlu)integer≥ 0, ≤ 1.000Seçilen sayı (r) · Kaç eleman seçildiği ya da sıralandığı, 0 ile 1.000 arası.

Çıktılar

AlanTürAçıklama
resultstringSeçim sayısı
digitsnumberBasamak sayısı

Örnek istek

curl -X POST https://hesaplayici.com/api/v1/tools/math.combinations/execute \
  -H 'Content-Type: application/json' \
  -d '{"input":{"mode":"combination","n":10,"r":3},"locale":"tr"}'
Örnek yanıt
{
  "output": {
    "result": "120",
    "digits": 3
  },
  "steps": [
    {
      "id": "factorial.10",
      "formula": "n! = 1 × 2 × … × n",
      "substitution": "10! = 1 × 2 × … × 10",
      "value": 3628800
    },
    {
      "id": "factorial.3",
      "formula": "r! = 1 × 2 × … × r",
      "substitution": "3! = 1 × 2 × 3",
      "value": 6
    },
    {
      "id": "factorial.7",
      "formula": "(n − r)! = 1 × 2 × … × (n − r)",
      "substitution": "7! = 1 × 2 × … × 7",
      "value": 5040
    },
    {
      "id": "result",
      "formula": "C(n, r) = n! / (r! × (n − r)!)",
      "substitution": "C(10, 3) = 3.628.800 / (6 × 5.040)",
      "value": 120
    }
  ],
  "notes": [],
  "meta": {
    "toolVersion": "1.0.0",
    "locale": "tr"
  },
  "citation": {
    "url": "https://hesaplayici.com/matematik/kombinasyon-hesaplama",
    "title": "Kombinasyon ve Permütasyon Hesaplama"
  }
}