# Calculating Integrals

One major topic of calculus is differential calculus, which means taking derivatives, as we've been doing so far in this chapter. The other major topic is integral calculus, which involves adding up areas or volumes using many small

*slices*.When calculating integrals by hand, we're taught to reverse the algebra we would do to find a derivative. But that algebra gets messy and, in some cases, impossible. The

*hard*version we learned in school was Riemann sums, which required us to cut the area under a curve into rectangular*slices*and add them up to get the area. But you could never work with more than 10 slices in a realistic amount of time, certainly not on a test.However, using Python, we can work with as many slices as we want, and it saves us the drudgery of jumping through a lot of hoops to get an algebraic equation. The point of finding the algebraic equation is to obtain accurate number values, and if using a program will get us the most accurate numbers...