Integrator and differentiator