What is the Riemann definition of the integral and how does it give results? How did we find out that the integral of sin(x) is -cos(x)?