Μετάβαση στο περιεχόμενο
GET /v1/mix

Equilibrium temperature

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/specificheat-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/specificheat-api/v1/mix" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/specificheat-api/v1/mix", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/specificheat-api/v1/mix");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/specificheat-api/v1/mix",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "note": "Assumes a perfectly insulated system with no phase change; heat lost by the hotter body equals heat gained by the colder.",
        "body_1": {
            "mass": 2,
            "temperature": 90,
            "specific_heat": 4186
        },
        "body_2": {
            "mass": 1,
            "temperature": 20,
            "specific_heat": 4186
        },
        "formula": "Tf = (m1·c1·T1 + m2·c2·T2) / (m1·c1 + m2·c2).",
        "equilibrium_temperature": 66.666667,
        "heat_transferred_to_body_1": {
            "joules": -195346.6667,
            "calories": -46688.9739,
            "kilojoules": -195.346667,
            "watt_hours": -54.262963,
            "kilocalories": -46.688974
        }
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:57.811Z",
        "request_id": "98cd4fdd-33dd-42b0-9774-0431300c4d2b"
    },
    "status": "ok",
    "message": "Equilibrium temperature of two bodies",
    "success": true
}