solve x^3=cosx+1