newton's method e^x + 2^{-x} +2\cos x -6 =0, x0=3/2, precision 6