All formulas

Mechanics

Gravitational acceleration - formula in LaTeX

The pendulum period formula solved for g: this is how g is measured in the classic lab exercise, by timing many swings of a string of known length. The period is squared, so its relative uncertainty counts twice in the result. Pi is written \pi.

g=4π2LT2g = \dfrac{4\pi^2 L}{T^2}

LaTeX code

$$
g = \dfrac{4\pi^2 L}{T^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

gg
gravitational acceleration (m/s²)
LL
length of the pendulum (m)
TT
period of oscillation (s)

A classical mechanics formula - it shows up in kinematics and dynamics problems and in physics lab reports.

Worked example

A 0.80 m pendulum makes 10 swings in 18.0 s, so T = 1.80 s; timing many swings is more accurate than timing one. Keep the trailing zeros in 0.80 and 1.80: they state how precisely the length and time were measured.

g=4π2⋅0.80 m(1.80 s)2≈9.75 m/s2g = \dfrac{4\pi^2 \cdot 0.80\,\mathrm{m}}{(1.80\,\mathrm{s})^2} \approx 9.75\,\mathrm{m/s^2}

LaTeX commands in this formula

\dfrac
fraction (display)
\pi
Greek letter pi
x^{2}
superscript (power); wrap several characters in braces

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 needs the amsmath package - CamteX templates include it in the preamble.

Related formulas - Mechanics

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