x_even[n] = 0.5 * x[n] + 0.5 * x[-n]
cos[w * n] = 0.5 * exp[j * w * n] + 0.5 * exp[-j * w * n]
Converting from samplerate/cutoff frequency to pi-radians/sample in a discrete time sampled IIR filter system