Skip to content
Tactiverge

School/□ Systems Engineer/Week 1

Sinusoids: models that repeat

The voltage in a wall socket swings from +325 V to −325 V fifty times a second. The harbour tide does the same thing twice a day. One function describes both.

About 35 min · 3 goals · Checked by automated tests

1.Why should I care?

Mains electricity, vibration in a washing machine, a robot arm waving, sound, radio, the tides, daylight hours: all periodic. The sinusoid is the building block engineers use for every one of them, and later in this year (signals and filters) every signal will be built from sums of sinusoids.

  • ◇ Model a periodic quantity as y = A·sin(2πft + φ) + c and name each parameter with units.
  • ◇ Convert between frequency, period and angular frequency.
  • ◇ Explain why exponential and power-law models cannot fit data that cross zero.

2.Predict

UK mains voltage has a frequency of 50 Hz. How long is one complete cycle?

Guess first. Being wrong here is how the surprise works.

3.Discover

Load the harbour tide. Try the exponential and power families first: why does the lab refuse? Now fit the sinusoid. Read its period in hours (it should be close to the real semidiurnal tide, about 12.4 h). Nudge the amplitude and watch the residuals change.

Loading the interactive…

Can't use the interactive? Read a description instead

In the fitter, the harbour tide data rise and fall over 24 hours and go below zero. Power and exponential fits are refused because the data are negative. A sinusoid fits with an amplitude near 1.8 m and a period near 12.4 h, with random-looking residuals; the readout states the fitted equation.

4.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

What is the angular frequency ω of a 50 Hz supply, in rad/s?

rad/s

5.Understand

Four parameters, four jobs

y = A·sin(2πft + φ) + c. Amplitude A: the peak swing (325 V). Frequency f in hertz: cycles per second. Phase φ in radians: where in the cycle it starts. Offset c: the level it swings around (zero for mains, mean sea level for tides). Period T = 1/f.

Angular frequency

Inside the sine the angle must be in radians. One cycle is 2π radians, so the angle grows at ω = 2πf radians per second. For 50 Hz, ω = 314 rad/s. You will meet ω constantly: in derivatives of sinusoids (week 3), in vibration and in control.

Why other families fail here

Power laws and exponentials are fitted on log axes, and logs need positive values. A sinusoid with zero offset is negative half the time. More fundamentally, neither family can turn round and come back: a periodic quantity needs a periodic model.

Explain it another way

Picture a point going round a wheel at a steady speed. Its height above the axle, traced against time, is a sine wave. Amplitude is the wheel's radius, frequency is how fast it turns, phase is where the point started.

Worked example 1

v(t) = 325·sin(2π·50·t) volts. What is v at t = 2.5 ms?

Angle = 2π × 50 × 0.0025 = 0.785 rad (π/4). sin(π/4) = 0.707, so v = 325 × 0.707 = 230 V. An eighth of a cycle in, the voltage is at 71% of its peak.

Common mix-ups

  • Angles in sin(2πft) can be in degrees.
    ✓ The 2πf form assumes radians. In degrees you would need 360·f·t instead, and calculus formulas only work in radians.
  • 230 V mains means the voltage never exceeds 230 V.
    ✓ 230 V is the rms value; the peak is about 325 V.

6.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

v(t) = 325·sin(2π·50·t) V. What is v at t = 2.5 ms, in volts? (Radians.)

V

Practice 3

A tide model is h(t) = 1.8·sin(2πt/12.4 + 0.6) metres with t in hours. What is its frequency in cycles per day?

cycles/day

Practice 4

Two 50 Hz voltages have the same amplitude, but one has phase φ = π/2. What does that mean?

Practice 5 · a fresh version every time

An alternating voltage is v(t) = A·sin(2π·f·t) with A = 12 V and f = 2 Hz. What is v at t = 0.003 s, in volts? (Angles in radians.)

V

7.Apply it

Daylight hours where you live vary over the year. Sketch a sinusoid model for them: estimate the amplitude, period, phase (which day is longest?) and offset. Where might the model be least accurate?

8.Reflect

9.Go further

Concepts: Functions as engineering models · Angles and trigonometry