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.
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
- refractive indices of the two media
- angle of incidence
- 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.
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?
- Copy the code with the button above -
$$…$$is centered display math. - Paste it into the CamteX editor, Overleaf or any LaTeX document.
- Inside a sentence, use single
$…$instead of double. - 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.