Comments:
- In Section 5.2 no.26, you could choose whatever rule you like. The most simple way is to equally partition the interval and use the right-endpoint rule to pick sample points.
- In Section 5.2 no.30, do remember that the area under x-axis is negative.