Worked examples: mains voltage and a scope trace

AC Circuits · AC Fundamentals · Example

Two problems — one going from RMS to peak (the mains case), one going from peak-to-peak to RMS (the oscilloscope case). Every AC calculation you do for the next nine topics will start with one of these two conversions.

Example 1 — UK mains

A UK mains outlet reads Vrms=230 VV_{rms} = 230\,\text{V} at f=50 Hzf = 50\,\text{Hz}. Find the peak voltage VpV_p, the peak-to-peak voltage VppV_{pp}, the period TT, and the angular frequency ωω.

  1. Peak from RMS.
    Vp=Vrms⋅2=230⋅1.414≈325 VV_p = V_{rms} \cdot \sqrt{2} = 230 \cdot 1.414 \approx 325\,\text{V}
  2. Peak-to-peak. Vpp=2Vp≈650 VV_{pp} = 2 V_p \approx 650\,\text{V}. The mains waveform swings across 650 V from trough to crest — which is why a capacitor in a mains filter needs to survive at least 400 V, not just 230 V.
  3. Period. T=1/f=1/50=0.02 s=20 msT = 1/f = 1/50 = 0.02\,\text{s} = 20\,\text{ms}.
  4. Angular frequency. ω=2πf=2π⋅50≈314 rad/s\omega = 2\pi f = 2\pi \cdot 50 \approx 314\,\text{rad/s}. Every sinusoidal calculation from now on uses ωω rather than ff, because the sin⁡(ωt)\sin(\omega t) inside the formula is cleaner than sin⁡(2πft)\sin(2\pi f t).
0.010.020.030.040.0+Vp−Vp+V_rms−V_rmst (ms)

Computed

Vp 325 V
Vpp 650 V
V_rms 230 V
f 50.00 Hz
T 20.00 ms
ω 314 rad/s

The plot shows two full 20 ms cycles of the mains waveform. The +Vp line at 325 V is where every crest sits; the ±V_rms dashed orange lines at ~230 V mark the DC-equivalent heating level.

Example 2 — an oscilloscope trace

You put your scope probe on a signal generator's output. The trace swings between +5 V and −5 V once every 1 ms. Find VppV_{pp}, VpV_p, VrmsV_{rms}, TT, ff, and ωω.

  1. Read peak-to-peak directly. Vpp=5−(−5)=10 VV_{pp} = 5 - (-5) = 10\,\text{V}. Scope readings are almost always peak-to-peak — it's what you measure by eye from trough to crest.
  2. Peak is half. Vp=Vpp/2=5 VV_p = V_{pp} / 2 = 5\,\text{V}.
  3. RMS from peak. Vrms=Vp/2=5/1.414≈3.54 VV_{rms} = V_p / \sqrt{2} = 5/1.414 \approx 3.54\,\text{V}. This is the equivalent DC voltage that would heat a resistor as much as our 10 Vpp signal does.
  4. Period and frequency. T=1 ms=10−3 sT = 1\,\text{ms} = 10^{-3}\,\text{s}, so f=1/T=1000 Hz=1 kHzf = 1/T = 1000\,\text{Hz} = 1\,\text{kHz}.
  5. Angular frequency. ω=2πf≈6283 rad/s\omega = 2\pi f \approx 6283\,\text{rad/s}.
0.00.51.01.52.0+Vp−Vp+V_rms−V_rmst (ms)

Computed

Vp 5.00 V
Vpp 10.00 V
V_rms 3.54 V
f 1.00 kHz
T 1.00 ms
ω 6283 rad/s
Convert to peak first, then everything else follows. Vp=Vrms2V_p = V_{rms} \sqrt{2}, Vpp=2VpV_{pp} = 2 V_p, T=1/fT = 1/f, ω=2πf\omega = 2\pi f. These four identities plus one of the three voltage forms is all you need to describe any sine wave completely.

Ready to check yourself? Take the Quiz.

Hands-on

Try it in the Circuit Toolkit

Set the peak voltage and frequency of a sine wave and read Vpp, Vrms, the period T and ω live, with the RMS level drawn on the trace.
Open the Waveform Lab →