Calculator overview
Inputs and outputs
This summary comes from the calculator's published input and output contract.
Inputs
- Source 3 across the field (x) (required)
-
Unit cm Default -20 Range -25 to -1
About this input
Source 3 across the field (x), in cm, from -25 to -1; checked even when only one or two sources are in use.
- Source 3 along the field (y) (required)
-
Unit cm Default 24 Range -25 to 25
About this input
Source 3 along the field (y), in cm, from -25 to 25; checked even when not in use.
- Source 2 across the field (x) (required)
-
Unit cm Default -20 Range -25 to -1
About this input
Source 2 across the field (x), in cm, from -25 to -1.
- Source 2 along the field (y) (required)
-
Unit cm Default 9 Range -25 to 25
About this input
Source 2 along the field (y), in cm, from -25 to 25.
- Source 4 across the field (x) (required)
-
Unit cm Default -20 Range -25 to -1
About this input
Source 4 across the field (x), in cm, from -25 to -1; checked even when fewer than four sources are in use.
- Your spacing estimate (challenge 5) (required)
-
Unit cm Default 0 Range 0 to 100
About this input
Your estimate of the hidden source spacing in challenge 5, in cm, from 0 to 100; 0 means not yet estimated.
- Wavelength (required)
-
Unit cm Default 8 Range 8 to 40
About this input
lambda, in cm, from 8 to 40: the distance between neighbouring crests of every source.
- Source 4 along the field (y) (required)
-
Unit cm Default -24 Range -25 to 25
About this input
Source 4 along the field (y), in cm, from -25 to 25; checked even when not in use.
- Number of sources (required)
-
Default 2 Range 1 to 4
About this input
N, a whole number from 1 to 4: sources 1 to N send waves. One source shows that interference needs two; sources 3 and 4 appear at Advanced.
- Marker P across the field (x) (required)
-
Unit cm Default 5 Range -25 to 25
About this input
The marker P across the field (x), in cm, from -25 to 25.
- Marker P along the field (y) (required)
-
Unit cm Default 10 Range -25 to 25
About this input
The marker P along the field (y), in cm, from -25 to 25.
- Amplitude of the other sources (required)
-
Default 1 Range 0 to 2
About this input
a, from 0 to 2: the amplitude of sources 2 to N relative to source 1 (which has amplitude 1). At 0 only source 1 sends waves.
- Challenge number (required)
-
Default 0 Range 0 to 5
About this input
0 for none, or 1 to 5 to load a challenge. A challenge fixes the sources, wavelength, screen and marker it is about and leaves only its free inputs to you.
- Phase step between sources (required)
-
Unit deg Default 0 Range -180 to 180
About this input
phi, a whole number of degrees from -180 to 180: each source leads the one before it by phi, so source s leads source 1 by (s - 1) x phi. -180 and 180 are the same state.
- Source 1 across the field (x) (required)
-
Unit cm Default -20 Range -25 to -1
About this input
Source 1 across the field (x), in cm, from -25 to -1: the sources live in the left part of the 50 cm field.
- Source 1 along the field (y) (required)
-
Unit cm Default -9 Range -25 to 25
About this input
Source 1 along the field (y), in cm, from -25 to 25.
- Your prediction at P (challenge 1) (required)
-
Default Not yet predicted Allowed Not yet predicted, Bright, Dark
About this input
Your prediction in challenge 1: Not yet predicted, Bright or Dark, chosen from the list. The pattern stays hidden until you predict.
- Screen line across the field (x) (required)
-
Unit cm Default 20 Range 0 to 25
About this input
X, in cm, from 0 to 25: the vertical screen line x = X on the right of the field.
Outputs
- Screen profile: 81 samples along the screen line, the exact and far-field intensity, the path difference and the maxima
-
No unit declared
About this output
The screen line: one row per sample (81, y from -25 to 25 cm) with its y, the exact intensity, the far-field intensity, the path difference to sources 1 and 2 in wavelengths, and Central or Max at the maxima.
- Maxima on the screen
-
No unit declared
About this output
The number of maxima among the 81 screen samples: samples that rise above both neighbours by more than 1E-9 (the end samples never count). Blank while challenge 1 awaits a prediction.
- Darkest screen intensity
-
No unit declared
About this output
The darkest screen sample, 0 to 1.
- Source 1 across the field (x) used
-
Unit cm
About this output
Source 1 x used, cm (the challenge's when it fixes it); blank while challenge 5 hides the sources.
- Angle of the next maximum
-
Unit deg
About this output
The direction of the first maximum after the central one, seen from the centroid, in degrees; blank with no central maximum or no maximum after it. Challenge 5 shows it as the hint.
- Screen line across the field (x) used
-
Unit cm
About this output
The screen line used, cm.
- Dark (nodal) lines of the pair
-
No unit declared
About this output
The number of dark (nodal) lines of two sources; blank as for the bright lines.
- Formula module versions
-
No unit declared
About this output
The formula modules embedded in the workbook and their versions.
- Model version
-
No unit declared
About this output
The workbook version.
- Brightest screen intensity
-
No unit declared
About this output
The brightest screen sample, 0 to 1.
- Screen distance from the sources
-
Unit cm
About this output
L, in cm: the distance from the centroid of the sources in use to the screen line (at least 1 cm).
- Phase step between sources used
-
Unit deg
About this output
The phase step used, degrees, as entered (-180 shows as -180 although it is computed as 180).
- Source layout: the position, amplitude and phase of each source in use
-
No unit declared
About this output
The sources: one row per source with its number, position (cm), amplitude and phase wrapped to (-180, 180] degrees; blank for a source not in use, and the positions blank while challenge 5 hides the sources.
- Number of sources used
-
No unit declared
About this output
The number of sources used (the challenge's when a challenge fixes it).
- Source 4 along the field (y) used
-
Unit cm
About this output
Source 4 y used, cm; blank while challenge 5 hides the sources.
- Wavelength used
-
Unit cm
About this output
The wavelength used, cm.
- Spacing in wavelengths
-
No unit declared
About this output
d / lambda: the spacing of sources 1 and 2 in wavelengths; blank for one source and while challenge 5 hides the sources.
- Spacing of sources 1 and 2
-
Unit cm
About this output
d, in cm: the distance between sources 1 and 2; blank for one source and while challenge 5 hides the sources.
- Source 2 along the field (y) used
-
Unit cm
About this output
Source 2 y used, cm; blank while challenge 5 hides the sources.
- Source 2 across the field (x) used
-
Unit cm
About this output
Source 2 x used, cm; blank while challenge 5 hides the sources.
- Source 1 along the field (y) used
-
Unit cm
About this output
Source 1 y used, cm; blank while challenge 5 hides the sources.
- Source 4 across the field (x) used
-
Unit cm
About this output
Source 4 x used, cm; blank while challenge 5 hides the sources.
- Source 3 along the field (y) used
-
Unit cm
About this output
Source 3 y used, cm; blank while challenge 5 hides the sources.
- Source 3 across the field (x) used
-
Unit cm
About this output
Source 3 x used, cm; blank while challenge 5 hides the sources.
- Challenge result
-
No unit declared
About this output
No challenge selected, MET or NOT MET.
- Challenge score
-
No unit declared
About this output
100 when the selected challenge is met, else 0.
- Challenge: the value scored
-
No unit declared
About this output
The value the selected challenge scores: the marker intensity (challenges 1 and 2), the number of screen maxima, the central maximum position (cm) or the estimate's error in percent of the true spacing (shown only once met); blank with no challenge, while withheld or hidden, or when the measure is blank.
- Largest far-field error on the screen
-
No unit declared
About this output
The largest difference between the exact screen intensity and the far-field (distant-screen) intensity: how far the textbook formulas are from this screen.
- Crest rings: the radius of each source's 10 crest circles in 24 frames over one period (one row per frame)
-
No unit declared
About this output
The crest rings: one row per frame (24 over one period) with its time in periods, then the radii (cm) of 10 crest circles for each of sources 1 to 4 about the source positions of sourceLayout; blank for a source not in use and while challenge 5 hides the sources.
- Textbook fringe contrast
-
No unit declared
About this output
The textbook fringe contrast 2a / (1 + a^2) of two sources of amplitudes 1 and a (the same for a and 1/a); blank unless exactly two sources with a > 0.
- Central maximum position on the screen
-
Unit cm
About this output
y of the central maximum on the screen, in cm: the maximum nearest the far-field zero order of sources 1 and 2 (within a quarter wavelength, the lowest sample on a tie). Blank for one source, a phase step of 180 or when no maximum is near the zero order.
- Bright lines of the pair
-
No unit declared
About this output
The number of bright lines of two sources (rows of the line table with a bright angle); blank unless exactly two sources with a > 0, while challenge 1 awaits a prediction, and while challenge 5 hides the sources.
- Amplitude of the other sources used
-
No unit declared
About this output
The amplitude ratio used.
- Challenge goal
-
No unit declared
About this output
The goal of the selected challenge; blank with no challenge.
- Challenge feedback
-
No unit declared
About this output
A prompt while challenge 1 awaits a prediction, else the met or not-met feedback of the selected challenge; blank with no challenge.
- Central maximum width at half height
-
Unit cm
About this output
The width of the central maximum at half its height, in cm, interpolated between samples; blank when the peak does not fall below half on both sides within the screen.
- Path difference at the marker P
-
No unit declared
About this output
(r_1 - r_2) / lambda at the marker P: how many wavelengths farther P is from source 1 than from source 2; blank for one source and while challenge 5 hides the sources.
- Intensity at the marker P
-
No unit declared
About this output
The time-averaged intensity at the marker P, 0 to 1.
- Brightness at the marker P
-
No unit declared
About this output
Bright (above one half), Dark (below one half) or Halfway (one half within 1E-9) at the marker P.
- Model Status
-
No unit declared
About this output
OK, CHECK (the amplitude ratio is 0 with two or more sources, so there is no interference) or NOT VALID with the reason (an input out of range, or two sources in use less than 1 cm apart). When NOT VALID every model result and grid cell is blank; the challenge result, goal and feedback still show.
- Marker P along the field (y) used
-
Unit cm
About this output
The marker y used, cm.
- Marker P across the field (x) used
-
Unit cm
About this output
The marker x used, cm.
- Average spacing of the screen maxima
-
Unit cm
About this output
The average spacing of the screen maxima, in cm: the distance from the first to the last maximum over one fewer than their number; blank below 2 maxima.
- Measured fringe contrast
-
No unit declared
About this output
The measured contrast (Imax - Imin) / (Imax + Imin) of the screen samples; at most the true contrast, since the samples sit inside the true extremes.
- Fraunhofer distance
-
Unit cm
About this output
The Fraunhofer distance 2 x Dmax^2 / lambda, in cm, with Dmax the largest distance between two sources in use: a screen much nearer than this is in the near field. Blank for one source and while challenge 5 hides the sources.
- Line table: the far-field angle of every bright and dark line of sources 1 and 2, from their broadside
-
No unit declared
About this output
The line table of two sources: one row per order m from -7 to 7 with the far-field angle (degrees from the broadside of sources 1 and 2, positive toward source 2) of the bright line of order m and of the dark line between orders m and m + 1; blank where no such line exists.
- Time-averaged intensity map: 25 x 25 cells of 2 cm (one row per y, one column per x; 1 is the brightest possible)
-
No unit declared
About this output
The time-averaged intensity at the centres of 25 x 25 cells of 2 cm: one row per y (-24 to 24 cm, bottom row first) with its y, and one column per x (-24 to 24 cm). Withheld while challenge 1 awaits a prediction.
- Small-angle fringe spacing
-
Unit cm
About this output
The small-angle, distant-screen fringe spacing lambda x L / |y_2 - y_1|, in cm; blank unless two sources with a > 0 that differ in y, and while challenge 5 hides the sources.
LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.
Methodology
Purpose and model boundary
This lab places up to four point sources in a flat square field 50 cm across, like a ripple tank seen from above. All the sources oscillate at the same frequency, so each sends out circular waves of one wavelength. For the sources you set, it returns the crest rings of every source over one period, a map of the time-averaged intensity over the field, the intensity along a screen line with its maxima, the textbook pattern of two sources (the angle of every bright and dark line), how far the distant-screen formula is from the screen you placed, and the intensity at a marker point. Five scored challenges turn the lab into exercises.
Every value is a closed-form expression. There is no time stepping, no iteration and no solver: the crest rings come from an exact formula for each of 24 moments in one period, and the intensity comes from adding the waves of the sources as phasors.
It is a lab for learning wave interference, path difference and phased arrays, not a tool for designing anything real. The waves keep their amplitude however far they travel, the medium is uniform and flat, and nothing reflects from the edges of the field or diffracts around the screen. The screen measurements are those of 81 samples; the true peaks between samples are not searched.
The model is the calculation authority. The page sends the values you set to the model and draws only what the model returns: every source marker, crest ring, map cell, screen sample and line angle comes from the model's results; the page computes no physics value itself.
Inputs and units
| Input | Meaning and unit |
|---|---|
| Number of sources | N, a whole number from 1 to 4: sources 1 to N send waves. One source shows that interference needs two. |
| Source 1 to 4, x | Each source's position across the field, from −25 to −1 cm. Sources live in the left part of the field. |
| Source 1 to 4, y | Each source's position along the field, from −25 to 25 cm. |
| Wavelength | λ, the distance between neighbouring crests of every source, from 8 to 40 cm. |
| Amplitude ratio | a, from 0 to 2: the amplitude of sources 2 to N relative to source 1, which has amplitude 1. At 0 only source 1 sends waves. |
| Phase step | φ, a whole number of degrees from −180 to 180: each source leads the one before it by φ, so source s leads source 1 by (s − 1)·φ. −180 and 180 are the same state. |
| Screen position | X, from 0 to 25 cm: the vertical screen line x = X on the right of the field. |
| Marker x and y | The marker point P, anywhere in the field, from −25 to 25 cm each way. |
| Challenge number | 0 for free play; 1 to 5 loads one of the five challenges. |
| Your prediction | Not yet predicted, Bright or Dark, chosen from the list. Only challenge 1 scores it; otherwise it is ignored. |
| Your spacing estimate | Your estimate of the hidden source spacing, from 0 to 100 cm; 0 means not yet estimated. Only challenge 5 scores it; otherwise it is ignored. |
Sign conventions: x runs across the field to the right and y along it upward, with the centre of the field at (0, 0). Every source sits at least 1 cm to the left of every possible screen position, so the screen is always beyond the sources. Time is measured in periods of the wave (one period is one full oscillation), and intensity as a fraction of the brightest possible, from 0 to 1. No frequency or wave speed is needed: every result depends only on the positions, the wavelength, the amplitudes and the phases.
The positions of sources 3 and 4 are checked even when fewer sources are in use.
Where each input is set: the sources, the screen line and the marker can be dragged on the canvas; the wavelength, the amplitude ratio, the phase step and the challenge inputs are in the input panel. In a challenge, the inputs the challenge fixes cannot be changed.
Governing relationships
The waves. Source s, at (xₛ, yₛ), sends the wave Aₛ·cos(2πt − k·rₛ + φₛ) to a point at distance rₛ, where t is the time in periods and k = 2π/λ is the wave number. The amplitude Aₛ is 1 for source 1 and a for sources 2 to N; a source not in use has amplitude 0. The phase of source s is φₛ = (s − 1)·φ, in degrees, always a whole number.
Intensity at a point (the phasor sum). At a point (x, y), with rₛ = √((x − xₛ)² + (y − yₛ)²) and ψₛ = φₛ − k·rₛ:
- C = A₁cos ψ₁ + A₂cos ψ₂ + A₃cos ψ₃ + A₄cos ψ₄
- S = A₁sin ψ₁ + A₂sin ψ₂ + A₃sin ψ₃ + A₄sin ψ₄
- I = (C² + S²) / W², with W = 1 + (N − 1)·a
I is the time-averaged intensity, scaled so that all sources arriving in step give 1. For two sources it is the textbook result I = (1 + a² + 2a·cos(2π(D + f))) / (1 + a)², where D = (r₁ − r₂)/λ is how many wavelengths farther the point is from source 1 than from source 2, and f = φ/360 (with −180 read as 180). Because no amplitude falls with distance, I has no singularity at a source.
The intensity map. The field is divided into 25 × 25 cells of 2 cm. The map holds I at each cell centre, at x and y = −24, −22, ..., 24 cm.
The screen profile. The screen line x = X is sampled at 81 points, y = −25, −24.375, ..., 25 cm (every 0.625 cm). At each sample the model gives:
- the exact intensity I, from the phasor sum above;
- the path difference D = (r₁ − r₂)/λ to sources 1 and 2, in wavelengths (two or more sources);
- the far-field intensity: the pattern a very distant screen would show in the same direction, seen from the centroid of the sources in use (their average position). With L = X minus the centroid's x, the direction is the unit vector (ux, uy) from the centroid to the sample, and each source's phase becomes φₛ + k·pₛ, where pₛ is its offset from the centroid projected on that direction. The far-field intensity is the same phasor sum with these phases. It holds for any number, layout and orientation of the sources.
Maxima on the screen. Sample i is a maximum when it is above the sample before it by more than 1×10⁻⁹ and not below the sample after it by more than 1×10⁻⁹. The first and last samples are never maxima. A flat profile (one source, or a = 0) has no maxima.
Screen measurements.
- The number of maxima, and the fringe spacing: the distance from the first to the last maximum divided by one fewer than their number (blank below 2 maxima).
- The central maximum: the zero-order line is where sources 1 and 2 arrive in step after the phase step. The model takes the far-field path difference of sources 1 and 2 at each sample, DF = ((x₂ − x₁)·ux + (y₂ − y₁)·uy)/λ, and picks the maximum whose DF + f is nearest 0, within a quarter wavelength (the lowest sample on a tie). It is blank for one source, for a phase step of 180 (where the two maxima beside the dark centre are equally central) and when no maximum is near the zero order.
- The side-maximum angle: the direction, seen from the centroid, of the first maximum above the central one, atan((y − centroid y)/L), in degrees.
- The width of the central maximum at half its height, interpolated in a straight line between samples. It is blank when the peak does not fall below half its height on both sides within the screen.
- The brightest and darkest samples, and the measured contrast (Imax − Imin)/(Imax + Imin).
- The far-field error: the largest difference, over the 81 samples, between the exact and the far-field intensity.
The marker. The intensity at P from the phasor sum; Bright when it is above one half, Dark when it is below one half and Halfway when it is one half to within 1×10⁻⁹; and the path difference (r₁ − r₂)/λ at P.
The two-source pattern.
- The spacing d of sources 1 and 2, and d/λ.
- The Fraunhofer distance 2·Dmax²/λ, with Dmax the largest distance between two sources in use. A screen much nearer than this is in the near field, where the far-field error is large.
- The line table (exactly two sources with a > 0): for each order m from −7 to 7, the far-field angle θ of the bright line of order m, from d·sin θ = (m − f)·λ, and of the dark line between orders m and m + 1, from d·sin θ = (m + ½ − f)·λ. Angles are measured from the broadside of sources 1 and 2 (their perpendicular bisector), positive toward source 2. A line exists only when its path difference is strictly less than d. Where it equals d exactly, the "line" would be the ray along the axis beyond a source, and it is not counted. The rows m = −7 to 7 hold every line the input ranges allow. The bright and dark line counts are the numbers of filled cells.
- The textbook contrast 2a/(1 + a²), the same for a and 1/a.
- The textbook fringe spacing λL/|y₂ − y₁|: the small-angle, distant-screen spacing for a pair facing the screen, using the pair's spacing along the screen. It is blank when the two sources are level along the screen.
Crest rings. Frame g, for g = 0 to 23, is the moment g/24 of a period (15 degrees of phase per frame). For source s the phase numerator n = MOD(15·g + φₛ, 360) is a whole number from 0 to 359. Ring j, for j = 0 to 9, has radius λ·(j + n/360). At that moment and radius the wave of source s is exactly at a crest. As g grows the rings grow (the crests move outward), and frame 23 runs into frame 0 seamlessly. All 10 rings are always given; the largest is at least 79.98 cm, beyond the field's diagonal, so the rings always cover the field and the canvas clips them at its edge. When n wraps from near 360 to near 0, each ring's radius drops by one wavelength because the next ring has taken its place; the set of circles moves smoothly.
Calculation sequence
The model works through the relationships above in this order:
- It checks the entered inputs in the order of the status list under Errors and warnings, up to the challenge inputs.
- It fixes the scenario solved: your inputs, or in a challenge the challenge's givens. It then checks that the sources in use are at least 1 cm apart. Under NOT VALID every result is blank.
- It sets each source's amplitude and phase, the wave number, the centroid of the sources in use and the screen distance L.
- It computes the intensity at the 625 map cells.
- It computes the 81 screen samples: the exact and far-field intensity, the path differences and the maximum flags, then the screen measurements, the central maximum, the width and the far-field error.
- It computes the marker's intensity, brightness and path difference.
- It computes the two-source pattern: the spacing, the Fraunhofer distance, the line table and counts, the textbook contrast and the textbook fringe spacing.
- It computes the crest rings of the 24 frames.
- It sets the status and, in a challenge, applies the withholding or hiding rule and scores the challenge.
Outputs and interpretation
- Status: OK, CHECK or NOT VALID, with the reason (see Validation and status logic and Errors and warnings).
- Two-source pattern: the spacing of sources 1 and 2 (cm) and in wavelengths; the bright and dark line counts; the textbook contrast; the textbook fringe spacing (cm); the screen distance L (cm, from the centroid of the sources in use); and the Fraunhofer distance (cm).
- Screen: the number of maxima; the fringe spacing (cm); the central maximum's position (cm), its width at half height (cm) and the angle of the next maximum (degrees); the brightest and darkest samples; the measured contrast; and the far-field error.
- Marker: the intensity at P, Bright, Dark or Halfway, and the path difference at P in wavelengths.
- Scenario solved: the number of sources, every source position, the wavelength, amplitude ratio, phase step, screen position and marker position actually solved. In a challenge these are the challenge's givens. The phase step shows as entered, −180 included, although −180 is computed as 180.
- Grids:
- Intensity map: 25 rows of y (−24 to 24 cm, bottom row first) by 25 columns of x.
- Crest rings: 24 rows, one per frame, with the time in periods and the radii (cm) of 10 rings for each of sources 1 to 4; blank for a source not in use.
- Screen profile: 81 rows of y, exact intensity, far-field intensity, path difference in wavelengths, and Central or Max at the maxima.
- Source layout: 4 rows of source number, x, y, amplitude and phase wrapped to between −180 (excluded) and 180 degrees; blank for a source not in use. The page draws the source markers and ring centres from this grid.
- Line table: 15 rows, orders −7 to 7, with the bright and the dark line angle.
The page loops the 24 frames of crest rings over the intensity map, marks the maxima on the screen line and draws the bright and dark line directions, all from these grids.
Reading the results:
- Where crests from two sources cross, the map is bright; where a crest meets a trough, it is dark. The rings let you count wavelengths from each source to a point: a whole-number difference is bright for in-phase sources, a half-number difference dark.
- On a screen close to the sources the measured maxima sit farther apart than the textbook spacing λL/d. In the default state, for example, the measured spacing is 20 cm against a textbook 17.78 cm. The far-field error shows how far the distant-screen formula is from this screen.
- With unequal amplitudes the dark lines no longer reach zero: for two sources the darkest intensity is ((1 − a)/(1 + a))² of the brightest. The measured contrast is at most the textbook contrast, because the samples sit inside the true extremes.
- With four evenly spaced sources the central beam is narrower than with two of the same spacing, and the brightest screen sample can stay well below 1 on a near screen, where the four waves never arrive fully in step.
- A phase step steers the pattern: a positive step makes source 2 lead, and the central maximum moves toward source 1. Steering a line of three or four sources needs them numbered in order along the line.
- A perfectly dark point can read a tiny number such as 4×10⁻³³ instead of 0. That is rounding in the last digit, not a physical brightness.
Challenges
Choose a challenge number from 1 to 5. The model loads that challenge's scenario, and the inputs it fixes replace yours (the "solved" outputs show the values in effect). Every challenge uses two sources of equal amplitude. The challenge result reads MET or NOT MET, the score is 100 when met and 0 otherwise, and a goal and a feedback line say what is asked and what to try next.
- Bright or dark? Predict whether the marked point P is bright or dark before the pattern is shown. Until you choose a prediction, the map, the screen intensities and maxima, the line table and counts and the marker reading stay blank; the crest rings, the source layout and the path differences stay visible, so you can count rings. The challenge is met when your prediction matches the marker's reading.
- Make it dark. Move source 2 so that P sits on a dark line, with an intensity of at most 0.05.
- Five maxima. Choose the wavelength so that exactly 5 maxima appear on the screen.
- Steer the beam. Use the phase step to move the central maximum onto the marker's height on the screen, within 0.3 cm.
- Hidden spacing. The source positions, the crest rings and every value derived from the spacing are hidden. From the pattern on the screen, estimate the spacing of the two sources to within 5%. The angle of the first maximum beside the centre is shown as a hint: spacing = wavelength / sin(angle). Once met, everything shows. The screen position and the screen distance stay visible throughout.
Validation and status logic
The status reads the first message in the list under Errors and warnings that applies: the NOT VALID input
checks first, then the CHECK item, then OK. The first five checks read the values you entered; the source-gap
check reads the values solved, so it also catches a source you move onto a challenge's fixed source. OK
means every input is in range, the sources in use are at least 1 cm apart, and the sources other than
source 1 send waves. A CHECK still returns every result it can.
Assumptions and limitations
- Point sources of one frequency in a flat, uniform medium; straight wave paths; circular waves that do not weaken with distance. Real ripples fade with distance, which would brighten the map near each source but would not move the bright and dark lines of two equal sources. No reflection from the edges of the field, no diffraction by the screen and no damping.
- Up to 4 sources, at x from −25 to −1 cm and y from −25 to 25 cm, at least 1 cm apart; wavelength 8 to 40 cm; amplitude ratio 0 to 2; phase step −180 to 180 whole degrees; screen at x from 0 to 25 cm.
- The map has 25 × 25 cells of 2 cm, at least two cells per fringe at the shortest wavelength. The screen has 81 samples 0.625 cm apart: its maxima, extremes, spacing, width and contrast are those of the samples. Maxima on the first and last sample are not counted.
- The central maximum is defined by the far-field zero order of sources 1 and 2. For an uneven layout of three or four sources it is that pair's zero order, not a property of the whole array.
- The line table, the line counts, the textbook contrast and the textbook fringe spacing are given for exactly two sources only.
- The crest rings show 24 moments per period and 10 rings per source.
- A value within about 1×10⁻⁹ of a threshold, such as a marker intensity of exactly one half, two equally central maxima or a line exactly at the axis, may round either way.
Restrictions and non-computing states
Every input is required; a blank or out-of-range value reads NOT VALID.
Under NOT VALID every result and every grid cell is blank. The version texts still show, the challenge result reads NOT MET with a score of 0 when a challenge is selected, and the selected challenge's goal and feedback still show.
With an amplitude ratio of 0 and two or more sources, only source 1 sends waves. The map and the screen read 1 everywhere, there are no maxima, and the two-source line table, line counts, textbook contrast and textbook fringe spacing are blank. The source spacing, the Fraunhofer distance and the path differences still show.
Errors and warnings
The status messages, in the order they are checked:
NOT VALID: the number of sources must be a whole number from 1 to 4NOT VALID: every source must sit from -25 to -1 cm across the field and from -25 to 25 cm along it (sources not in use too)NOT VALID: the wavelength must be from 8 to 40 cm, the amplitude ratio from 0 to 2 and the phase step a whole number of degrees from -180 to 180NOT VALID: the screen must stand from 0 to 25 cm across the field, and the marker inside the field (-25 to 25 cm each way)NOT VALID: the challenge number must be a whole number from 0 to 5, the prediction one of the listed choices, and the spacing estimate from 0 to 100 cmNOT VALID: sources in use must be at least 1 cm apart: two sources in use, as solved, are less than 1 cm apart. Sources not in use may overlap.CHECK: the amplitude ratio is 0, so only source 1 sends waves and there is no interference; the two-source results are blank: two or more sources are selected with an amplitude ratio of 0.OK: every input is in range, the sources in use are at least 1 cm apart, and they interfere.
References
This laboratory is an educational model of up to four point sources sending circular waves of one frequency across a flat field. The time-averaged intensity at a point comes from adding the waves of the sources as phasors. The bright and dark lines of two sources follow the path-difference conditions d·sin θ = m·λ and d·sin θ = (m + ½)·λ, shifted by any phase step between them, and the small-angle fringe spacing on a distant screen is λL/d. The far-field pattern of several sources is their array factor, and the Fraunhofer distance 2D²/λ marks where a screen begins to see it. The crest rings mark where each source's wave is at a crest at 24 moments in one period.
Sources and further reading
- Superposition of waves of the same frequency that differ by a phase shift: S. J. Ling, J. Sanny and W. Moebs, University Physics Volume 1, OpenStax, 2016, section 16.5, Interference of Waves. OpenStax
- Two-source interference, the path difference d·sin θ, the conditions for bright and dark fringes and the fringe positions on a distant screen: S. J. Ling, J. Sanny and W. Moebs, University Physics Volume 3, OpenStax, 2016, section 3.1, Young's Double-Slit Interference, and section 3.2, Mathematics of Interference. OpenStax, section 3.1 OpenStax, section 3.2
- Adding waves of one frequency as phasors, interference of two sources of unequal amplitude, and fringe visibility: E. Hecht, Optics, 5th edition, Pearson, 2017, chapter 7, The Superposition of Waves, and chapter 9, Interference.
- Linear arrays of sources, the array factor and beam steering by a progressive phase, and the far-field (Fraunhofer) region: C. A. Balanis, Antenna Theory: Analysis and Design, 4th edition, Wiley, 2016, chapter 2, on the field regions of an antenna, and chapter 6, Arrays: Linear, Planar, and Circular.
No table or text from any of these publications is reproduced, and none of their authors or publishers has reviewed or endorses this laboratory.
This laboratory is for learning. Its results hold only within its stated ranges; it is not a design tool for antennas, speakers, sonar or optical equipment.
Found a problem, or have an idea?
Tell us if a result looks wrong, a label is unclear, or something is missing. We read every message.