You can use a first order low pass filter with op amp:
**broken link removed**
Where the DC gain (Ho) is calculated R1/R2= Ho
The general form of the transfer function is:
**broken link removed** which is the general form for first-order (one reactive element) low-pass filters.
At high frequencies (w>>wo) the capacitor acts as a short, so the gain of the amplifier goes to zero. At very low frequencies (w<<wo) the capacitor is an open and the gain of the circuit is Ho.
When the magnitude of the capacitor impedance is much less than that of R1. In other words, we have high frequency when 1/wC<<R1, or w>>1/R1C=wo. Since R1 now has little effect on the circuit, it should act as an integrator. Likewise low frequency occurs when w<<1/R1C, and the circuit will act as an amplifier with gain -R1/R2= Ho.