solve x cos x - 1/x = 0 using newton's method starting at x_0 = 4.005