heron method and newton method