##############ECHO OF PROBLEM################# ##############temp/nonlinear2postode.ode################# diff ( y , x , 1 ) = y * y; ! // BEGIN FIRST INPUT BLOCK Digits = 32; max_terms = 30; ! // END FIRST INPUT BLOCK // BEGIN SECOND INPUT BLOCK x_start = 0.0; x_end = 0.2 ; array_y_init[0 + 1] = exact_soln_y(x_start); glob_h = 0.01; glob_look_poles = true; glob_max_iter = 1000000; // END SECOND INPUT BLOCK // BEGIN OVERRIDE BLOCK glob_h = 0.005 ; glob_display_interval = 0.1; glob_look_poles = true; glob_max_iter = 10000; glob_max_minutes = 10; // END OVERRIDE BLOCK ! // BEGIN USER DEF BLOCK double exact_soln_y (double x) { return(2.0/(1.0 - 2.0*x)); } // END USER DEF BLOCK #######END OF ECHO OF PROBLEM################# START of Soultion x[1] = 0 y[1] (analytic) = 2 y[1] (numeric) = 2 absolute error = 0 relative error = 0 % Correct digits = 16 h = 0.005 TOP MAIN SOLVE Loop NO POLE x[1] = 0.1 y[1] (analytic) = 2.5 y[1] (numeric) = 2.500000004559658 absolute error = 4.559657540426088e-09 relative error = 1.823863016170435e-07 % Correct digits = 8 h = 0.005 TOP MAIN SOLVE Loop NO POLE x[1] = 0.2000000000000001 y[1] (analytic) = 3.333333333333334 y[1] (numeric) = 3.333333372837154 absolute error = 3.950381977091411e-08 relative error = 1.185114593127423e-06 % Correct digits = 7 h = 0.005 Finished! diff ( y , x , 1 ) = y * y; Iterations = 40 Total Elapsed Time = 4 Seconds Elapsed Time(since restart) = 4 Seconds Time to Timeout = 9 Minutes 56 Seconds Percent Done = 102.5 %