Consider the following digital filter: y(n) = (x(n) - x(n - 2))/2.
a) Using the Z transform, derive general expressions for the gain and phase of the filter.
b) Using the general expressions from part a, calculate the gain and phase of the filter at DC and 60 Hz if the sampling rate is 240 Hz.