---
title: Problem set 3
heading: "Problem set 3: bandwidth, modulation and the FFT"
eyebrow: A10 · Problem set 3
type: problems
---

::: hook
These problems use lessons 13 to 16: the time-bandwidth tradeoff, modulation and filtering, sampling, and measuring spectra with the FFT. They're the calculations behind choosing a data rate, planning radio channels, and setting up a spectrum analyzer.
:::

::: pool
pick: 12

::: check
kind: parts
given: T = 1 | 0.1; k = 10 | 4

## A data link sends pulses {T} µs long.

::: part
answer: 1/T
unit: MHz
tolerance: 0.5%

### Roughly what bandwidth do they need (to the first null)?

::: misses
- [any] $1/T$.
:::
:::

::: part
answer: k/T
unit: MHz
tolerance: 0.5%

### The pulses are made {k} times shorter. What bandwidth now?

::: misses
- [any] Shorter pulses, wider spectrum.
:::
:::
:::

::: check
kind: parts
given: B = 3 | 10; fc = 500 | 1600

## Audio up to {B} kHz amplitude-modulates a {fc} kHz carrier.

::: part
answer: fc - B
unit: kHz
tolerance: 0.01%

### What is the lowest frequency in the signal?

::: misses
- [any] $f_c - B$.
:::
:::

::: part
answer: 2*B
unit: kHz
tolerance: 0.01%

### What bandwidth does it occupy?

::: misses
- [any] $2B$.
:::
:::
:::

::: check
kind: parts
given: Pc = 50 | 500; m = 0.6 | 1

## An AM transmitter has a {Pc} W carrier with tone modulation of depth {m}.

::: part
answer: Pc*m^2/2
unit: W
tolerance: 0.5%

### How much power is in the two sidebands together?

::: misses
- [any] $\frac{m^2}{2}P_c$.
:::
:::

::: part
answer: Pc*(1 + m^2/2)
unit: W
tolerance: 0.5%

### What is the total transmitted power?

::: misses
- [any] Carrier plus sidebands.
:::
:::
:::

::: check
kind: parts
given: frf = 88.5 | 91.9 | 95 | 98.7 | 101.1 | 105.3; fif = 10.7

## A receiver tunes {frf} MHz with its local oscillator {fif} MHz above it.

::: part
answer: frf + fif
unit: MHz
tolerance: 0.01%

### What is the local oscillator frequency?

::: misses
- [any] $f_\text{RF} + f_\text{IF}$.
:::
:::

::: part
answer: frf + 2*fif
unit: MHz
tolerance: 0.01%

### What is the image frequency?

::: misses
- [any] Another $f_\text{IF}$ above the LO.
:::
:::
:::

::: check
kind: parts
given: f1 = 2 | 5; f2 = 7 | 9

## A nonlinear amplifier squares a signal with tones at {f1} kHz and {f2} kHz.

::: part
answer: f2 - f1
unit: kHz

### What difference frequency appears?

::: misses
- [any] Squaring makes products.
:::
:::

::: part
answer: f1 + f2
unit: kHz

### What sum frequency appears?

::: misses
- [any] $f_1 + f_2$.
:::
:::
:::

::: check
kind: parts
given: fs = 8000 | 44100; N = 1024 | 4096

## An FFT of {N} samples taken at {fs} Hz.

::: part
answer: fs/N
unit: Hz
tolerance: 0.5%

### What is the bin spacing?

::: misses
- [any] $f_s/N$.
:::
:::

::: part
answer: N/fs*1000
unit: ms
tolerance: 0.5%

### How long is the record?

::: misses
- [any] $N/f_s$.
:::
:::
:::

::: check
kind: parts
given: X = 2048 | 300; N = 4096 | 1200

## A tone lands exactly on a bin with $|X_k|$ = {X}, in an {N}-point FFT.

::: part
answer: 2*X/N
unit: V
tolerance: 0.5%

### What is its amplitude?

::: misses
- [any] $2|X_k|/N$.
:::
:::

::: part
answer: (2*X/N)/sqrt(2)
unit: V
tolerance: 0.5%

### What is its RMS value?

::: misses
- [any] Amplitude over $\sqrt 2$.
:::
:::
:::

::: check
kind: parts
given: fs = 1000 | 8000; f0 = 900 | 7000

## A tone at {f0} Hz is sampled at {fs} Hz without an anti-alias filter.

::: part
answer: fs - f0
unit: Hz

### At what frequency does it appear?

::: misses
- [f0] Above $f_s/2$ it folds back.
- [any] $|f_s - f_0|$.
:::
:::

::: part
answer: fs/2
unit: Hz

### What is the highest frequency that would have been safe?

::: misses
- [any] Nyquist.
:::
:::
:::

::: check
kind: parts
given: d = 0.5 | 1 | 2 | 4 | 5 | 10

## Two tones {d} Hz apart need to be separated.

::: part
answer: 1/d
unit: s
tolerance: 0.5%

### What record length gives bins {d} Hz apart?

::: misses
- [any] $T = 1/\Delta f$.
:::
:::

::: part
answer: 2/d
unit: s
tolerance: 0.5%

### With a Hann window, about what record length do you need?

::: misses
- [any] Twice as long.
:::
:::
:::

::: check
kind: parts
given: B = 1 | 20; T = 2 | 10

## A filter passes up to {B} kHz, and a pulse lasts {T} µs.

::: part
answer: 1/(2*B)*1000
unit: µs
tolerance: 0.5%

### What is the narrowest pulse the filter's impulse response resolves (its first zero, $\frac{1}{2B}$)?

::: misses
- [any] $\frac{1}{2B}$.
:::
:::

::: part
answer: 1/T*1000
unit: kHz
tolerance: 0.5%

### What bandwidth does the {T} µs pulse need, to its first null?

::: misses
- [any] $1/T$.
:::
:::
:::

::: check
kind: parts
given: fm = 1 | 4; m = 0.5 | 0.8; A = 2 | 10

## An AM signal has a {A} V carrier, depth {m}, and a {fm} kHz tone.

::: part
answer: m*A/2
unit: V
tolerance: 0.5%

### What is each sideband's amplitude?

::: misses
- [any] $\frac{mA}{2}$.
:::
:::

::: part
answer: A*(1 + m)
unit: V
tolerance: 0.5%

### What is the envelope's peak?

::: misses
- [any] $A(1 + m)$.
:::
:::
:::

::: check
kind: parts
given: k = 128 | 300; fs = 8192 | 48000; N = 1024 | 4096

## Bin {k} of an {N}-point FFT at {fs} Hz.

::: part
answer: k*fs/N
unit: Hz
tolerance: 0.5%

### What frequency is it?

::: misses
- [any] $kf_s/N$.
:::
:::

::: part
answer: N/2 + 1

### How many bins does `rfft` return?

::: misses
- [any] $N/2 + 1$.
:::
:::
:::

::: check
kind: parts
given: tau = 0.1 | 0.5 | 1 | 2 | 5 | 10

## An RC low-pass has $\tau$ = {tau} µs.

::: part
answer: tau*ln(9)
unit: µs
tolerance: 0.5%

### What is its rise time?

::: misses
- [any] $\tau\ln 9$.
:::
:::

::: part
answer: ln(9)/(2*pi)
tolerance: 0.5%

### What is rise time times bandwidth?

::: misses
- [any] $\tau\ln 9 \times \frac{1}{2\pi\tau}$.
:::
:::
:::

::: check
kind: parts
given: m = 0.2 | 0.3 | 0.4 | 0.5 | 0.7 | 0.8 | 1

## AM with modulation index {m}.

::: part
answer: m^2/(2 + m^2)
tolerance: 0.5%

### What fraction of the power is in the sidebands?

::: misses
- [m^2/2] That's relative to the carrier, not the total.
- [any] $\frac{m^2}{2 + m^2}$.
:::
:::
:::

::: check
kind: parts
given: B = 4 | 20; g = 1 | 2

## A signal limited to {B} kHz needs a {g} kHz guard band below its first alias.

::: part
answer: 2*B + g
unit: kHz
tolerance: 0.5%

### What sampling rate does that take?

::: misses
- [2*B] That leaves no guard band.
- [any] $f_s - B \ge B + g$.
:::
:::
:::
:::
