Engineering
Single/double-slit pattern API
Computes double-slit (Young) bright-fringe spacing Δy = λL/d or single-slit central-maximum width from a·sinθ = λ, on a distant screen. Answers 'How far apart are the interference fringes?', 'How wide is the central diffraction band?'.
Price$0.04per request
MethodPOST
Route/v1/engineering/slit-interference
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
opticsdiffractioninterferencedouble-slitsingle-slityoungfringephysics
API URL
Integration docshttps://x402.hexl.dev/v1/engineering/slit-interferenceExample request
{
"mode": "double",
"wavelengthNm": 650,
"slitSpacingMm": 0.2,
"screenDistanceM": 2
}Example response
{
"mode": "double",
"fringeSpacingM": 0.0065,
"fringeSpacingMm": 6.5,
"firstMaximumAngleDeg": 0.18621,
"interpretation": "Adjacent bright fringes are 6.5 mm apart on the screen."
}Input schema
{
"type": "object",
"required": [
"wavelengthNm",
"screenDistanceM"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"double",
"single"
],
"description": "Pattern type (default double)",
"examples": [
"double"
]
},
"wavelengthNm": {
"type": "number",
"description": "Wavelength (nm)",
"examples": [
650
]
},
"slitSpacingMm": {
"type": "number",
"description": "Slit separation d for double-slit (mm)",
"examples": [
0.2
]
},
"slitWidthMm": {
"type": "number",
"description": "Slit width a for single-slit (mm)",
"examples": [
0.1
]
},
"screenDistanceM": {
"type": "number",
"description": "Distance to screen L (m)",
"examples": [
2
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}