##############ECHO OF PROBLEM################# ##############temp/expt_sin_cpostode.ode################# diff ( y , x , 1 ) = expt ( sin ( 0.2 * x + 0.3 ) , 2.0 ) ; ! /* BEGIN FIRST INPUT BLOCK */ Digits=32; max_terms=40; ! /* END FIRST INPUT BLOCK */ /* BEGIN SECOND INPUT BLOCK */ x_start=c(0.1); x_end=c(0.2); array_y_init[0 + 1] = exact_soln_y(x_start); glob_look_poles=true; /* END SECOND INPUT BLOCK */ /* BEGIN OVERRIDE BLOCK */ glob_desired_digits_correct=8; glob_max_minutes=(20.0); glob_subiter_method=3; glob_max_iter=1000; glob_upper_ratio_limit=c(1.11); glob_lower_ratio_limit=c(0.99); /* END OVERRIDE BLOCK */ ! /* BEGIN USER DEF BLOCK */ double exact_soln_y (double x) { return(c(-2.5000000000000000000000000000000)*sin(c(0.20000000000000000000000000000000)*c(x)+c(0.30000000000000000000000000000000))*cos(c(0.20000000000000000000000000000000)*c(x)+c(0.30000000000000000000000000000000))+c(0.50000000000000000000000000000000)*c(x)+c(0.75000000000000000000000000000000)); } /* END USER DEF BLOCK */ #######END OF ECHO OF PROBLEM################# START of Soultion TOP MAIN SOLVE Loop x[1] = 0.1 y[1] (closed_form) = 0.05350569829701002 y[1] (numeric) = 0.05350569829701002 absolute error = 0 relative error = 0 % Desired digits = 8 Estimated correct digits = 13 Correct digits = 16 h = 0.05 NO INFO (given) for Equation 1 Radius of convergence (ratio test) for eq 1 = 1.702 Order of pole (ratio test) = 1 Radius of convergence (three term test) for eq 1 = 1.6 Order of pole (three term test) = 1.101 NO COMPLEX POLE (six term test) for Equation 1 Finished! diff ( y , x , 1 ) = expt ( sin ( 0.2 * x + 0.3 ) , 2.0 ) ; Iterations = 2 Total Elapsed Time = 0.0 Seconds Elapsed Time(since restart) = 0.0 Seconds Time to Timeout = 20 Minutes 0.0 Seconds Percent Done = 150 %