What a sinusoid is
A 240 V, 50 Hz mains supply feeds a 28.8 Ω water-heater element. Unlike a battery, this voltage keeps changing: it rises, falls, turns negative and repeats. That repeating shape is a sinusoid.
The source voltage is v(t) = Vm cos(ωt + φ). Three numbers fix it completely: the amplitude Vm, the angular frequency ω and the phase φ. Watch the pen draw two full cycles.
The amplitude Vm is the largest value v reaches: 339.4 V here. The wave swings from +339.4 V to −339.4 V, so the peak-to-peak value is 2Vm = 678.8 V. A cosine never goes beyond ±Vm.
Time, angle and phase
The wave repeats every period T. From one peak to the next takes 20 ms. Frequency counts cycles per second: f = 1/T = 1/0.020 s = 50 Hz. One hertz is one cycle per second.
Inside the cosine, ωt is an angle. One cycle is 2π radians, so ω = 2πf = 2π × 50 = 314.2 rad/s. After a quarter period, t = 5 ms, the angle ωt has grown by π/2 rad, which is 90°.
The phase φ says where in its cycle the wave is at t = 0. With φ = 30°, v(0) = 339.4 × cos 30° = 293.9 V. The grey reference, cos ωt, starts at its peak instead.
Our wave peaks φ/ω = 1.67 ms before the reference, at 18.33 ms instead of 20 ms. It leads the reference by 30°. To compare two waves, write both as cosines with positive amplitudes, then subtract their phases.
Current, power and RMS
Ohm's law holds at every instant: i = v/R. So i(t) = 11.79 cos(ωt + 30°) A, with Im = 339.4/28.8 = 11.79 A. Same phase: both peak together. Charge just rocks back and forth.
Power is p = v·i. Both change sign together, so p is never negative: the heater always absorbs. p(t) swings from 0 to Vm·Im = 4000 W, twice per cycle, at 100 Hz. Its average is half the peak: 2000 W.
RMS = root of the mean of the square. For a sinusoid, Vrms = Vm/√2 = 240 V. It heats R exactly like 240 V DC: 240²/28.8 = 2000 W. Meters read RMS, so mains is called 240 V and the ammeter shows 8.33 A.
The working
# step 1/10 · circuit
source mains, 240 V, 50 Hz (Kuwait: 240/415 V, 50 Hz)
load heater element, R = 28.8 Ω
meters ammeter in series,
voltmeter across the heater
AC = alternating current: the voltage
and current change direction.
The heater is modelled as a pure 28.8 Ω resistor and the mains as an ideal 240 V rms, 50 Hz sinusoid. Real mains varies a few percent and is slightly distorted. Every number in the figure is computed from this model; the animation runs about 60 times slower than real time.