The frequency response for the system defined by h(n) = (a)^n*cos(n*pi)*u(n) can be derived using Z-transforms. The impulse response can be rewritten using Euler's identity, leading to the separation into two components, h1(n) and h2(n). The transfer function H(z) is computed by summing the contributions from each component, resulting in expressions involving geometric series. Evaluating H(z) on the unit circle in the Z-plane provides the frequency response H(ω). The final steps involve algebraic manipulations to complete the derivation.