RC Integration

Integrating a 1kHz squarewave using an RC circuit. Differentiating a 20 Hz square wave. (R= 1k,  C= 1uF)