We need to find the area A bounded by y=max{sinx,cosx}, x=0, x=23π, and the x-axis.
- [0,4π]: cosx≥sinx, so y=cosx
- [4π,45π]: sinx≥cosx, so y=sinx
- [45π,23π]: cosx≥sinx, so y=cosx
The area between the curve and x-axis counts absolute values. The function max{sinx,cosx}:
- Is positive on [0,π]
- Becomes negative: sinx<0 for x∈(π,2π), and cosx<0 for x∈(2π,23π)
On [4π,π]: y=sinx≥0
On [π,45π]: y=sinx≤0
On [45π,23π]: y=cosx≤0
The area bounded by the curve and x-axis:
A=∫0π/4cosxdx+∫π/4πsinxdx+∫π5π/4∣sinx∣dx+∫5π/43π/2∣cosx∣dx
∫0π/4cosxdx=sinx0π/4=22
∫π/4πsinxdx=−cosxπ/4π=−(−1)−(−22)=1+22
∫π5π/4(−sinx)dx=cosxπ5π/4=−22−(−1)=1−22
∫5π/43π/2(−cosx)dx=−sinx5π/43π/2=−(−1)−(−(−22))=1−22
A=22+1+22+1−22+1−22=3
A+A2=3+9=12
The answer is 12.