Perhaps opamps would be a good thing for you to look at more carefully. With opamps, all kinds of mathematical OPerations can be realised, hence their name.
Integration of a voltage wrt time is easy with opamps, all you do is convert a voltage to a current and collect the charge on a capacitor.
