The base of a solid is the region bounded by the graph of y=cosx and the x-axis on the interval 0≤x≤π. Cross sections perpendicular to the x-axis are described as follows:
• On 0≤x≤2π, each cross section is a rectangle whose height is 2 units and whose base equals cosx.
• On 2π<x≤π, each cross section is a square.
Which of the following is the exact volume of the solid?
a) 3
b) 2+4π
c) 4π
d) 2+2π