3.1 : Design a FIR filter with a cutoff frequency of 0.2π using the window method.
x_k+1 = x_k - μ * ∇J(x_k)
h[n] = 0.54 - 0.46cos(πn/M)
∇J(x) = 2x + 2
The energy spectral density is then: