Yefim S. answered 03/13/21
Math Tutor with Experience
ex = 1/2 + cos(2x) - 2sinx.
f(x) = ex - 1/2 - cos(2x) + 2sinx
f(0) = -1/2 < 0
f(π/4) = eπ/4 - 1/2 + 2sinπ/4 = 1.72 > 0
By Intermediate value theorem f(x) has at least one zero on interval [0, π/4]
Now f'(x) = ex + 2sin(2x) - 2cosx = ex + 2sinx(2cosx - 1) > 0 on [0, π/4] so f(x) increasing on this interval and because zero is unique