All formulas

Waves and optics

Snell's law - formula in LaTeX

Describes how light bends at the boundary between two media. Both angles are measured from the normal to the surface, not from the surface itself. Write \sin with a backslash: plain sin is treated as a product of three variables.

n1sin⁡θ1=n2sin⁡θ2n_1\sin\theta_1 = n_2\sin\theta_2

LaTeX code

$$
n_1\sin\theta_1 = n_2\sin\theta_2
$$

Got this formula in your notes or on a whiteboard? Snap a photo and CamteX turns it into LaTeX. Try it free

What the symbols mean

n1,n2n_1, n_2
refractive indices of the two media
θ1\theta_1
angle of incidence
θ2\theta_2
angle of refraction

A waves and optics formula - common in interference, refraction and quantum physics problems.

Worked example

A light ray passes from air (n = 1) into water (n = 1.33) at 45°. The function name comes from \sin; a bare sin is typeset as the product of three variables s, i and n.

sin⁡θ2=n1n2sin⁡θ1=11.33sin⁡45∘≈0.532,θ2≈32.1∘\sin\theta_2 = \dfrac{n_1}{n_2}\sin\theta_1 = \dfrac{1}{1.33}\sin 45^\circ \approx 0.532, \quad \theta_2 \approx 32.1^\circ

LaTeX commands in this formula

x_{0}
subscript; wrap several characters in braces
\sin
sine function in upright type
\theta
Greek letter theta

How to use this formula in LaTeX?

  1. Copy the code with the button above - $$…$$ is centered display math.
  2. Paste it into the CamteX editor, Overleaf or any LaTeX document.
  3. Inside a sentence, use single $…$ instead of double.
  4. The formula works without extra packages.

Related formulas - Waves and optics

Drawing formulas is faster than typing them.

Draw a formula, table or chart - CamteX AI turns it into ready LaTeX and inserts it into your document.

Try it free