Prism Rainbow: Each Colour Bends by Its Own Index, n = sin((A + D) ÷ 2) ÷ sin(A ÷ 2)

An educational simulation game. A narrow beam crosses a 60° prism on a turntable. Turn it, and the spot on the screen moves, stops, and turns back: that turning point is the minimum deviation. Predict the glass's index, the minimum deviation, the rainbow's spread, and the angle of incidence at the minimum.

Refractive indexDispersion

PRISM RAINBOW

Find the index

Ready
Enable JavaScript to turn the prism. The instructions and worked example remain readable.
Light, in its own colourWhite lightNormalYour prediction
At the minimumn = sin((A + D) ÷ 2) ÷ sin(A ÷ 2)

Time

0.00 s

t

Angle of incidence

— °

i

Deviation

— °

D = i + e − A

Minimum deviation

— °

D_min

Refractive index

—

n

Predict before you start

Type your prediction to set things up. Start stays off until there is an answer.

Predict how far the prism turns the light.

Mission score—

Every answer must be within 2%: each earns 100 points. Getting it right on the first run adds 50. A run counts as soon as it starts.

✓ Right answer① First try

How to play Prism Rainbow

  1. Choose a test and read the prism's angle, the index, or the minimum deviation on the card.
  2. At the minimum, use i = (A + D) ÷ 2, r = A ÷ 2, and Snell's law sin i = n·sin r.
  3. Type your prediction and press Start. The turntable turns the prism and the spot moves on the screen.
  4. Watch where the spot turns back, and compare the readings and the graph with your orange prediction.

Why a prism makes a rainbow

Light slows down in glass, and the refractive index n says by how much. At each face of a prism the beam bends by Snell's law, n₁·sin θ₁ = n₂·sin θ₂, with angles measured from the normal, the line at right angles to the face. Both bends turn the beam the same way, toward the prism's base, and the total turn is the deviation D. Turn the prism and D changes, but it never drops below a minimum, reached when the ray inside runs parallel to the base. There the path is symmetric, so the angle in equals the angle out, i = (A + D) ÷ 2, and the angle inside is r = A ÷ 2. That gives n = sin((A + D) ÷ 2) ÷ sin(A ÷ 2), which lets you measure an index with a protractor. The index is a little larger for violet light than for red, so violet bends more: this is dispersion, and it splits white light into a rainbow, in a prism and in a raindrop.

A focused learning model

Geometric optics, seen from above: a narrow beam, air n = 1.00, and Snell's law at each face, as in Spearfishing (Waves topic), with every angle measured from the normal. A ray entering at i bends to r₁, crosses to the second face at r₂ = A − r₁, and leaves at e, with sin e = n·sin r₂; its deviation is D = i + e − A. At the minimum the ray inside is parallel to the base, so i = e = (A + D) ÷ 2 and r₁ = r₂ = A ÷ 2. Indices are teaching values: glass 1.50, water 1.33, and flint glass 1.61 for red and 1.65 for violet; the white-light fan draws the colours between them in proportion. The hollow prism's thin walls are ignored. The turntable turns i from 30° to 70° in 2.4 s (from 42° for the flint prism, so the violet ray can still leave it), then turns back to the minimum by 3 s; light crosses in nanoseconds, so the beam is drawn steady. The screen is graduated in degrees of deviation, read from the turntable's centre. Answers within 2% are right.

Changing language keeps your test, prediction, attempts, and run.