The correct option is
D zero
Given : x3+2x2+5x+2cosx=0in[0,π]
⇒x3+2x2+5x=−2cosx=f(x)
⇒f(x)=x3+2x2+5x g(x)=−2cosx
So, we are taking for x∈[0,π] such that f(x)=g(x)
Claim 1 : f(x)≥0in[0,2π]
All coefficients are positive and the interval is positive as well
Observation 1 : g(x)>0 only in [π2,3π2]
If f(x)=g(x) then that x must lie in the first interval.
Claim 2 : f(x) is strictly increasing
Proof : f1(x)=3x2+4x+5>0in[0,2π]
Observation 2 : f(32)≈15.375
Note that 32<π2
Therefore, f(π2)>15.375
Therefore, f(x)>15.375 in [π2,3π2]
However, the maximum of g(x) is 2.
Therefore, f(x)≠g(x)in[π2,3π2]
From observations 1 and 2, we can see that f(x)≠g(x)in[0,2π]
Hence, the total number of solutions to the equations is 0.