The value of ∫π0[cosx]dx, where [⋅]is the greatest integer function, is
A
π2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
0
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
π
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
−π2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution
The correct option is B−π2 I=∫π0[cosx]dx=∫π20[cosx]dx+∫ππ2[cosx]dx For 0<x<π2⇒0<cosx<1⇒[cosx]=0 And for π2<x<π⇒−1<cosx<0⇒[cosx]=−1 I=∫π200dx+∫ππ2(−1)dx=∫ππ2(−1)dx=−[x]ππ2=−(π−π2)=−π2