Bandpass Approximation

The animation below shows how to find the optimal solution for the given specification.
Approximation
Note: Click on the picture to enlarge it.