This is the entire problem...

Use 2 repetitions of the Newton-Raphson algorithm to find the value of x near zero for which e^x=2cosx. (answer to 3 decimal places)

What I've done so far...

e^x=2cosx

x=ln(2cosx)

f'(x)=-tanx

xo=0

x1=0-(ln(2cos0)/(-tan0))

.....this is where I get stuck b/c my calculator says ERROR since I can't divide by 0. What am I doing wrong???