Waves, sound & light

Standing Wave Modes Laboratory

Shows the standing modes of a string under tension or an air column with node or antinode ends: the ladder of the first 15 allowed frequencies and wavelengths (every harmonic for alike ends, odd harmonics only for different ends), a 32-frame film at 61 points of a mix of up to three modes or of a pluck built from 1 to 15 Fourier terms, the node and antinode positions of a single mode, the harmonics a pluck leaves out exactly and the shape error of the truncated series, the tension or length that tunes a mode to a target pitch, and a chain of 1 to 6 beads beside the string; refuses inputs out of range plainly, and scores five challenges. For learning standing waves, harmonics and resonance.

Last updated

Calculator overview

Inputs and outputs

This summary comes from the calculator's published input and output contract.

Inputs

Pluck point (sixtieths of the length) (required)
About this input

J, a whole number from 1 to 59: the pluck is at J x L / 60, a film point (30 is the middle, 20 a third, 12 a fifth of the length).

Default 30 Range 1 to 59
Right end (x = L) (required)
About this input

The end at x = L, chosen from the list, as for the left end. Two alike ends allow every harmonic; two different ends allow the odd harmonics only.

Default Fixed or closed Allowed Fixed or closed, Free or open
Pluck height (required)
About this input

h, in millimetres, from 0.1 to 100: the height of the released triangle.

Unit mm Default 5 Range 0.1 to 100
Motion (required)
About this input

Mode mix (up to three chosen modes, each with its amplitude) or Pluck (a triangle released from rest on a string fixed at both ends), chosen from the list.

Default Mode mix Allowed Mode mix, Pluck
Your node prediction (challenge 1) (required)
About this input

Your prediction in challenge 1: how many nodes mode 4 has, both ends counted, a whole number from 0 to 20; 0 means not yet predicted, and the string stays still until you predict.

Default 0 Range 0 to 20
Sound speed in the column (required)
About this input

c, in m/s, from 100 to 2000: the speed of sound in the column (air column only; 343 is air at about 20 C).

Unit m/s Default 343 Range 100 to 2000
Fourier terms in the pluck (required)
About this input

N, a whole number from 1 to 15: the pluck is built from the first N terms of its Fourier series.

Default 15 Range 1 to 15
Vibrating length (required)
About this input

L, in metres, from 0.1 to 10: the length of the string or of the air column.

Unit m Default 0.65 Range 0.1 to 10
String tension (required)
About this input

T, in newtons, from 1 to 2000: the string's tension (string only; it is still checked for an air column).

Unit N Default 60 Range 1 to 2000
Target frequency (required)
About this input

In Hz, from 1 to 20,000: the frequency the inverse solve puts the target mode at.

Unit Hz Default 220 Range 1 to 20000
Mode to tune (required)
About this input

The allowed-mode number, a whole number from 1 to 15, that the inverse solve tunes.

Default 1 Range 1 to 15
Linear density of the string (required)
About this input

mu, in grams per metre, from 0.1 to 100: the mass of one metre of string (string only).

Unit g/m Default 1 Range 0.1 to 100
Medium (required)
About this input

Stretched string (a string under tension: its wave speed comes from the tension and the linear density) or Air column (sound in a pipe: its wave speed is the sound speed), chosen from the list.

Default Stretched string Allowed Stretched string, Air column
Left end (x = 0) (required)
About this input

The end at x = 0, chosen from the list: Fixed or closed is a displacement node (a clamped string end, or the closed end of a pipe); Free or open is a displacement antinode (a string end on a frictionless ring, or the open end of a pipe).

Default Fixed or closed Allowed Fixed or closed, Free or open
Beads in the comparison chain (required)
About this input

A whole number from 1 to 6: the number of equal beads in the comparison chain, each with the mass of one spacing of string (string only).

Default 6 Range 1 to 6
Challenge number (required)
About this input

0 for none, or 1 to 5 to load a challenge. A challenge fixes the string or pipe it is about and leaves only its free inputs to you.

Default 0 Range 0 to 5
First mode amplitude (required)
About this input

The first mode's amplitude, in millimetres, from -100 to 100; a negative amplitude starts the mode inverted, and 0 leaves it out of the motion.

Unit mm Default 5 Range -100 to 100
Third mode amplitude (required)
About this input

The third mode's amplitude, in millimetres, from -100 to 100.

Unit mm Default 0 Range -100 to 100
Third chosen mode (required)
About this input

The third chosen mode, a whole number from 1 to 8.

Default 3 Range 1 to 8
Second chosen mode (required)
About this input

The second chosen mode, a whole number from 1 to 8.

Default 2 Range 1 to 8
First chosen mode (required)
About this input

The first chosen mode, a whole number from 1 to 8. The three chosen modes must be different.

Default 1 Range 1 to 8
Second mode amplitude (required)
About this input

The second mode's amplitude, in millimetres, from -100 to 100.

Unit mm Default 0 Range -100 to 100

Outputs

Motion used
About this output

The motion the model used.

No unit declared
Formula module versions
About this output

The formula modules embedded in this workbook and their versions.

No unit declared
Model version
About this output

The version of this workbook's model.

No unit declared
Nodes of the single mode (both ends counted)
About this output

The number of displacement nodes of a single moving mode, both ends counted; blank for a mix, a pluck or nothing moving, and while challenge 1 awaits a prediction.

No unit declared
Pluck point (sixtieths of the length) used
About this output

The pluck point the model used, in sixtieths of the length.

No unit declared
Pluck height used
About this output

The pluck height the model used, in millimetres.

Unit mm
Nodes and antinodes of a single mode (positions along the length)
About this output

The node and antinode positions (m) of a single moving mode, both ends included; blank for a mix, a pluck or nothing moving, and while challenge 1 awaits a prediction.

No unit declared
Second mode amplitude used
About this output

The second mode amplitude the model used, in millimetres.

Unit mm
First chosen mode used
About this output

The first mode number the model used.

No unit declared
First mode amplitude used
About this output

The first mode amplitude the model used, in millimetres.

Unit mm
Second chosen mode used
About this output

The second mode number the model used.

No unit declared
Model Status
About this output

OK, CHECK (every chosen mode has amplitude 0, so nothing moves) or NOT VALID with the reason (an input out of range, two equal mode numbers, or a pluck that is not on a stretched string fixed at both ends). When NOT VALID every model result and grid cell is blank; the challenge result, goal and feedback still show.

No unit declared
Third chosen mode used
About this output

The third mode number the model used.

No unit declared
Third mode amplitude used
About this output

The third mode amplitude the model used, in millimetres.

Unit mm
Fourier terms in the pluck used
About this output

The number of Fourier terms the model used.

No unit declared
String tension used
About this output

The tension the model used, in newtons.

Unit N
Mode to tune used
About this output

The target mode the model used.

No unit declared
Pluck shape error, largest
About this output

In millimetres: the largest gap between the truncated Fourier series and the true triangle at the release instant, over the 61 film points; blank unless the motion is a pluck.

Unit mm
Film: the displacement at 61 points along the length (one row per point) in 32 frames over one loop (one column per frame), with the envelope
About this output

The film: one row per film point (61, from x = 0 to L), with its position in metres, the envelope (the largest displacement over the frames, mm) and the displacement in each of 32 frames over one loop (mm). Frame k plays at k times the time between frames. Blank except the positions while challenge 1 awaits a prediction.

No unit declared
Vibrating length used
About this output

The length the model used, in metres.

Unit m
Pluck shape error, percent of the height
About this output

The largest shape error as a percent of the pluck height; blank unless the motion is a pluck.

Unit %
Length for the target frequency
About this output

In metres: the length that puts the target mode at the target frequency with the current wave speed; blank during challenge 2.

Unit m
Wave speed
About this output

v, in m/s: the square root of tension over linear density for a string, the sound speed for an air column.

Unit m/s
Pluck position
About this output

In metres: where the pluck's corner sits, J x L / 60; blank unless the motion is a pluck.

Unit m
Tension for the target frequency
About this output

In newtons: the tension that puts the target mode at the target frequency with the current length and density; blank for an air column and during challenge 2.

Unit N
Target frequency used
About this output

The target frequency the model used, in Hz.

Unit Hz
Sound speed in the column used
About this output

The sound speed the model used, in m/s.

Unit m/s
Right end (x = L) used
About this output

The right end the model used.

No unit declared
Bead chain mode shapes: each bead's position and its relative displacement in each mode
About this output

The bead chain's mode shapes: each bead's position (m) and its relative displacement in each mode (the string's mode shape at the bead); blank for an air column.

No unit declared
Bead chain modes beside the continuous string's
About this output

The bead chain's modes: the mode number, the chain's frequency, the string's frequency (Hz) and the difference (%); blank for an air column.

No unit declared
Bead chain modes
About this output

The number of vibration modes of the bead chain (one fewer than the beads with two free ends); blank for an air column.

No unit declared
Bead spacing
About this output

In metres: the bead spacing a, L / (N + 1) for two node ends, L / N for two antinode ends and 2L / (2N + 1) for different ends; blank for an air column.

Unit m
Challenge: the value scored
About this output

The value the selected challenge scores: the node count, the fundamental, the 5th harmonic as a percent of the fundamental, the third allowed frequency or the shape error; blank with no challenge or while challenge 1 awaits a prediction.

No unit declared
Challenge goal
About this output

The selected challenge's goal; blank with no challenge.

No unit declared
Challenge feedback
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.

No unit declared
Antinodes of the single mode
About this output

The number of displacement antinodes of a single moving mode, both ends counted; blank as the node count.

No unit declared
Allowed harmonics
About this output

Every harmonic: 1, 2, 3, 4, ... (two alike ends) or Odd harmonics only: 1, 3, 5, 7, ... (two different ends).

No unit declared
Modes in the motion
About this output

The number of modes that move (nonzero amplitude, or pluck terms that are not missing).

No unit declared
Beads in the comparison chain used
About this output

The number of beads the model used.

No unit declared
Mass of each bead
About this output

In grams: the mass of each bead, the mass of one spacing of string; blank for an air column.

Unit g
Bead chain against the string, highest mode
About this output

In percent: how far the bead chain's highest mode falls below the string's (always further than the first); blank for an air column or with no bead mode.

Unit %
Bead chain against the string, mode 1
About this output

In percent: how far the bead chain's first mode falls below the string's; blank for an air column or with no bead mode.

Unit %
Film loop period
About this output

In seconds: the repeat period of the motion, 1 / (G x f_1), where G is the greatest common divisor of the moving modes' harmonic numbers; the film plays over it.

Unit s
Linear density of the string used
About this output

The linear density the model used, in grams per metre.

Unit g/m
Left end (x = 0) used
About this output

The left end the model used.

No unit declared
Largest displacement in the film
About this output

In millimetres: the largest displacement over the 61 points and 32 frames of the film; blank while challenge 1 awaits a prediction.

Unit mm
Harmonics missing from the pluck (up to 15)
About this output

The harmonics from 1 to 15 that a pluck leaves out exactly (those with a node at the pluck point), or None up to 15; blank unless the motion is a pluck.

No unit declared
Number of missing harmonics (up to 15)
About this output

How many of the harmonics 1 to 15 the pluck leaves out; blank unless the motion is a pluck.

No unit declared
Medium used
About this output

The medium the model used (the challenge's when a challenge fixes it).

No unit declared
Time between film frames
About this output

In seconds: the time between film frames, the loop period over 32.

Unit s
Challenge result
About this output

No challenge selected, MET or NOT MET.

No unit declared
Challenge score
About this output

100 when the selected challenge is met, else 0.

No unit declared
Fundamental frequency
About this output

f_1, in Hz: the lowest allowed frequency, v / 2L for two alike ends and v / 4L for two different ends.

Unit Hz
Mode ladder: the first 15 allowed modes, their harmonic numbers, frequencies and wavelengths, and the amplitude of each in the motion
About this output

The first 15 allowed modes: the mode number, its harmonic number, frequency (Hz), wavelength (m) and its amplitude in the motion (mm; 0 for a mode not in the motion, the Fourier coefficient for a pluck term).

No unit declared
Fundamental wavelength
About this output

lambda_1, in metres: 2L for two alike ends, 4L for two different ends.

Unit m
Fundamental period
About this output

1 / f_1, in seconds.

Unit s
This page is provided by LogicCommons for informational purposes only. Results are analysis outputs computed from the inputs you supply and are not professional advice. Verify all inputs and results independently.

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 shows the standing waves of a string under tension or of an air column in a pipe. You choose the length, what each end does, and the tension and density of the string or the speed of sound in the column. The model returns the first 15 allowed frequencies and wavelengths, a film of 32 frames of the motion at 61 points along the length, the node and antinode positions of a single mode, and the tension or length that puts a chosen mode at a target frequency. The motion is either a mix of up to three modes or a pluck: a triangle released from rest, built from 1 to 15 terms of its Fourier series. For a pluck the model lists the harmonics that are missing and measures how far the truncated series is from the true triangle. An Advanced comparison replaces the string with a chain of 1 to 6 equal beads and sets its modes beside the string's. Five scored challenges turn the lab into exercises.

Nothing in the lab iterates. Every value is a closed-form result or a sum with a fixed number of terms; there is no solver and no time stepping.

It is a lab for learning standing waves, harmonics and resonance, not a tool for designing or tuning an instrument. The string and the air are ideal: there is no damping, no string stiffness, no large-amplitude effect, no end correction at an open pipe end and no sound radiation. A real string's stiffness pushes its higher modes slightly above these values, and a real open pipe sounds lower than its length suggests.

The model is the calculation authority. The page sends the values you set to the model and draws only what the model returns: every film frame, the envelope, the node and antinode markers, the frequency ladder and the beads come from the model's results; the page computes no physics value itself.

Inputs and units

Input Meaning and unit
Medium Stretched string (the wave speed comes from the tension and the linear density) or Air column (the wave speed is the sound speed).
Left end The end at x = 0. Fixed or closed is a displacement node: a clamped string end, or the closed end of a pipe. Free or open is a displacement antinode: a string end on a frictionless ring, or the open end of a pipe.
Right end The end at x = L, with the same two choices.
Length L, the length of the string or the air column, from 0.1 to 10 m.
Tension T, the string's tension, from 1 to 2,000 N. Used only for a string, but always checked.
Linear density μ, the mass of one metre of string, from 0.1 to 100 grams per metre (g/m). Used only for a string.
Sound speed c, the speed of sound in the column, from 100 to 2,000 m/s; 343 m/s is air at about 20 °C. Used only for an air column.
Motion Mode mix (up to three chosen modes, each with its own amplitude) or Pluck (a triangle released from rest).
First, second and third mode The three chosen modes of a mix, each a whole number from 1 to 8. The three must be different.
Amplitude of each mode From −100 to 100 mm. A negative amplitude starts the mode inverted; 0 leaves it out of the motion.
Pluck point J, a whole number from 1 to 59: the pluck is at x = J × L / 60 (30 is the middle, 20 a third, 12 a fifth of the length).
Pluck height h, the height of the released triangle, from 0.1 to 100 mm.
Number of terms N, a whole number from 1 to 15: the pluck is built from the first N terms of its Fourier series.
Number of beads A whole number from 1 to 6: the beads in the comparison chain (string only).
Target mode The mode number, from 1 to 15, that the inverse solve tunes.
Target frequency The frequency to put the target mode at, from 1 to 20,000 Hz.
Challenge number 0 for free play; 1 to 5 loads one of the five challenges.
Your node prediction Challenge 1's answer, a whole number from 0 to 20; 0 means not yet predicted. It is ignored outside challenge 1.

Units and positions: x is measured along the string or column from the left end, from 0 to L, in metres. Displacements and amplitudes are in millimetres; for an air column they are the displacement of the air along the pipe, drawn sideways. Frequencies are in Hz and times in seconds. The linear density is in grams per metre, so the model divides it by 1,000 to get kilograms per metre.

The pluck point is a whole number of sixtieths of the length so that it always sits on one of the 61 film points, and so that a pluck at a half, a third, a quarter, a fifth or a sixth of the length removes the matching harmonics exactly.

Governing relationships

Wave speed. For a string, v = √(T / μ), with μ in kg/m (the entered g/m divided by 1,000). For an air column, v = c, the entered sound speed.

Allowed modes. Each mode fits a whole number of quarter-wavelengths into the length. For mode n (n = 1 to 15), the model counts the quarter-wavelengths m and the harmonic number:

  • with two alike ends (node-node or antinode-antinode), m = 2n and the harmonic number is n, so every harmonic appears: 1, 2, 3, 4, ...;
  • with two different ends (one node, one antinode), m = 2n − 1 and the harmonic number is 2n − 1, so only the odd harmonics appear: 1, 3, 5, 7, ....

The frequency and wavelength of mode n are

  • fₙ = m · v / (4L), and λₙ = 4L / m.

So alike ends give fₙ = n · v / (2L) (a string fixed at both ends, or a pipe open or closed at both ends), and different ends give fₙ = (2n − 1) · v / (4L) (a string fixed at one end and free at the other, or a pipe closed at one end). The fundamental is f₁, its period is 1 / f₁ and its wavelength is 2L for alike ends and 4L for different ends.

Mode shapes. At point j (j = 0 to 60, x = j × L / 60), mode n has the shape sin(m · π · x / (2L)) when the left end is a node, and cos(m · π · x / (2L)) when the left end is an antinode. The sines and cosines are computed so that a node is exactly 0 and a peak exactly ±1: the angle is reduced to its first quarter turn before the sine is taken.

Mode mix. The motion's coefficient for mode n is the amplitude you gave it when it is one of the three chosen modes, and 0 otherwise. A mode is in the motion when its coefficient is not 0.

Pluck. A triangle of height h at x = J × L / 60, released from rest on a string fixed at both ends, has the Fourier sine coefficients

  • bₙ = 2h · sin(nπJ / 60) / (n² π² · p(1 − p)), with p = J / 60.

The motion uses b₁ to b_N and sets the rest to 0. A harmonic is missing when the pluck point sits on one of its nodes: bₙ is exactly 0 when n × J is a multiple of 60. The missing harmonics are listed for n = 1 to 15, whatever the number of terms.

The film. Every mode starts at its full displacement and at rest, so mode n contributes cₙ · shapeₙ(x) · cos(2π fₙ t). The displacement at point j and frame k is the sum over the 15 modes,

  • y(j, k) = Σ cₙ · shapeₙ(xⱼ) · cos(2π fₙ tₖ).

The film covers exactly one repeat period of the motion. The model finds the largest whole number G that divides the harmonic number of every mode in the motion (their greatest common divisor). The motion then repeats after the loop period 1 / (G · f₁). A single mode loops over its own period; modes 2 and 3 together loop over the fundamental period (G = 1), and modes 2, 4 and 6 over half of it (G = 2). A pluck always contains the fundamental, so it loops over the fundamental period. The 32 frames are evenly spaced over the loop, with frame step loop period / 32, so frame k is at time tₖ = k × frame step, and a 33rd frame would repeat frame 0.

Envelope and largest displacement. The envelope at each point is the largest size of the displacement over the 32 frames. For a single mode this is its true envelope. For a mix or a pluck it is the largest sampled value, which can sit a little below the true largest value between frames. The largest displacement is the largest envelope value over the 61 points. It can be below the amplitude when a mode's antinodes fall between film points (mode 8 with alike ends shows 4.973 of 5 mm), and above the pluck height when a sharp pluck's truncated series overshoots.

Pluck shape error. At the release instant (frame 0) the N-term series is compared with the true triangle, which rises in a straight line from 0 at the left end to h at the pluck point and falls back to 0 at the right end. The shape error is the largest difference over the 61 film points, in mm and as a percent of h. For a pluck in the middle the error is largest at the pluck point, where the series rounds the corner, and equals h · (1 − (8 / π²) · (1 + 1/9 + 1/25 + ...)), summed over the odd n up to N: 18.94% for one term and 2.53% for 15 terms.

Nodes and antinodes. When the motion is a mode mix with exactly one moving mode, with m quarter-wavelengths, the nodes sit at x = L · (2q + a) / m and the antinodes at x = L · (2q + 1 − a) / m, for q = 0, 1, 2, ... while the fraction is at most 1, where a is 0 for a node left end and 1 for an antinode left end. Both ends are counted when they are nodes or antinodes. Mode n then has:

  • with two node ends, n + 1 nodes and n antinodes;
  • with two antinode ends, n nodes and n + 1 antinodes;
  • with different ends, n of each.

These are displacement nodes. In an air column the pressure is largest where the displacement has a node.

Inverse solve. For the target mode, with m quarter-wavelengths for the current end pair, the wave speed needed is v_req = 4L · f_target / m. The required tension is μ · v_req² (with μ in kg/m), keeping the current length and density; it is blank for an air column. The required length is m · v / (4 f_target), keeping the current wave speed. No bound is applied: a target far from the current pitch can give a very large tension or length, and these are true answers to the question asked.

Beaded string (Advanced, string only). The string is replaced by Nb equal beads joined by the same tension, each with the mass of one spacing of string, bead mass = μ × spacing. The spacing is:

  • L / (Nb + 1) for two fixed ends, with a bead every spacing from the left wall;
  • L / Nb for two free ends, with the end beads half a spacing from the ends;
  • 2L / (2Nb + 1) for different ends.

A uniform chain like this has modes in closed form. Its frequencies are

  • f_bead,r = (v / (π · spacing)) · sin(π · m / (2Q)), with Q = 2L / spacing,

and its mode shapes are the string's mode shapes sampled at the beads. With two free ends the chain has one mode fewer than beads, because moving the whole chain sideways is not a vibration. Each bead mode is set beside the string mode with the same number, and the difference is 100 × (f_bead / f_string − 1) percent. The difference is always negative: a bead chain is slower than the string for every mode, and the highest modes fall furthest behind. With 6 beads between two fixed ends it runs from −0.837% (mode 1) to −27.590% (mode 6), whatever the length, tension and density.

Calculation sequence

The model works through the relationships above in this order:

  1. It checks the entered inputs in the order of the status list under Errors and warnings, up to the node prediction.
  2. It fixes the scenario solved: your inputs, or in a challenge the challenge's givens. It then checks that a pluck is on a string fixed at both ends, and that a mode mix has a moving mode. Under NOT VALID every result is blank.
  3. It computes the wave speed and, for each of the 15 modes, the quarter-wavelength count, harmonic number, frequency and wavelength.
  4. It computes each mode's coefficient in the motion: the chosen amplitudes, or the pluck's Fourier coefficients up to N terms. It counts the moving modes and lists the missing harmonics of a pluck.
  5. It finds the repeat factor G, the loop period and the frame step.
  6. It computes the 61 × 32 film, the envelope and the largest displacement.
  7. For a pluck, it compares frame 0 with the true triangle and reports the shape error.
  8. For a single moving mode, it lists the node and antinode positions.
  9. It computes the required tension and length, then the bead chain.
  10. It sets the status and, in a challenge, scores the challenge.

Outputs and interpretation

  • Status: OK, CHECK or NOT VALID, with the reason (see Validation and status logic and Errors and warnings).
  • Modes: the wave speed (m/s), the fundamental frequency (Hz), its period (s) and wavelength (m), and the allowed harmonics, which read Every harmonic: 1, 2, 3, 4, ... for alike ends or Odd harmonics only: 1, 3, 5, 7, ... for different ends.
  • Film: the loop period (s), the frame step (s), the number of moving modes and the largest displacement (mm).
  • Single mode: the number of nodes and of antinodes, both ends counted; blank unless the motion is a mode mix with exactly one moving mode.
  • Pluck: the pluck position (m), the missing harmonics (for example 2, 4, 6, 8, 10, 12, 14 for a middle pluck, or None up to 15) and their count, and the shape error (mm and percent of the height). Blank unless the motion is Pluck.
  • Inverse solve: the required tension (N; blank for an air column) and the required length (m).
  • Beads: the number of bead modes, the bead spacing (m), the bead mass (g), and the bead-against-string difference of the first and of the highest bead mode (percent). Blank for an air column.
  • Scenario solved: every model input actually used, as entered or, in a challenge, as the challenge sets it.
  • Grids:
    • Wave film: 61 rows, one per film point, with the position (m), the envelope (mm) and the displacement in frames 0 to 31 (mm).
    • Harmonic ladder: 15 rows of mode, harmonic number, frequency (Hz), wavelength (m) and the mode's amplitude in the motion (mm; 0 for a mode not in the motion). The ladder always lists 15 modes, though a mix picks from modes 1 to 8.
    • Node positions: up to 9 rows of node and antinode positions (m); blank unless there is exactly one moving mode.
    • Bead modes: up to 6 rows of mode, bead-chain frequency (Hz), string frequency (Hz) and difference (%).
    • Bead shapes: up to 6 rows of bead position (m) and the mode shape at that bead for each bead mode.

The page plays the 32 frame columns in order, each frame at its time, and draws the envelope lines and the node markers from these grids. It draws nothing between the frames.

Reading the results:

  • A node end reads exactly 0 in every frame. A single mode is flat at frames 8 and 24, a quarter and three quarters of its period, and the film is symmetric in time about frame 16, because every mode starts from rest.
  • With 15 terms, a pluck's highest term has 4 film points per half-wave and the 32 frames catch it about twice per period, so the film shows the true shape at each frame instant but that term flickers between frames.
  • The ladder's wavelength times its frequency equals the wave speed for every mode: the string and the air column have no dispersion. The bead chain does, which is why its high modes fall behind.

Challenges

Choose a challenge number from 1 to 5. The model loads that challenge's string or pipe, and the inputs it fixes replace yours (the "solved" outputs show the values in effect). Only the inputs the challenge leaves free stay yours. 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.

  1. Count the nodes. Predict how many nodes mode 4 has on a string fixed at both ends, counting both ends. Until you enter a prediction, the film, the envelope, the node markers, the node and antinode counts and the largest displacement stay hidden.
  2. Tune the fundamental. Set the tension so the fundamental is 220 Hz, within 1 Hz. The required tension and length are hidden during this challenge.
  3. Remove a harmonic. Choose the pluck point so the 5th harmonic is missing from the motion.
  4. Pick the ends. Choose the two ends of a 0.25 m pipe so its third allowed frequency is 1,715 Hz, within 1%.
  5. Fewest terms. Find the fewest Fourier terms that bring the shape error of a middle pluck under 3%.

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 pluck check on the scenario solved, then the CHECK item, then OK. The input checks read the values you entered; the pluck check and the CHECK item read the scenario solved, which in a challenge is the challenge's givens. OK means the inputs are valid and something moves. A CHECK still returns every result; it marks one that deserves a second look.

Assumptions and limitations

  • Ideal, lossless, small-amplitude transverse waves on a uniform, perfectly flexible string, or plane longitudinal waves in a uniform air column. No damping, string stiffness, large-amplitude effect, open-end correction or sound radiation. A free string end is a massless ring on a frictionless rod.
  • The air column takes its wave speed from the entered sound speed; there is no temperature model.
  • The film has 61 points and 32 frames over one repeat period. Its envelope is the largest sampled value.
  • A pluck is a triangle released from rest on a string fixed at both ends, at a whole number of sixtieths of the length, built from 1 to 15 terms. Its shape error is measured at the 61 film points only.
  • A mode mix uses up to three different modes from 1 to 8.
  • The bead chain has 1 to 6 equal beads, each with the mass of one spacing of string, under the same tension, with ends that match the string's. It is for a string only.
  • A value within about 1×10⁻⁹ of a threshold, such as a frequency exactly on the edge of a challenge's band, may round either way.

Restrictions and non-computing states

Every input is required and is checked on its entered value, even when the chosen medium or motion does not use it; a blank or out-of-range value reads NOT VALID.

Under NOT VALID every number, text result and grid cell is blank; the version texts still show, and a selected challenge reads NOT MET with a score of 0, its goal and its not-met feedback.

Errors and warnings

The status messages, in the order they are checked:

  • NOT VALID: choose the medium from the list
  • NOT VALID: each end must be Fixed or closed, or Free or open
  • NOT VALID: the length must be from 0.1 to 10 m
  • NOT VALID: the tension must be from 1 to 2000 N, the linear density from 0.1 to 100 g/m and the sound speed from 100 to 2000 m/s
  • NOT VALID: choose the motion from the list
  • NOT VALID: each chosen mode must be a whole number from 1 to 8, with an amplitude from -100 to 100 mm
  • NOT VALID: the three chosen modes must be different mode numbers
  • NOT VALID: the pluck point must be a whole number from 1 to 59, the pluck height from 0.1 to 100 mm and the number of terms a whole number from 1 to 15
  • NOT VALID: the number of beads must be a whole number from 1 to 6
  • NOT VALID: the target mode must be a whole number from 1 to 15 and the target frequency from 1 to 20,000 Hz
  • NOT VALID: the challenge number must be a whole number from 0 to 5, and the node prediction a whole number from 0 to 20
  • NOT VALID: a pluck needs a stretched string fixed at both ends; choose Stretched string and Fixed or closed for both ends, or choose Mode mix: the motion is Pluck, and the medium is an air column or an end is Free or open.
  • CHECK: every chosen mode has amplitude 0, so nothing moves; give a mode an amplitude: the motion is a mode mix and all three amplitudes are 0. The film reads 0 everywhere and the node results are blank.
  • OK: the inputs are valid and something moves.

References

This laboratory is an educational model of the standing waves of an ideal string under tension and of an ideal air column. The allowed frequencies and wavelengths follow from fitting a whole number of quarter-wavelengths between a node end and an antinode end, or half-wavelengths between two alike ends. The motion is a sum of standing modes, each starting from rest, sampled at 61 points and 32 frames over one repeat period. A plucked string is built from the Fourier sine series of a released triangle. The beaded string uses the closed-form normal modes of a uniform chain of equal masses under tension.

Sources and further reading

  • Standing waves on a string, the wave speed on a string, and the frequencies and wavelengths for nodes or antinodes at both ends: S. J. Ling, J. Sanny and W. Moebs, University Physics Volume 1, OpenStax, 2016, section 16.6, Standing Waves and Resonance. OpenStax
  • Standing sound waves in a tube open at both ends and in a tube closed at one end: S. J. Ling, J. Sanny and W. Moebs, University Physics Volume 1, OpenStax, 2016, section 17.4, Normal Modes of a Standing Sound Wave. OpenStax
  • Normal modes of coupled oscillators and of the beaded string, normal modes of continuous systems and the Fourier analysis of a plucked string: A. P. French, Vibrations and Waves, M.I.T. Introductory Physics Series, W. W. Norton, 1971, chapter 5, Coupled Oscillators and Normal Modes, and chapter 6, Normal Modes of Continuous Systems. Fourier Analysis.
  • Resonances of pipes and the acoustics of air columns: L. E. Kinsler, A. R. Frey, A. B. Coppens and J. V. Sanders, Fundamentals of Acoustics, 4th edition, John Wiley & Sons, 2000.

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 tool for designing, building or tuning an instrument or any other equipment.

Results are informational and not professional advice. See our Terms of Use. Powered by SpreadsheetWeb · About · Privacy · Terms