---
title: Problem set 2
heading: "Problem set 2: spectra and transforms"
eyebrow: A10 · Problem set 2
type: problems
---

::: hook
These problems use lessons 7 to 11: reading spectra, the Fourier transform, the standard pairs, the shift, scaling and convolution properties, and correlation. Build each answer from a known pair plus a property rather than integrating from scratch.
:::

::: pool
pick: 12

::: check
kind: parts
given: A = 2 | 5; T = 0.5 | 2

## A pulse of height {A} V and width {T} ms.

::: part
answer: A*T
unit: mV/Hz
tolerance: 0.5%

### What is $X(0)$?

::: misses
- [any] The area.
:::
:::

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

### Where is the first null?

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

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

## $x(t) = e^{-t/\tau}$ for $t \ge 0$, $\tau$ = {tau} ms.

::: part
answer: 1/(2*pi*tau*1e-3)
unit: Hz
tolerance: 0.5%

### Where is $|X|$ down to $\frac{1}{\sqrt 2}$ of its peak?

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

::: part
answer: -45

### What is the phase of $X$ there, in degrees?

::: misses
- [any] The angle of $\frac{1}{1 + j}$.
:::
:::
:::

::: check
kind: parts
given: t0 = 1 | 3; f = 100 | 250

## A signal is delayed by {t0} ms.

::: part
answer: 1

### By what factor does its amplitude spectrum change?

::: misses
- [any] A delay doesn't change $|X|$.
:::
:::

::: part
answer: -360*f*t0*1e-3
tolerance: 0.5%

### By how many degrees does its phase change at {f} Hz?

::: misses
- [any] $-2\pi ft_0$, in degrees.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 4; T = 1 | 2

## A pulse of width {T} ms is compressed in time by a factor {a} (the same height).

::: part
answer: a/T
unit: kHz
tolerance: 0.5%

### Where is the new spectrum's first null?

::: misses
- [any] Scaling: a shorter pulse spreads in frequency.
:::
:::

::: part
answer: T/a
unit: mV/Hz
tolerance: 0.5%

### What is the new $X(0)$, for a 1 V pulse?

::: misses
- [any] The new area.
:::
:::
:::

::: check
kind: parts
given: A = 3 | 10; f0 = 2 | 15

## $x(t) = \given{A}\cos(2\pi \cdot \given{f0}\text{ kHz} \cdot t)$.

::: part
answer: A/2

### What is the weight of each line in its spectrum?

::: misses
- [any] $A/2$ at $\pm f_0$.
:::
:::

::: part
answer: A^2/2
tolerance: 0.5%

### What is its average power into 1 Ω?

::: misses
- [any] Add the squares of the two lines' weights.
:::
:::
:::

::: check
kind: parts
given: T = 1..10 int

## Two identical rectangular pulses of width {T} ms and height 1 V are convolved.

::: part
answer: 2*T
unit: ms

### How long is the result?

::: misses
- [any] Convolution adds the durations.
:::
:::

::: part
answer: T
unit: V²·ms
tolerance: 0.5%

### What is its peak value, in V²·ms?

::: misses
- [any] At full overlap, the area of one pulse: $1 \times T$.
:::
:::
:::

::: check
kind: parts
given: T = 0.25 | 0.5 | 1 | 2 | 4 | 5

## The convolution of a {T} ms rectangle with itself is a triangle.

::: part
answer: (T*1e-3)^2
unit: V²·s²
tolerance: 0.5%

### What is the triangle's transform at $f = 0$, in V²·s²?

::: misses
- [any] The product of the two $X(0)$ values.
:::
:::

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

### Where is the first null of its spectrum?

::: misses
- [any] $\text{sinc}^2$ has the same nulls as $\text{sinc}$.
:::
:::
:::

::: check
kind: parts
given: f1 = 1 | 3; f2 = 5 | 8

## A signal contains tones at {f1} kHz and {f2} kHz.

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

### Multiplied by itself, what is the lowest nonzero frequency produced?

::: misses
- [any] Products make sums and differences.
:::
:::

::: part
answer: 2*f2
unit: kHz

### What is the highest frequency produced?

::: misses
- [any] Twice the higher tone.
:::
:::
:::

::: check
kind: parts
given: D = 0.25 | 0.1; A = 4 | 10

## A pulse train of height {A} V, duty {D}, repeating at 1 kHz.

::: part
answer: A*D

### What is the height of its 0 Hz line?

::: misses
- [any] The DC level.
:::
:::

::: part
answer: 1/D
unit: kHz
tolerance: 0.5%

### At what frequency does its spectrum's envelope first reach zero?

::: misses
- [any] One over the pulse width in ms.
:::
:::
:::

::: check
kind: parts
given: B = 1..20 int

## An ideal low-pass filter passes up to {B} kHz.

::: part
answer: 1/(2*B)
unit: ms
tolerance: 0.5%

### How far from $t = 0$ is the first zero of its impulse response, $2B\,\text{sinc}(2Bt)$?

::: misses
- [any] $2Bt = 1$.
:::
:::

::: part
answer: 2*B
tolerance: 0.5%

### What is the impulse response's height at $t = 0$, in thousands per second?

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

::: check
kind: parts
given: f = 50 | 500; tau = 1 | 4

## $e^{-t/\tau}$, $\tau$ = {tau} ms, evaluated at {f} Hz.

::: part
answer: 1/sqrt(1 + (2*pi*f*tau*1e-3)^2)
tolerance: 0.5%

### What is $|X(f)|/X(0)$?

::: misses
- [any] $\frac{1}{\sqrt{1 + (2\pi f\tau)^2}}$.
:::
:::

::: part
answer: -atan(2*pi*f*tau*1e-3)*180/pi
tolerance: 0.5%

### What is its phase, in degrees?

::: misses
- [any] $-\tan^{-1}(2\pi f\tau)$.
:::
:::
:::

::: check
kind: parts
given: T = 1 | 2 | 4 | 5 | 10 | 20

## A {T} ms window of a long sine is analyzed.

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

### What is the frequency spacing of the window's spectral nulls?

::: misses
- [any] One over the window length.
:::
:::

::: part
answer: 2/T*1000
unit: Hz
tolerance: 0.5%

### How wide is the main lobe, null to null?

::: misses
- [any] Twice the null spacing.
:::
:::
:::

::: check
kind: parts
given: s = 0.2 | 0.5 | 1 | 2 | 5

## A Gaussian pulse $e^{-t^2/(2\sigma^2)}$ has $\sigma$ = {s} ms.

::: part
answer: s*sqrt(2*pi)
unit: ms
tolerance: 0.5%

### What is $X(0)$, in ms for a 1 V pulse?

::: misses
- [any] Its area, $\sigma\sqrt{2\pi}$.
:::
:::

::: part
answer: 1/(2*pi*s)
unit: kHz
tolerance: 0.5%

### At what frequency has its spectrum fallen to $e^{-1/2}$ of the peak?

::: misses
- [1/s] Divide by $2\pi$.
- [any] $\frac{1}{2\pi\sigma}$.
:::
:::
:::

::: check
kind: parts
given: a = 50 | 100 | 200 | 500 | 1000 | 2000

## A decaying cosine has envelope $e^{-\given{a}t}$.

::: part
answer: a/pi
unit: Hz
tolerance: 0.5%

### What is the 3 dB width of its spectral line?

::: misses
- [a/(2*pi)] That's the half-width.
- [any] $\frac{a}{\pi}$.
:::
:::
:::

::: check
kind: parts
given: d = 2..10 int

## A pulse train has duty $1/\given{d}$.

::: part
answer: d
tolerance: 0

### Which is its lowest missing harmonic?

::: misses
- [any] Every $d$th harmonic vanishes.
:::
:::
:::

::: check
kind: parts
given: A = 2 | 3; T = 2 | 5 | 10; t = 30 | 100 | 400

## A radar sends a rectangular pulse {A} V high and {T} µs long. The echo's correlation with the pulse peaks {t} µs after transmission.

::: part
answer: A^2*T*1e-6
unit: V²·s
tolerance: 0.5%

### What is the pulse's autocorrelation at zero lag, in V²·s?

::: misses
- [A*T*1e-6] The autocorrelation at zero lag is the energy, $A^2T$.
- [any] Not yet. $R(0) = \int x^2\,dt = A^2T$.
:::
:::

::: part
answer: 3e8*t*1e-6/2
unit: m
tolerance: 0.5%

### How far away is the target?

::: misses
- [3e8*t*1e-6] Halve it: the delay covers the trip out and back.
- [any] Not yet. Range is $c\tau/2$.
:::
:::

::: part
answer: 3e8*T*1e-6/2
unit: m
tolerance: 0.5%

### About how close in range could a second target be and still give a separate peak?

::: misses
- [3e8*T*1e-6] The resolution is half the pulse's length in space, $cT/2$.
- [any] Not yet. Two triangles separate when their delays differ by more than about $T$: $cT/2$ in range.
:::
:::

::: right
Right. The pulse's energy sets how far it can see; its length sets how finely it can tell targets apart. A plain pulse can't improve one without hurting the other.
:::
:::
:::
