Numerical solutions of Duffing’s oscillator problem