Ir al contenido
GET /v1/double-slit

Young's double-slit interference

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/diffraction-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/diffraction-api/v1/double-slit" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/diffraction-api/v1/double-slit", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/diffraction-api/v1/double-slit");
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/diffraction-api/v1/double-slit",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "order": 1,
        "formula": "d·sinθ = m·λ (bright fringes); fringe spacing Δy = λ·L/d.",
        "bright_fringe": {
            "angle_deg": 0.28648,
            "angle_rad": 0.00500002,
            "sin_theta": 0.005
        },
        "wavelength_nm": 500,
        "fringe_spacing_m": 0.01,
        "fringe_position_m": 0.01,
        "fringe_spacing_mm": 10,
        "screen_distance_m": 2,
        "slit_separation_m": 0.0001
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:46.597Z",
        "request_id": "45d768a8-641c-4bcd-a45e-0f580f799d12"
    },
    "status": "ok",
    "message": "Young's double-slit interference",
    "success": true
}