So this is a problem I've been facing while finding the area under some curves, for example finding the area bounded by sinx and cosx between pi/4 and 5pi/4. integrating sinx-cosx with these limits would result in the positive and negative areas cancelling out, how do I get the modulus of this area. In basic functions like sinx I would just double the area I found between 0 and pi to calculate upto 2pi but it seems more troubling to do here.
Do I need to integrate the modulus of the function, then I'd have to do extra work and find where sinx-cosx changes sign
All pertaining to calculus
The Attempt at a Solution
Given above within the problem