We are to find the number of positive solutions to the equation
ex=4cos(2x). The figure below contains the graphs
of y=ex and y=4cos(2x). The solutions to
ex=4cos(2x) are precisely the x's where
y=ex and y=4cos(2x) cross.

It sure looks like there is exactly one crossing with x≥0
and that one crossing is somewhere between x=0 and x=1. Indeed
since [ex−4cos(2x)]x=0=−3<0 and
[ex−4cos(2x)]x=1>e>0 and
f(x)=ex−4cos(2x) is continuous, the intermediate value
theorem guarantees that there is at least one root with
0<x<1.
We still have to show that there is no second root — even if our
graphs are not accurate.
Recall that the range of the cosine function is [−1,1]. If ex=4cos(2x), then ex≤4, so x≤log(4)≈1.39. So, we only need to search for roots of f(x) on the interval (0,1.4): we are guaranteed there are no roots elsewhere. Over this interval,
2x∈(0,2.8), so sin(2x)>0, and thus f′(x)=ex+8sin(2x)>0. Since f′(x) has no roots in (0,1.4), we conclude by Rolle's Theorem that f(x) has at most one root in (0,1.4) (and so at most one positive root total). Since we've already found that a root of f(x) exists in (0,1), we conclude
ex=4cos(2x) has precisely one positive-valued solution.