Given, y=cosx
Equation of line joining (4−π,cos(4−π)) and (0,2) is y−2=0+π42−12(x−0) ⇒y−2=(8−22)x ⇒y=π(8−22)x+2
Equation of line joining (4π,cos4π) and (0,2) is y−2=0−4π2−21(x−0) ⇒y=(π−8+22)x+2
Graph of given curve, y=cosx, and line are
Area of shaded region =2 area of curve APCA =20∫π/4[π(−8+22)x+2−cosx]dx =2[2π−8x2+2π22x2+2x−sinx]0π/4 =2[π−4(4π)2+π2(4π)2+42π−21] =2[4π(4−4+42+2)−21] =(84+2)π−2