|\^/| Maple 11 (IBM INTEL LINUX)
._|\| |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2007
\ MAPLE / All rights reserved. Maple is a trademark of
<____ ____> Waterloo Maple Inc.
| Type ? for help.
> #BEGIN OUTFILE1
> # Begin Function number 3
> display_poles := proc()
> global ALWAYS,glob_display_flag, glob_large_float, array_pole, glob_type_given_pole,array_given_rad_poles,array_given_ord_poles, array_complex_poles,array_poles,array_real_poles,array_x ;
> local rad_given;
> if (glob_type_given_pole = 4) then # if number 1
> rad_given := sqrt(expt(array_x[1] - array_given_rad_poles[1,1],2.0) + expt(array_given_rad_poles[1,2],2.0)) ;
> omniout_float(ALWAYS,"Radius of convergence (given) for eq 1 ",4, rad_given,4," ");
> omniout_float(ALWAYS,"Order of pole (given) ",4, array_given_ord_poles[1,1],4," ");
> elif
> (glob_type_given_pole = 3) then # if number 2
> omniout_str(ALWAYS,"NO POLE (given) for Equation 1");
> else
> omniout_str(ALWAYS,"NO INFO (given) for Equation 1");
> fi;# end if 2;
> if (array_poles[1,1] <> glob_large_float) then # if number 2
> omniout_float(ALWAYS,"Radius of convergence (ratio test) for eq 1 ",4, array_poles[1,1],4," ");
> omniout_str(ALWAYS,"Order of pole (ratio test) Not computed");
> else
> omniout_str(ALWAYS,"NO POLE (ratio test) for Equation 1");
> fi;# end if 2;
> if ((array_real_poles[1,1] > 0.0) and (array_real_poles[1,1] <> glob_large_float)) then # if number 2
> omniout_float(ALWAYS,"Radius of convergence (three term test) for eq 1 ",4, array_real_poles[1,1],4," ");
> omniout_float(ALWAYS,"Order of pole (three term test) ",4, array_real_poles[1,2],4," ");
> else
> omniout_str(ALWAYS,"NO REAL POLE (three term test) for Equation 1");
> fi;# end if 2;
> if ((array_complex_poles[1,1] > 0.0) and (array_complex_poles[1,1] <> glob_large_float)) then # if number 2
> omniout_float(ALWAYS,"Radius of convergence (six term test) for eq 1 ",4, array_complex_poles[1,1],4," ");
> omniout_float(ALWAYS,"Order of pole (six term test) ",4, array_complex_poles[1,2],4," ");
> else
> omniout_str(ALWAYS,"NO COMPLEX POLE (six term test) for Equation 1");
> fi;# end if 2
> ;
> end;
display_poles := proc()
local rad_given;
global ALWAYS, glob_display_flag, glob_large_float, array_pole,
glob_type_given_pole, array_given_rad_poles, array_given_ord_poles,
array_complex_poles, array_poles, array_real_poles, array_x;
if glob_type_given_pole = 4 then
rad_given := sqrt(
expt(array_x[1] - array_given_rad_poles[1, 1], 2.0)
+ expt(array_given_rad_poles[1, 2], 2.0));
omniout_float(ALWAYS,
"Radius of convergence (given) for eq 1 ", 4,
rad_given, 4, " ");
omniout_float(ALWAYS,
"Order of pole (given) ", 4,
array_given_ord_poles[1, 1], 4, " ")
elif glob_type_given_pole = 3 then
omniout_str(ALWAYS, "NO POLE (given) for Equation 1")
else omniout_str(ALWAYS, "NO INFO (given) for Equation 1")
end if;
if array_poles[1, 1] <> glob_large_float then
omniout_float(ALWAYS,
"Radius of convergence (ratio test) for eq 1 ", 4,
array_poles[1, 1], 4, " ");
omniout_str(ALWAYS, "Order of pole (ratio test) \
Not computed")
else omniout_str(ALWAYS, "NO POLE (ratio test) for Equation 1")
end if;
if 0. < array_real_poles[1, 1] and
array_real_poles[1, 1] <> glob_large_float then
omniout_float(ALWAYS,
"Radius of convergence (three term test) for eq 1 ", 4,
array_real_poles[1, 1], 4, " ");
omniout_float(ALWAYS,
"Order of pole (three term test) ", 4,
array_real_poles[1, 2], 4, " ")
else omniout_str(ALWAYS,
"NO REAL POLE (three term test) for Equation 1")
end if;
if 0. < array_complex_poles[1, 1] and
array_complex_poles[1, 1] <> glob_large_float then
omniout_float(ALWAYS,
"Radius of convergence (six term test) for eq 1 ", 4,
array_complex_poles[1, 1], 4, " ");
omniout_float(ALWAYS,
"Order of pole (six term test) ", 4,
array_complex_poles[1, 2], 4, " ")
else omniout_str(ALWAYS,
"NO COMPLEX POLE (six term test) for Equation 1")
end if
end proc
> # End Function number 3
> # Begin Function number 4
> check_sign := proc( x0 ,xf)
> local ret;
> if (xf > x0) then # if number 2
> ret := 1.0;
> else
> ret := -1.0;
> fi;# end if 2;
> ret;;
> end;
check_sign := proc(x0, xf)
local ret;
if x0 < xf then ret := 1.0 else ret := -1.0 end if; ret
end proc
> # End Function number 4
> # Begin Function number 5
> est_size_answer := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local min_size;
> min_size := glob_large_float;
> if (omniabs(array_y[1]) < min_size) then # if number 2
> min_size := omniabs(array_y[1]);
> omniout_float(ALWAYS,"min_size",32,min_size,32,"");
> fi;# end if 2;
> if (min_size < 1.0) then # if number 2
> min_size := 1.0;
> omniout_float(ALWAYS,"min_size",32,min_size,32,"");
> fi;# end if 2;
> min_size;
> end;
est_size_answer := proc()
local min_size;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_y_init, array_norms, array_fact_1, array_pole,
array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_m1, array_y_higher,
array_y_higher_work, array_y_higher_work2, array_y_set_initial, array_poles,
array_given_rad_poles, array_given_ord_poles, array_real_poles,
array_complex_poles, array_fact_2, glob_last;
min_size := glob_large_float;
if omniabs(array_y[1]) < min_size then
min_size := omniabs(array_y[1]);
omniout_float(ALWAYS, "min_size", 32, min_size, 32, "")
end if;
if min_size < 1.0 then
min_size := 1.0;
omniout_float(ALWAYS, "min_size", 32, min_size, 32, "")
end if;
min_size
end proc
> # End Function number 5
> # Begin Function number 6
> test_suggested_h := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local max_estimated_step_error,hn_div_ho,hn_div_ho_2,hn_div_ho_3,no_terms,est_tmp;
> max_estimated_step_error := 0.0;
> no_terms := glob_max_terms;
> hn_div_ho := 0.5;
> hn_div_ho_2 := 0.25;
> hn_div_ho_3 := 0.125;
> omniout_float(ALWAYS,"hn_div_ho",32,hn_div_ho,32,"");
> omniout_float(ALWAYS,"hn_div_ho_2",32,hn_div_ho_2,32,"");
> omniout_float(ALWAYS,"hn_div_ho_3",32,hn_div_ho_3,32,"");
> est_tmp := omniabs(array_y[no_terms-3] + array_y[no_terms - 2] * hn_div_ho + array_y[no_terms - 1] * hn_div_ho_2 + array_y[no_terms] * hn_div_ho_3);
> if (est_tmp >= max_estimated_step_error) then # if number 2
> max_estimated_step_error := est_tmp;
> fi;# end if 2;
> omniout_float(ALWAYS,"max_estimated_step_error",32,max_estimated_step_error,32,"");
> max_estimated_step_error;
> end;
test_suggested_h := proc()
local max_estimated_step_error, hn_div_ho, hn_div_ho_2, hn_div_ho_3,
no_terms, est_tmp;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_y_init, array_norms, array_fact_1, array_pole,
array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_m1, array_y_higher,
array_y_higher_work, array_y_higher_work2, array_y_set_initial, array_poles,
array_given_rad_poles, array_given_ord_poles, array_real_poles,
array_complex_poles, array_fact_2, glob_last;
max_estimated_step_error := 0.;
no_terms := glob_max_terms;
hn_div_ho := 0.5;
hn_div_ho_2 := 0.25;
hn_div_ho_3 := 0.125;
omniout_float(ALWAYS, "hn_div_ho", 32, hn_div_ho, 32, "");
omniout_float(ALWAYS, "hn_div_ho_2", 32, hn_div_ho_2, 32, "");
omniout_float(ALWAYS, "hn_div_ho_3", 32, hn_div_ho_3, 32, "");
est_tmp := omniabs(array_y[no_terms - 3]
+ array_y[no_terms - 2]*hn_div_ho
+ array_y[no_terms - 1]*hn_div_ho_2
+ array_y[no_terms]*hn_div_ho_3);
if max_estimated_step_error <= est_tmp then
max_estimated_step_error := est_tmp
end if;
omniout_float(ALWAYS, "max_estimated_step_error", 32,
max_estimated_step_error, 32, "");
max_estimated_step_error
end proc
> # End Function number 6
> # Begin Function number 7
> reached_interval := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local ret;
> if (glob_check_sign * (array_x[1]) >= glob_check_sign * glob_next_display) then # if number 2
> ret := true;
> else
> ret := false;
> fi;# end if 2;
> return(ret);
> end;
reached_interval := proc()
local ret;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_y_init, array_norms, array_fact_1, array_pole,
array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_m1, array_y_higher,
array_y_higher_work, array_y_higher_work2, array_y_set_initial, array_poles,
array_given_rad_poles, array_given_ord_poles, array_real_poles,
array_complex_poles, array_fact_2, glob_last;
if glob_check_sign*glob_next_display <= glob_check_sign*array_x[1] then
ret := true
else ret := false
end if;
return ret
end proc
> # End Function number 7
> # Begin Function number 8
> display_alot := proc(iter)
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local abserr, analytic_val_y, ind_var, numeric_val, relerr, term_no;
> #TOP DISPLAY ALOT
> if (reached_interval()) then # if number 2
> if (iter >= 0) then # if number 3
> ind_var := array_x[1];
> omniout_float(ALWAYS,"x[1] ",33,ind_var,20," ");
> analytic_val_y := exact_soln_y(ind_var);
> omniout_float(ALWAYS,"y[1] (analytic) ",33,analytic_val_y,20," ");
> term_no := 1;
> numeric_val := array_y[term_no];
> abserr := omniabs(numeric_val - analytic_val_y);
> omniout_float(ALWAYS,"y[1] (numeric) ",33,numeric_val,20," ");
> if (omniabs(analytic_val_y) <> 0.0) then # if number 4
> relerr := abserr*100.0/omniabs(analytic_val_y);
> if (relerr > 0.0000000000000000000000000000000001) then # if number 5
> glob_good_digits := -trunc(log10(relerr)) + 3;
> else
> glob_good_digits := Digits;
> fi;# end if 5;
> else
> relerr := -1.0 ;
> glob_good_digits := -1;
> fi;# end if 4;
> if (glob_iter = 1) then # if number 4
> array_1st_rel_error[1] := relerr;
> else
> array_last_rel_error[1] := relerr;
> fi;# end if 4;
> omniout_float(ALWAYS,"absolute error ",4,abserr,20," ");
> omniout_float(ALWAYS,"relative error ",4,relerr,20,"%");
> omniout_int(INFO,"Correct digits ",32,glob_good_digits,4," ")
> ;
> omniout_float(ALWAYS,"h ",4,glob_h,20," ");
> fi;# end if 3;
> #BOTTOM DISPLAY ALOT
> fi;# end if 2;
> end;
display_alot := proc(iter)
local abserr, analytic_val_y, ind_var, numeric_val, relerr, term_no;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_y_init, array_norms, array_fact_1, array_pole,
array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_m1, array_y_higher,
array_y_higher_work, array_y_higher_work2, array_y_set_initial, array_poles,
array_given_rad_poles, array_given_ord_poles, array_real_poles,
array_complex_poles, array_fact_2, glob_last;
if reached_interval() then
if 0 <= iter then
ind_var := array_x[1];
omniout_float(ALWAYS, "x[1] ", 33,
ind_var, 20, " ");
analytic_val_y := exact_soln_y(ind_var);
omniout_float(ALWAYS, "y[1] (analytic) ", 33,
analytic_val_y, 20, " ");
term_no := 1;
numeric_val := array_y[term_no];
abserr := omniabs(numeric_val - analytic_val_y);
omniout_float(ALWAYS, "y[1] (numeric) ", 33,
numeric_val, 20, " ");
if omniabs(analytic_val_y) <> 0. then
relerr := abserr*100.0/omniabs(analytic_val_y);
if 0.1*10^(-33) < relerr then
glob_good_digits := -trunc(log10(relerr)) + 3
else glob_good_digits := Digits
end if
else relerr := -1.0; glob_good_digits := -1
end if;
if glob_iter = 1 then array_1st_rel_error[1] := relerr
else array_last_rel_error[1] := relerr
end if;
omniout_float(ALWAYS, "absolute error ", 4,
abserr, 20, " ");
omniout_float(ALWAYS, "relative error ", 4,
relerr, 20, "%");
omniout_int(INFO, "Correct digits ", 32,
glob_good_digits, 4, " ");
omniout_float(ALWAYS, "h ", 4,
glob_h, 20, " ")
end if
end if
end proc
> # End Function number 8
> # Begin Function number 9
> adjust_for_pole := proc(h_param)
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local hnew, sz2, tmp;
> #TOP ADJUST FOR POLE
> hnew := h_param;
> glob_normmax := glob_small_float;
> if (omniabs(array_y_higher[1,1]) > glob_small_float) then # if number 2
> tmp := omniabs(array_y_higher[1,1]);
> if (tmp < glob_normmax) then # if number 3
> glob_normmax := tmp;
> fi;# end if 3
> fi;# end if 2;
> if (glob_look_poles and (omniabs(array_pole[1]) > glob_small_float) and (array_pole[1] <> glob_large_float)) then # if number 2
> sz2 := array_pole[1]/10.0;
> if (sz2 < hnew) then # if number 3
> omniout_float(INFO,"glob_h adjusted to ",20,h_param,12,"due to singularity.");
> omniout_str(INFO,"Reached Optimal");
> return(hnew);
> fi;# end if 3
> fi;# end if 2;
> if ( not glob_reached_optimal_h) then # if number 2
> glob_reached_optimal_h := true;
> glob_curr_iter_when_opt := glob_current_iter;
> glob_optimal_clock_start_sec := elapsed_time_seconds();
> glob_optimal_start := array_x[1];
> fi;# end if 2;
> hnew := sz2;
> ;#END block
> return(hnew);
> #BOTTOM ADJUST FOR POLE
> end;
adjust_for_pole := proc(h_param)
local hnew, sz2, tmp;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_y_init, array_norms, array_fact_1, array_pole,
array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_m1, array_y_higher,
array_y_higher_work, array_y_higher_work2, array_y_set_initial, array_poles,
array_given_rad_poles, array_given_ord_poles, array_real_poles,
array_complex_poles, array_fact_2, glob_last;
hnew := h_param;
glob_normmax := glob_small_float;
if glob_small_float < omniabs(array_y_higher[1, 1]) then
tmp := omniabs(array_y_higher[1, 1]);
if tmp < glob_normmax then glob_normmax := tmp end if
end if;
if glob_look_poles and glob_small_float < omniabs(array_pole[1]) and
array_pole[1] <> glob_large_float then
sz2 := array_pole[1]/10.0;
if sz2 < hnew then
omniout_float(INFO, "glob_h adjusted to ", 20, h_param, 12,
"due to singularity.");
omniout_str(INFO, "Reached Optimal");
return hnew
end if
end if;
if not glob_reached_optimal_h then
glob_reached_optimal_h := true;
glob_curr_iter_when_opt := glob_current_iter;
glob_optimal_clock_start_sec := elapsed_time_seconds();
glob_optimal_start := array_x[1]
end if;
hnew := sz2;
return hnew
end proc
> # End Function number 9
> # Begin Function number 10
> prog_report := proc(x_start,x_end)
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local clock_sec, opt_clock_sec, clock_sec1, expect_sec, left_sec, percent_done, total_clock_sec;
> #TOP PROGRESS REPORT
> clock_sec1 := elapsed_time_seconds();
> total_clock_sec := convfloat(clock_sec1) - convfloat(glob_orig_start_sec);
> glob_clock_sec := convfloat(clock_sec1) - convfloat(glob_clock_start_sec);
> left_sec := convfloat(glob_max_sec) + convfloat(glob_orig_start_sec) - convfloat(clock_sec1);
> expect_sec := comp_expect_sec(convfloat(x_end),convfloat(x_start),convfloat(array_x[1]) + convfloat(glob_h) ,convfloat( clock_sec1) - convfloat(glob_orig_start_sec));
> opt_clock_sec := convfloat( clock_sec1) - convfloat(glob_optimal_clock_start_sec);
> glob_optimal_expect_sec := comp_expect_sec(convfloat(x_end),convfloat(x_start),convfloat(array_x[1]) +convfloat( glob_h) ,convfloat( opt_clock_sec));
> glob_total_exp_sec := glob_optimal_expect_sec + total_clock_sec;
> percent_done := comp_percent(convfloat(x_end),convfloat(x_start),convfloat(array_x[1]) + convfloat(glob_h));
> glob_percent_done := percent_done;
> omniout_str_noeol(INFO,"Total Elapsed Time ");
> omniout_timestr(convfloat(total_clock_sec));
> omniout_str_noeol(INFO,"Elapsed Time(since restart) ");
> omniout_timestr(convfloat(glob_clock_sec));
> if (convfloat(percent_done) < convfloat(100.0)) then # if number 2
> omniout_str_noeol(INFO,"Expected Time Remaining ");
> omniout_timestr(convfloat(expect_sec));
> omniout_str_noeol(INFO,"Optimized Time Remaining ");
> omniout_timestr(convfloat(glob_optimal_expect_sec));
> omniout_str_noeol(INFO,"Expected Total Time ");
> omniout_timestr(convfloat(glob_total_exp_sec));
> fi;# end if 2;
> omniout_str_noeol(INFO,"Time to Timeout ");
> omniout_timestr(convfloat(left_sec));
> omniout_float(INFO, "Percent Done ",33,percent_done,4,"%");
> #BOTTOM PROGRESS REPORT
> end;
prog_report := proc(x_start, x_end)
local clock_sec, opt_clock_sec, clock_sec1, expect_sec, left_sec,
percent_done, total_clock_sec;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_y_init, array_norms, array_fact_1, array_pole,
array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_m1, array_y_higher,
array_y_higher_work, array_y_higher_work2, array_y_set_initial, array_poles,
array_given_rad_poles, array_given_ord_poles, array_real_poles,
array_complex_poles, array_fact_2, glob_last;
clock_sec1 := elapsed_time_seconds();
total_clock_sec :=
convfloat(clock_sec1) - convfloat(glob_orig_start_sec);
glob_clock_sec :=
convfloat(clock_sec1) - convfloat(glob_clock_start_sec);
left_sec := convfloat(glob_max_sec) + convfloat(glob_orig_start_sec)
- convfloat(clock_sec1);
expect_sec := comp_expect_sec(convfloat(x_end), convfloat(x_start),
convfloat(array_x[1]) + convfloat(glob_h),
convfloat(clock_sec1) - convfloat(glob_orig_start_sec));
opt_clock_sec :=
convfloat(clock_sec1) - convfloat(glob_optimal_clock_start_sec);
glob_optimal_expect_sec := comp_expect_sec(convfloat(x_end),
convfloat(x_start), convfloat(array_x[1]) + convfloat(glob_h),
convfloat(opt_clock_sec));
glob_total_exp_sec := glob_optimal_expect_sec + total_clock_sec;
percent_done := comp_percent(convfloat(x_end), convfloat(x_start),
convfloat(array_x[1]) + convfloat(glob_h));
glob_percent_done := percent_done;
omniout_str_noeol(INFO, "Total Elapsed Time ");
omniout_timestr(convfloat(total_clock_sec));
omniout_str_noeol(INFO, "Elapsed Time(since restart) ");
omniout_timestr(convfloat(glob_clock_sec));
if convfloat(percent_done) < convfloat(100.0) then
omniout_str_noeol(INFO, "Expected Time Remaining ");
omniout_timestr(convfloat(expect_sec));
omniout_str_noeol(INFO, "Optimized Time Remaining ");
omniout_timestr(convfloat(glob_optimal_expect_sec));
omniout_str_noeol(INFO, "Expected Total Time ");
omniout_timestr(convfloat(glob_total_exp_sec))
end if;
omniout_str_noeol(INFO, "Time to Timeout ");
omniout_timestr(convfloat(left_sec));
omniout_float(INFO, "Percent Done ", 33,
percent_done, 4, "%")
end proc
> # End Function number 10
> # Begin Function number 11
> check_for_pole := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local cnt, dr1, dr2, ds1, ds2, hdrc, m, n, nr1, nr2, ord_no, rad_c, rcs, rm0, rm1, rm2, rm3, rm4, found_sing, h_new, ratio, term, local_test, tmp_rad, tmp_ratio, prev_tmp_rad;
> #TOP CHECK FOR POLE
> array_pole[1] := glob_large_float;
> array_pole[2] := glob_large_float;
> tmp_rad := glob_large_float;
> prev_tmp_rad := glob_large_float;
> tmp_ratio := glob_large_float;
> rad_c := glob_large_float;
> array_poles[1,1] := glob_large_float;
> array_poles[1,2] := glob_large_float;
> #TOP radius ratio test in Henrici1
> found_sing := 1;
> n := glob_max_terms - 1 - 10;
> cnt := 0;
> while ((cnt < 5) and (found_sing = 1)) do # do number 1
> if ((omniabs(array_y_higher[1,n]) = 0.0) or (omniabs(array_y_higher[1,n+1]) = 0.0)) then # if number 2
> found_sing := 0;
> else
> tmp_rad := omniabs(array_y_higher[1,n] * glob_h / array_y_higher[1,n + 1]);
> tmp_ratio := tmp_rad / prev_tmp_rad;
> if ((cnt > 0 ) and (tmp_ratio < 2.0) and (tmp_ratio > 0.5)) then # if number 3
> if (tmp_rad < rad_c) then # if number 4
> rad_c := tmp_rad;
> fi;# end if 4;
> elif
> (cnt = 0) then # if number 4
> if (tmp_rad < rad_c) then # if number 5
> rad_c := tmp_rad;
> fi;# end if 5;
> elif
> (cnt > 0) then # if number 5
> found_sing := 0;
> fi;# end if 5
> fi;# end if 4;
> prev_tmp_rad := tmp_rad;;
> cnt := cnt + 1;
> n := n + 1;
> od;# end do number 1;
> if (found_sing = 1) then # if number 4
> if (rad_c < array_pole[1]) then # if number 5
> array_pole[1] := rad_c;
> array_poles[1,1] := rad_c;
> fi;# end if 5;
> fi;# end if 4;
> #BOTTOM radius ratio test in Henrici1
> #IN RADII REAL EQ = 1
> #Computes radius of convergence and r_order of pole from 3 adjacent Taylor series terms. EQUATUON NUMBER 1
> #Applies to pole of arbitrary r_order on the real axis,
> #Due to Prof. George Corliss.
> n := glob_max_terms;
> m := n - 1 - 1;
> while ((m >= 10) and ((omniabs(array_y_higher[1,m]) = 0.0) or (omniabs(array_y_higher[1,m-1]) = 0.0) or (omniabs(array_y_higher[1,m-2]) = 0.0))) do # do number 1
> m := m - 1;
> od;# end do number 1;
> if (m > 10) then # if number 4
> rm0 := array_y_higher[1,m]/array_y_higher[1,m-1];
> rm1 := array_y_higher[1,m-1]/array_y_higher[1,m-2];
> hdrc := convfloat(m)*rm0-convfloat(m-1)*rm1;
> if (omniabs(hdrc) > 0.0) then # if number 5
> rcs := glob_h/hdrc;
> ord_no := (rm1*convfloat((m-2)*(m-2))-rm0*convfloat(m-3))/hdrc;
> array_real_poles[1,1] := rcs;
> array_real_poles[1,2] := ord_no;
> else
> array_real_poles[1,1] := glob_large_float;
> array_real_poles[1,2] := glob_large_float;
> fi;# end if 5
> else
> array_real_poles[1,1] := glob_large_float;
> array_real_poles[1,2] := glob_large_float;
> fi;# end if 4;
> #BOTTOM RADII REAL EQ = 1
> #TOP RADII COMPLEX EQ = 1
> #Computes radius of convergence for complex conjugate pair of poles.
> #from 6 adjacent Taylor series terms
> #Also computes r_order of poles.
> #Due to Manuel Prieto.
> #With a correction by Dennis J. Darland
> n := glob_max_terms - 1 - 1;
> cnt := 0;
> while ((cnt < 5) and (n >= 10)) do # do number 1
> if (omniabs(array_y_higher[1,n]) <> 0.0) then # if number 4
> cnt := cnt + 1;
> else
> cnt := 0;
> fi;# end if 4;
> n := n - 1;
> od;# end do number 1;
> m := n + cnt;
> if (m <= 10) then # if number 4
> rad_c := glob_large_float;
> ord_no := glob_large_float;
> else
> rm0 := (array_y_higher[1,m])/(array_y_higher[1,m-1]);
> rm1 := (array_y_higher[1,m-1])/(array_y_higher[1,m-2]);
> rm2 := (array_y_higher[1,m-2])/(array_y_higher[1,m-3]);
> rm3 := (array_y_higher[1,m-3])/(array_y_higher[1,m-4]);
> rm4 := (array_y_higher[1,m-4])/(array_y_higher[1,m-5]);
> nr1 := convfloat(m-1)*rm0 - 2.0*convfloat(m-2)*rm1 + convfloat(m-3)*rm2;
> nr2 := convfloat(m-2)*rm1 - 2.0*convfloat(m-3)*rm2 + convfloat(m-4)*rm3;
> dr1 := (-1.0)/rm1 + 2.0/rm2 - 1.0/rm3;
> dr2 := (-1.0)/rm2 + 2.0/rm3 - 1.0/rm4;
> ds1 := 3.0/rm1 - 8.0/rm2 + 5.0/rm3;
> ds2 := 3.0/rm2 - 8.0/rm3 + 5.0/rm4;
> if ((omniabs(nr1 * dr2 - nr2 * dr1) = 0.0) or (omniabs(dr1) = 0.0)) then # if number 5
> rad_c := glob_large_float;
> ord_no := glob_large_float;
> else
> if (omniabs(nr1*dr2 - nr2 * dr1) <> 0.0) then # if number 6
> rcs := ((ds1*dr2 - ds2*dr1 +dr1*dr2)/(nr1*dr2 - nr2 * dr1));
> #(Manuels) rcs := (ds1*dr2 - ds2*dr1)/(nr1*dr2 - nr2 * dr1)
> ord_no := (rcs*nr1 - ds1)/(2.0*dr1) -convfloat(m)/2.0;
> if (omniabs(rcs) <> 0.0) then # if number 7
> if (rcs > 0.0) then # if number 8
> rad_c := sqrt(rcs) * omniabs(glob_h);
> else
> rad_c := glob_large_float;
> fi;# end if 8
> else
> rad_c := glob_large_float;
> ord_no := glob_large_float;
> fi;# end if 7
> else
> rad_c := glob_large_float;
> ord_no := glob_large_float;
> fi;# end if 6
> fi;# end if 5;
> array_complex_poles[1,1] := rad_c;
> array_complex_poles[1,2] := ord_no;
> fi;# end if 4;
> #BOTTOM RADII COMPLEX EQ = 1
> #START ADJUST ALL SERIES
> if (array_pole[1] * glob_ratio_of_radius < omniabs(glob_h)) then # if number 4
> h_new := array_pole[1] * glob_ratio_of_radius;
> term := 1;
> ratio := 1.0;
> while (term <= glob_max_terms) do # do number 1
> array_y[term] := array_y[term]* ratio;
> array_y_higher[1,term] := array_y_higher[1,term]* ratio;
> array_x[term] := array_x[term]* ratio;
> ratio := ratio * h_new / omniabs(glob_h);
> term := term + 1;
> od;# end do number 1;
> glob_h := h_new;
> fi;# end if 4;
> #BOTTOM ADJUST ALL SERIES
> ;
> if (reached_interval()) then # if number 4
> display_poles();
> fi;# end if 4
> end;
check_for_pole := proc()
local cnt, dr1, dr2, ds1, ds2, hdrc, m, n, nr1, nr2, ord_no, rad_c, rcs,
rm0, rm1, rm2, rm3, rm4, found_sing, h_new, ratio, term, local_test,
tmp_rad, tmp_ratio, prev_tmp_rad;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_y_init, array_norms, array_fact_1, array_pole,
array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_m1, array_y_higher,
array_y_higher_work, array_y_higher_work2, array_y_set_initial, array_poles,
array_given_rad_poles, array_given_ord_poles, array_real_poles,
array_complex_poles, array_fact_2, glob_last;
array_pole[1] := glob_large_float;
array_pole[2] := glob_large_float;
tmp_rad := glob_large_float;
prev_tmp_rad := glob_large_float;
tmp_ratio := glob_large_float;
rad_c := glob_large_float;
array_poles[1, 1] := glob_large_float;
array_poles[1, 2] := glob_large_float;
found_sing := 1;
n := glob_max_terms - 11;
cnt := 0;
while cnt < 5 and found_sing = 1 do
if omniabs(array_y_higher[1, n]) = 0. or
omniabs(array_y_higher[1, n + 1]) = 0. then found_sing := 0
else
tmp_rad := omniabs(
array_y_higher[1, n]*glob_h/array_y_higher[1, n + 1]);
tmp_ratio := tmp_rad/prev_tmp_rad;
if 0 < cnt and tmp_ratio < 2.0 and 0.5 < tmp_ratio then
if tmp_rad < rad_c then rad_c := tmp_rad end if
elif cnt = 0 then
if tmp_rad < rad_c then rad_c := tmp_rad end if
elif 0 < cnt then found_sing := 0
end if
end if;
prev_tmp_rad := tmp_rad;
cnt := cnt + 1;
n := n + 1
end do;
if found_sing = 1 then
if rad_c < array_pole[1] then
array_pole[1] := rad_c; array_poles[1, 1] := rad_c
end if
end if;
n := glob_max_terms;
m := n - 2;
while 10 <= m and (omniabs(array_y_higher[1, m]) = 0. or
omniabs(array_y_higher[1, m - 1]) = 0. or
omniabs(array_y_higher[1, m - 2]) = 0.) do m := m - 1
end do;
if 10 < m then
rm0 := array_y_higher[1, m]/array_y_higher[1, m - 1];
rm1 := array_y_higher[1, m - 1]/array_y_higher[1, m - 2];
hdrc := convfloat(m)*rm0 - convfloat(m - 1)*rm1;
if 0. < omniabs(hdrc) then
rcs := glob_h/hdrc;
ord_no := (
rm1*convfloat((m - 2)*(m - 2)) - rm0*convfloat(m - 3))/hdrc
;
array_real_poles[1, 1] := rcs;
array_real_poles[1, 2] := ord_no
else
array_real_poles[1, 1] := glob_large_float;
array_real_poles[1, 2] := glob_large_float
end if
else
array_real_poles[1, 1] := glob_large_float;
array_real_poles[1, 2] := glob_large_float
end if;
n := glob_max_terms - 2;
cnt := 0;
while cnt < 5 and 10 <= n do
if omniabs(array_y_higher[1, n]) <> 0. then cnt := cnt + 1
else cnt := 0
end if;
n := n - 1
end do;
m := n + cnt;
if m <= 10 then rad_c := glob_large_float; ord_no := glob_large_float
else
rm0 := array_y_higher[1, m]/array_y_higher[1, m - 1];
rm1 := array_y_higher[1, m - 1]/array_y_higher[1, m - 2];
rm2 := array_y_higher[1, m - 2]/array_y_higher[1, m - 3];
rm3 := array_y_higher[1, m - 3]/array_y_higher[1, m - 4];
rm4 := array_y_higher[1, m - 4]/array_y_higher[1, m - 5];
nr1 := convfloat(m - 1)*rm0 - 2.0*convfloat(m - 2)*rm1
+ convfloat(m - 3)*rm2;
nr2 := convfloat(m - 2)*rm1 - 2.0*convfloat(m - 3)*rm2
+ convfloat(m - 4)*rm3;
dr1 := (-1)*(1.0)/rm1 + 2.0/rm2 - 1.0/rm3;
dr2 := (-1)*(1.0)/rm2 + 2.0/rm3 - 1.0/rm4;
ds1 := 3.0/rm1 - 8.0/rm2 + 5.0/rm3;
ds2 := 3.0/rm2 - 8.0/rm3 + 5.0/rm4;
if omniabs(nr1*dr2 - nr2*dr1) = 0. or omniabs(dr1) = 0. then
rad_c := glob_large_float; ord_no := glob_large_float
else
if omniabs(nr1*dr2 - nr2*dr1) <> 0. then
rcs := (ds1*dr2 - ds2*dr1 + dr1*dr2)/(nr1*dr2 - nr2*dr1);
ord_no := (rcs*nr1 - ds1)/(2.0*dr1) - convfloat(m)/2.0;
if omniabs(rcs) <> 0. then
if 0. < rcs then rad_c := sqrt(rcs)*omniabs(glob_h)
else rad_c := glob_large_float
end if
else rad_c := glob_large_float; ord_no := glob_large_float
end if
else rad_c := glob_large_float; ord_no := glob_large_float
end if
end if;
array_complex_poles[1, 1] := rad_c;
array_complex_poles[1, 2] := ord_no
end if;
if array_pole[1]*glob_ratio_of_radius < omniabs(glob_h) then
h_new := array_pole[1]*glob_ratio_of_radius;
term := 1;
ratio := 1.0;
while term <= glob_max_terms do
array_y[term] := array_y[term]*ratio;
array_y_higher[1, term] := array_y_higher[1, term]*ratio;
array_x[term] := array_x[term]*ratio;
ratio := ratio*h_new/omniabs(glob_h);
term := term + 1
end do;
glob_h := h_new
end if;
if reached_interval() then display_poles() end if
end proc
> # End Function number 11
> # Begin Function number 12
> get_norms := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local iii;
> if ( not glob_initial_pass) then # if number 4
> iii := 1;
> while (iii <= glob_max_terms) do # do number 1
> array_norms[iii] := 0.0;
> iii := iii + 1;
> od;# end do number 1;
> #TOP GET NORMS
> iii := 1;
> while (iii <= glob_max_terms) do # do number 1
> if (omniabs(array_y[iii]) > array_norms[iii]) then # if number 5
> array_norms[iii] := omniabs(array_y[iii]);
> fi;# end if 5;
> iii := iii + 1;
> od;# end do number 1
> #BOTTOM GET NORMS
> ;
> fi;# end if 4;
> end;
get_norms := proc()
local iii;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_y_init, array_norms, array_fact_1, array_pole,
array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_m1, array_y_higher,
array_y_higher_work, array_y_higher_work2, array_y_set_initial, array_poles,
array_given_rad_poles, array_given_ord_poles, array_real_poles,
array_complex_poles, array_fact_2, glob_last;
if not glob_initial_pass then
iii := 1;
while iii <= glob_max_terms do
array_norms[iii] := 0.; iii := iii + 1
end do;
iii := 1;
while iii <= glob_max_terms do
if array_norms[iii] < omniabs(array_y[iii]) then
array_norms[iii] := omniabs(array_y[iii])
end if;
iii := iii + 1
end do
end if
end proc
> # End Function number 12
> # Begin Function number 13
> atomall := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local kkk, order_d, adj2, adj3 , temporary, term;
> #TOP ATOMALL
> #END OUTFILE1
> #BEGIN ATOMHDR1
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 1
> array_tmp1[1] := array_const_2D0[1] * array_x[1];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 1
> array_tmp2[1] := array_tmp1[1] + array_const_3D0[1];
> #emit pre cosh LINEAR $eq_no = 1
> array_tmp3[1] := cosh(array_tmp2[1]);
> array_tmp3_g[1] := sinh(array_tmp2[1]);
> #emit pre add CONST FULL $eq_no = 1 i = 1
> array_tmp4[1] := array_const_0D0[1] + array_tmp3[1];
> #emit pre assign xxx $eq_no = 1 i = 1 $min_hdrs = 5
> if ( not array_y_set_initial[1,2]) then # if number 1
> if (1 <= glob_max_terms) then # if number 2
> temporary := array_tmp4[1] * expt(glob_h , (1)) * factorial_3(0,1);
> array_y[2] := temporary;
> array_y_higher[1,2] := temporary;
> temporary := temporary / glob_h * (1.0);
> array_y_higher[2,1] := temporary;
> fi;# end if 2;
> fi;# end if 1;
> kkk := 2;
> #END ATOMHDR1
> #BEGIN ATOMHDR2
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 2
> array_tmp1[2] := array_const_2D0[1] * array_x[2];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 2
> array_tmp2[2] := array_tmp1[2];
> array_tmp3[2] := array_tmp3_g[1] * array_tmp2[2] / 1;
> array_tmp3_g[2] := array_tmp3[1] * array_tmp2[2] / 1;
> #emit pre add CONST FULL $eq_no = 1 i = 2
> array_tmp4[2] := array_tmp3[2];
> #emit pre assign xxx $eq_no = 1 i = 2 $min_hdrs = 5
> if ( not array_y_set_initial[1,3]) then # if number 1
> if (2 <= glob_max_terms) then # if number 2
> temporary := array_tmp4[2] * expt(glob_h , (1)) * factorial_3(1,2);
> array_y[3] := temporary;
> array_y_higher[1,3] := temporary;
> temporary := temporary / glob_h * (2.0);
> array_y_higher[2,2] := temporary;
> fi;# end if 2;
> fi;# end if 1;
> kkk := 3;
> #END ATOMHDR2
> #BEGIN ATOMHDR3
> array_tmp3[3] := array_tmp3_g[2] * array_tmp2[2] / 2;
> array_tmp3_g[3] := array_tmp3[2] * array_tmp2[2] / 2;
> #emit pre add CONST FULL $eq_no = 1 i = 3
> array_tmp4[3] := array_tmp3[3];
> #emit pre assign xxx $eq_no = 1 i = 3 $min_hdrs = 5
> if ( not array_y_set_initial[1,4]) then # if number 1
> if (3 <= glob_max_terms) then # if number 2
> temporary := array_tmp4[3] * expt(glob_h , (1)) * factorial_3(2,3);
> array_y[4] := temporary;
> array_y_higher[1,4] := temporary;
> temporary := temporary / glob_h * (3.0);
> array_y_higher[2,3] := temporary;
> fi;# end if 2;
> fi;# end if 1;
> kkk := 4;
> #END ATOMHDR3
> #BEGIN ATOMHDR4
> array_tmp3[4] := array_tmp3_g[3] * array_tmp2[2] / 3;
> array_tmp3_g[4] := array_tmp3[3] * array_tmp2[2] / 3;
> #emit pre add CONST FULL $eq_no = 1 i = 4
> array_tmp4[4] := array_tmp3[4];
> #emit pre assign xxx $eq_no = 1 i = 4 $min_hdrs = 5
> if ( not array_y_set_initial[1,5]) then # if number 1
> if (4 <= glob_max_terms) then # if number 2
> temporary := array_tmp4[4] * expt(glob_h , (1)) * factorial_3(3,4);
> array_y[5] := temporary;
> array_y_higher[1,5] := temporary;
> temporary := temporary / glob_h * (4.0);
> array_y_higher[2,4] := temporary;
> fi;# end if 2;
> fi;# end if 1;
> kkk := 5;
> #END ATOMHDR4
> #BEGIN ATOMHDR5
> array_tmp3[5] := array_tmp3_g[4] * array_tmp2[2] / 4;
> array_tmp3_g[5] := array_tmp3[4] * array_tmp2[2] / 4;
> #emit pre add CONST FULL $eq_no = 1 i = 5
> array_tmp4[5] := array_tmp3[5];
> #emit pre assign xxx $eq_no = 1 i = 5 $min_hdrs = 5
> if ( not array_y_set_initial[1,6]) then # if number 1
> if (5 <= glob_max_terms) then # if number 2
> temporary := array_tmp4[5] * expt(glob_h , (1)) * factorial_3(4,5);
> array_y[6] := temporary;
> array_y_higher[1,6] := temporary;
> temporary := temporary / glob_h * (5.0);
> array_y_higher[2,5] := temporary;
> fi;# end if 2;
> fi;# end if 1;
> kkk := 6;
> #END ATOMHDR5
> #BEGIN OUTFILE3
> #Top Atomall While Loop-- outfile3
> while (kkk <= glob_max_terms) do # do number 1
> #END OUTFILE3
> #BEGIN OUTFILE4
> #emit cosh LINEAR $eq_no = 1
> array_tmp3[kkk] := array_tmp3_g[kkk - 1] * array_tmp2[2] / (kkk - 1);
> array_tmp3_g[kkk] := -array_tmp3[kkk - 1] * array_tmp2[2] / (kkk - 1);
> #emit NOT FULL - FULL add $eq_no = 1
> array_tmp4[kkk] := array_tmp3[kkk];
> #emit assign $eq_no = 1
> order_d := 1;
> if (kkk + order_d < glob_max_terms) then # if number 1
> if ( not array_y_set_initial[1,kkk + order_d]) then # if number 2
> temporary := array_tmp4[kkk] * expt(glob_h , (order_d)) * factorial_3((kkk - 1),(kkk + order_d - 1));
> array_y[kkk + order_d] := temporary;
> array_y_higher[1,kkk + order_d] := temporary;
> term := kkk + order_d - 1;
> adj2 := kkk + order_d - 1;
> adj3 := 2;
> while (term >= 1) do # do number 1
> if (adj3 <= order_d + 1) then # if number 3
> if (adj2 > 0) then # if number 4
> temporary := temporary / glob_h * convfp(adj2);
> else
> temporary := temporary;
> fi;# end if 4;
> array_y_higher[adj3,term] := temporary;
> fi;# end if 3;
> term := term - 1;
> adj2 := adj2 - 1;
> adj3 := adj3 + 1;
> od;# end do number 1
> fi;# end if 2
> fi;# end if 1;
> kkk := kkk + 1;
> od;# end do number 1;
> #BOTTOM ATOMALL
> #END OUTFILE4
> #BEGIN OUTFILE5
> #BOTTOM ATOMALL ???
> end;
atomall := proc()
local kkk, order_d, adj2, adj3, temporary, term;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_y_init, array_norms, array_fact_1, array_pole,
array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_m1, array_y_higher,
array_y_higher_work, array_y_higher_work2, array_y_set_initial, array_poles,
array_given_rad_poles, array_given_ord_poles, array_real_poles,
array_complex_poles, array_fact_2, glob_last;
array_tmp1[1] := array_const_2D0[1]*array_x[1];
array_tmp2[1] := array_tmp1[1] + array_const_3D0[1];
array_tmp3[1] := cosh(array_tmp2[1]);
array_tmp3_g[1] := sinh(array_tmp2[1]);
array_tmp4[1] := array_const_0D0[1] + array_tmp3[1];
if not array_y_set_initial[1, 2] then
if 1 <= glob_max_terms then
temporary := array_tmp4[1]*expt(glob_h, 1)*factorial_3(0, 1);
array_y[2] := temporary;
array_y_higher[1, 2] := temporary;
temporary := temporary*1.0/glob_h;
array_y_higher[2, 1] := temporary
end if
end if;
kkk := 2;
array_tmp1[2] := array_const_2D0[1]*array_x[2];
array_tmp2[2] := array_tmp1[2];
array_tmp3[2] := array_tmp3_g[1]*array_tmp2[2];
array_tmp3_g[2] := array_tmp3[1]*array_tmp2[2];
array_tmp4[2] := array_tmp3[2];
if not array_y_set_initial[1, 3] then
if 2 <= glob_max_terms then
temporary := array_tmp4[2]*expt(glob_h, 1)*factorial_3(1, 2);
array_y[3] := temporary;
array_y_higher[1, 3] := temporary;
temporary := temporary*2.0/glob_h;
array_y_higher[2, 2] := temporary
end if
end if;
kkk := 3;
array_tmp3[3] := 1/2*array_tmp3_g[2]*array_tmp2[2];
array_tmp3_g[3] := 1/2*array_tmp3[2]*array_tmp2[2];
array_tmp4[3] := array_tmp3[3];
if not array_y_set_initial[1, 4] then
if 3 <= glob_max_terms then
temporary := array_tmp4[3]*expt(glob_h, 1)*factorial_3(2, 3);
array_y[4] := temporary;
array_y_higher[1, 4] := temporary;
temporary := temporary*3.0/glob_h;
array_y_higher[2, 3] := temporary
end if
end if;
kkk := 4;
array_tmp3[4] := 1/3*array_tmp3_g[3]*array_tmp2[2];
array_tmp3_g[4] := 1/3*array_tmp3[3]*array_tmp2[2];
array_tmp4[4] := array_tmp3[4];
if not array_y_set_initial[1, 5] then
if 4 <= glob_max_terms then
temporary := array_tmp4[4]*expt(glob_h, 1)*factorial_3(3, 4);
array_y[5] := temporary;
array_y_higher[1, 5] := temporary;
temporary := temporary*4.0/glob_h;
array_y_higher[2, 4] := temporary
end if
end if;
kkk := 5;
array_tmp3[5] := 1/4*array_tmp3_g[4]*array_tmp2[2];
array_tmp3_g[5] := 1/4*array_tmp3[4]*array_tmp2[2];
array_tmp4[5] := array_tmp3[5];
if not array_y_set_initial[1, 6] then
if 5 <= glob_max_terms then
temporary := array_tmp4[5]*expt(glob_h, 1)*factorial_3(4, 5);
array_y[6] := temporary;
array_y_higher[1, 6] := temporary;
temporary := temporary*5.0/glob_h;
array_y_higher[2, 5] := temporary
end if
end if;
kkk := 6;
while kkk <= glob_max_terms do
array_tmp3[kkk] := array_tmp3_g[kkk - 1]*array_tmp2[2]/(kkk - 1);
array_tmp3_g[kkk] := -array_tmp3[kkk - 1]*array_tmp2[2]/(kkk - 1);
array_tmp4[kkk] := array_tmp3[kkk];
order_d := 1;
if kkk + order_d < glob_max_terms then
if not array_y_set_initial[1, kkk + order_d] then
temporary := array_tmp4[kkk]*expt(glob_h, order_d)*
factorial_3(kkk - 1, kkk + order_d - 1);
array_y[kkk + order_d] := temporary;
array_y_higher[1, kkk + order_d] := temporary;
term := kkk + order_d - 1;
adj2 := kkk + order_d - 1;
adj3 := 2;
while 1 <= term do
if adj3 <= order_d + 1 then
if 0 < adj2 then
temporary := temporary*convfp(adj2)/glob_h
else temporary := temporary
end if;
array_y_higher[adj3, term] := temporary
end if;
term := term - 1;
adj2 := adj2 - 1;
adj3 := adj3 + 1
end do
end if
end if;
kkk := kkk + 1
end do
end proc
> # End Function number 13
> #BEGIN ATS LIBRARY BLOCK
> # Begin Function number 2
> omniout_str := proc(iolevel,str)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> printf("%s\n",str);
> fi;# end if 1;
> end;
omniout_str := proc(iolevel, str)
global glob_iolevel;
if iolevel <= glob_iolevel then printf("%s
", str)
end if
end proc
> # End Function number 2
> # Begin Function number 3
> omniout_str_noeol := proc(iolevel,str)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> printf("%s",str);
> fi;# end if 1;
> end;
omniout_str_noeol := proc(iolevel, str)
global glob_iolevel;
if iolevel <= glob_iolevel then printf("%s", str) end if
end proc
> # End Function number 3
> # Begin Function number 4
> omniout_labstr := proc(iolevel,label,str)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> print(label,str);
> fi;# end if 1;
> end;
omniout_labstr := proc(iolevel, label, str)
global glob_iolevel;
if iolevel <= glob_iolevel then print(label, str) end if
end proc
> # End Function number 4
> # Begin Function number 5
> omniout_float := proc(iolevel,prelabel,prelen,value,vallen,postlabel)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> if vallen = 4 then
> printf("%-30s = %-42.4g %s \n",prelabel,value, postlabel);
> else
> printf("%-30s = %-42.32g %s \n",prelabel,value, postlabel);
> fi;# end if 1;
> fi;# end if 0;
> end;
omniout_float := proc(iolevel, prelabel, prelen, value, vallen, postlabel)
global glob_iolevel;
if iolevel <= glob_iolevel then
if vallen = 4 then printf("%-30s = %-42.4g %s
", prelabel, value, postlabel)
else printf("%-30s = %-42.32g %s
", prelabel, value, postlabel)
end if
end if
end proc
> # End Function number 5
> # Begin Function number 6
> omniout_int := proc(iolevel,prelabel,prelen,value,vallen,postlabel)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 0
> if vallen = 5 then # if number 1
> printf("%-30s = %-32d %s\n",prelabel,value, postlabel);
> else
> printf("%-30s = %-32d %s \n",prelabel,value, postlabel);
> fi;# end if 1;
> fi;# end if 0;
> end;
omniout_int := proc(iolevel, prelabel, prelen, value, vallen, postlabel)
global glob_iolevel;
if iolevel <= glob_iolevel then
if vallen = 5 then printf("%-30s = %-32d %s
", prelabel, value, postlabel)
else printf("%-30s = %-32d %s
", prelabel, value, postlabel)
end if
end if
end proc
> # End Function number 6
> # Begin Function number 7
> omniout_float_arr := proc(iolevel,prelabel,elemnt,prelen,value,vallen,postlabel)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 0
> print(prelabel,"[",elemnt,"]",value, postlabel);
> fi;# end if 0;
> end;
omniout_float_arr := proc(
iolevel, prelabel, elemnt, prelen, value, vallen, postlabel)
global glob_iolevel;
if iolevel <= glob_iolevel then
print(prelabel, "[", elemnt, "]", value, postlabel)
end if
end proc
> # End Function number 7
> # Begin Function number 8
> dump_series := proc(iolevel,dump_label,series_name,arr_series,numb)
> global glob_iolevel;
> local i;
> if (glob_iolevel >= iolevel) then # if number 0
> i := 1;
> while (i <= numb) do # do number 1
> print(dump_label,series_name
> ,i,arr_series[i]);
> i := i + 1;
> od;# end do number 1
> fi;# end if 0
> end;
dump_series := proc(iolevel, dump_label, series_name, arr_series, numb)
local i;
global glob_iolevel;
if iolevel <= glob_iolevel then
i := 1;
while i <= numb do
print(dump_label, series_name, i, arr_series[i]); i := i + 1
end do
end if
end proc
> # End Function number 8
> # Begin Function number 9
> dump_series_2 := proc(iolevel,dump_label,series_name2,arr_series2,numb,subnum,arr_x)
> global glob_iolevel;
> local i,sub,ts_term;
> if (glob_iolevel >= iolevel) then # if number 0
> sub := 1;
> while (sub <= subnum) do # do number 1
> i := 1;
> while (i <= numb) do # do number 2
> print(dump_label,series_name2,sub,i,arr_series2[sub,i]);
> od;# end do number 2;
> sub := sub + 1;
> od;# end do number 1;
> fi;# end if 0;
> end;
dump_series_2 := proc(
iolevel, dump_label, series_name2, arr_series2, numb, subnum, arr_x)
local i, sub, ts_term;
global glob_iolevel;
if iolevel <= glob_iolevel then
sub := 1;
while sub <= subnum do
i := 1;
while i <= numb do print(dump_label, series_name2, sub, i,
arr_series2[sub, i])
end do;
sub := sub + 1
end do
end if
end proc
> # End Function number 9
> # Begin Function number 10
> cs_info := proc(iolevel,str)
> global glob_iolevel,glob_correct_start_flag,glob_h,glob_reached_optimal_h;
> if (glob_iolevel >= iolevel) then # if number 0
> print("cs_info " , str , " glob_correct_start_flag = " , glob_correct_start_flag , "glob_h := " , glob_h , "glob_reached_optimal_h := " , glob_reached_optimal_h)
> fi;# end if 0;
> end;
cs_info := proc(iolevel, str)
global
glob_iolevel, glob_correct_start_flag, glob_h, glob_reached_optimal_h;
if iolevel <= glob_iolevel then print("cs_info ", str,
" glob_correct_start_flag = ", glob_correct_start_flag,
"glob_h := ", glob_h, "glob_reached_optimal_h := ",
glob_reached_optimal_h)
end if
end proc
> # End Function number 10
> # Begin Function number 11
> logitem_time := proc(fd,secs_in)
> global glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
> local days_int, hours_int,minutes_int, sec_int, sec_temp, years_int;
> fprintf(fd,"
");
> if (secs_in >= 0) then # if number 0
> years_int := trunc(secs_in / glob_sec_in_year);
> sec_temp := (trunc(secs_in) mod trunc(glob_sec_in_year));
> days_int := trunc(sec_temp / glob_sec_in_day) ;
> sec_temp := (sec_temp mod trunc(glob_sec_in_day)) ;
> hours_int := trunc(sec_temp / glob_sec_in_hour);
> sec_temp := (sec_temp mod trunc(glob_sec_in_hour));
> minutes_int := trunc(sec_temp / glob_sec_in_minute);
> sec_int := (sec_temp mod trunc(glob_sec_in_minute));
> if (years_int > 0) then # if number 1
> fprintf(fd,"%d Years %d Days %d Hours %d Minutes %d Seconds",years_int,days_int,hours_int,minutes_int,sec_int);
> elif
> (days_int > 0) then # if number 2
> fprintf(fd,"%d Days %d Hours %d Minutes %d Seconds",days_int,hours_int,minutes_int,sec_int);
> elif
> (hours_int > 0) then # if number 3
> fprintf(fd,"%d Hours %d Minutes %d Seconds",hours_int,minutes_int,sec_int);
> elif
> (minutes_int > 0) then # if number 4
> fprintf(fd,"%d Minutes %d Seconds",minutes_int,sec_int);
> else
> fprintf(fd,"%d Seconds",sec_int);
> fi;# end if 4
> else
> fprintf(fd," Unknown");
> fi;# end if 3
> fprintf(fd," | \n");
> end;
logitem_time := proc(fd, secs_in)
local days_int, hours_int, minutes_int, sec_int, sec_temp, years_int;
global
glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
fprintf(fd, "");
if 0 <= secs_in then
years_int := trunc(secs_in/glob_sec_in_year);
sec_temp := trunc(secs_in) mod trunc(glob_sec_in_year);
days_int := trunc(sec_temp/glob_sec_in_day);
sec_temp := sec_temp mod trunc(glob_sec_in_day);
hours_int := trunc(sec_temp/glob_sec_in_hour);
sec_temp := sec_temp mod trunc(glob_sec_in_hour);
minutes_int := trunc(sec_temp/glob_sec_in_minute);
sec_int := sec_temp mod trunc(glob_sec_in_minute);
if 0 < years_int then fprintf(fd,
"%d Years %d Days %d Hours %d Minutes %d Seconds", years_int,
days_int, hours_int, minutes_int, sec_int)
elif 0 < days_int then fprintf(fd,
"%d Days %d Hours %d Minutes %d Seconds", days_int, hours_int,
minutes_int, sec_int)
elif 0 < hours_int then fprintf(fd,
"%d Hours %d Minutes %d Seconds", hours_int, minutes_int,
sec_int)
elif 0 < minutes_int then
fprintf(fd, "%d Minutes %d Seconds", minutes_int, sec_int)
else fprintf(fd, "%d Seconds", sec_int)
end if
else fprintf(fd, " Unknown")
end if;
fprintf(fd, " |
")
end proc
> # End Function number 11
> # Begin Function number 12
> omniout_timestr := proc(secs_in)
> global glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
> local days_int, hours_int,minutes_int, sec_int, sec_temp, years_int;
> if (secs_in >= 0) then # if number 3
> years_int := trunc(secs_in / glob_sec_in_year);
> sec_temp := (trunc(secs_in) mod trunc(glob_sec_in_year));
> days_int := trunc(sec_temp / glob_sec_in_day) ;
> sec_temp := (sec_temp mod trunc(glob_sec_in_day)) ;
> hours_int := trunc(sec_temp / glob_sec_in_hour);
> sec_temp := (sec_temp mod trunc(glob_sec_in_hour));
> minutes_int := trunc(sec_temp / glob_sec_in_minute);
> sec_int := (sec_temp mod trunc(glob_sec_in_minute));
> if (years_int > 0) then # if number 4
> printf(" = %d Years %d Days %d Hours %d Minutes %d Seconds\n",years_int,days_int,hours_int,minutes_int,sec_int);
> elif
> (days_int > 0) then # if number 5
> printf(" = %d Days %d Hours %d Minutes %d Seconds\n",days_int,hours_int,minutes_int,sec_int);
> elif
> (hours_int > 0) then # if number 6
> printf(" = %d Hours %d Minutes %d Seconds\n",hours_int,minutes_int,sec_int);
> elif
> (minutes_int > 0) then # if number 7
> printf(" = %d Minutes %d Seconds\n",minutes_int,sec_int);
> else
> printf(" = %d Seconds\n",sec_int);
> fi;# end if 7
> else
> printf(" Unknown\n");
> fi;# end if 6
> end;
omniout_timestr := proc(secs_in)
local days_int, hours_int, minutes_int, sec_int, sec_temp, years_int;
global
glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
if 0 <= secs_in then
years_int := trunc(secs_in/glob_sec_in_year);
sec_temp := trunc(secs_in) mod trunc(glob_sec_in_year);
days_int := trunc(sec_temp/glob_sec_in_day);
sec_temp := sec_temp mod trunc(glob_sec_in_day);
hours_int := trunc(sec_temp/glob_sec_in_hour);
sec_temp := sec_temp mod trunc(glob_sec_in_hour);
minutes_int := trunc(sec_temp/glob_sec_in_minute);
sec_int := sec_temp mod trunc(glob_sec_in_minute);
if 0 < years_int then printf(" = %d Years %d Days %d Hours %d Mi\
nutes %d Seconds
", years_int, days_int, hours_int, minutes_int, sec_int)
elif 0 < days_int then printf(" = %d Days %d Hours %d Minutes %d\
Seconds
", days_int, hours_int, minutes_int, sec_int)
elif 0 < hours_int then printf(" = %d Hours %d Minutes %d Second\
s
", hours_int, minutes_int, sec_int)
elif 0 < minutes_int then printf(" = %d Minutes %d Seconds
", minutes_int, sec_int)
else printf(" = %d Seconds
", sec_int)
end if
else printf(" Unknown
")
end if
end proc
> # End Function number 12
> # Begin Function number 13
> ats := proc(mmm_ats,arr_a,arr_b,jjj_ats)
> local iii_ats, lll_ats,ma_ats, ret_ats;
> ret_ats := 0.0;
> if (jjj_ats <= mmm_ats) then # if number 6
> ma_ats := mmm_ats + 1;
> iii_ats := jjj_ats;
> while (iii_ats <= mmm_ats) do # do number 1
> lll_ats := ma_ats - iii_ats;
> ret_ats := ret_ats + arr_a[iii_ats]*arr_b[lll_ats];
> iii_ats := iii_ats + 1;
> od;# end do number 1
> fi;# end if 6;
> ret_ats;
> end;
ats := proc(mmm_ats, arr_a, arr_b, jjj_ats)
local iii_ats, lll_ats, ma_ats, ret_ats;
ret_ats := 0.;
if jjj_ats <= mmm_ats then
ma_ats := mmm_ats + 1;
iii_ats := jjj_ats;
while iii_ats <= mmm_ats do
lll_ats := ma_ats - iii_ats;
ret_ats := ret_ats + arr_a[iii_ats]*arr_b[lll_ats];
iii_ats := iii_ats + 1
end do
end if;
ret_ats
end proc
> # End Function number 13
> # Begin Function number 14
> att := proc(mmm_att,arr_aa,arr_bb,jjj_att)
> global glob_max_terms;
> local al_att, iii_att,lll_att, ma_att, ret_att;
> ret_att := 0.0;
> if (jjj_att <= mmm_att) then # if number 6
> ma_att := mmm_att + 2;
> iii_att := jjj_att;
> while (iii_att <= mmm_att) do # do number 1
> lll_att := ma_att - iii_att;
> al_att := (lll_att - 1);
> if (lll_att <= glob_max_terms) then # if number 7
> ret_att := ret_att + arr_aa[iii_att]*arr_bb[lll_att]* convfp(al_att);
> fi;# end if 7;
> iii_att := iii_att + 1;
> od;# end do number 1;
> ret_att := ret_att / convfp(mmm_att) ;
> fi;# end if 6;
> ret_att;
> end;
att := proc(mmm_att, arr_aa, arr_bb, jjj_att)
local al_att, iii_att, lll_att, ma_att, ret_att;
global glob_max_terms;
ret_att := 0.;
if jjj_att <= mmm_att then
ma_att := mmm_att + 2;
iii_att := jjj_att;
while iii_att <= mmm_att do
lll_att := ma_att - iii_att;
al_att := lll_att - 1;
if lll_att <= glob_max_terms then ret_att :=
ret_att + arr_aa[iii_att]*arr_bb[lll_att]*convfp(al_att)
end if;
iii_att := iii_att + 1
end do;
ret_att := ret_att/convfp(mmm_att)
end if;
ret_att
end proc
> # End Function number 14
> # Begin Function number 15
> display_pole_debug := proc(typ,m,radius,order2)
> global ALWAYS,glob_display_flag, glob_large_float, array_pole;
> if (typ = 1) then # if number 6
> omniout_str(ALWAYS,"Real");
> else
> omniout_str(ALWAYS,"Complex");
> fi;# end if 6;
> omniout_int(ALWAYS,"m",4, m ,4," ");
> omniout_float(ALWAYS,"DBG Radius of convergence ",4, radius,4," ");
> omniout_float(ALWAYS,"DBG Order of pole ",4, order2,4," ");
> end;
display_pole_debug := proc(typ, m, radius, order2)
global ALWAYS, glob_display_flag, glob_large_float, array_pole;
if typ = 1 then omniout_str(ALWAYS, "Real")
else omniout_str(ALWAYS, "Complex")
end if;
omniout_int(ALWAYS, "m", 4, m, 4, " ");
omniout_float(ALWAYS, "DBG Radius of convergence ", 4, radius, 4,
" ");
omniout_float(ALWAYS, "DBG Order of pole ", 4, order2, 4,
" ")
end proc
> # End Function number 15
> # Begin Function number 16
> logditto := proc(file)
> fprintf(file,"");
> fprintf(file,"ditto");
> fprintf(file," | ");
> end;
logditto := proc(file)
fprintf(file, ""); fprintf(file, "ditto"); fprintf(file, " | ")
end proc
> # End Function number 16
> # Begin Function number 17
> logitem_integer := proc(file,n)
> fprintf(file,"");
> fprintf(file,"%d",n);
> fprintf(file," | ");
> end;
logitem_integer := proc(file, n)
fprintf(file, ""); fprintf(file, "%d", n); fprintf(file, " | ")
end proc
> # End Function number 17
> # Begin Function number 18
> logitem_str := proc(file,str)
> fprintf(file,"");
> fprintf(file,str);
> fprintf(file," | ");
> end;
logitem_str := proc(file, str)
fprintf(file, ""); fprintf(file, str); fprintf(file, " | ")
end proc
> # End Function number 18
> # Begin Function number 19
> logitem_good_digits := proc(file,rel_error)
> global glob_small_float;
> local good_digits;
> fprintf(file,"");
> if (rel_error <> -1.0) then # if number 6
> if (rel_error > + 0.0000000000000000000000000000000001) then # if number 7
> good_digits := 1-trunc(log10(rel_error));
> fprintf(file,"%d",good_digits);
> else
> good_digits := Digits;
> fprintf(file,"%d",good_digits);
> fi;# end if 7;
> else
> fprintf(file,"Unknown");
> fi;# end if 6;
> fprintf(file," | ");
> end;
logitem_good_digits := proc(file, rel_error)
local good_digits;
global glob_small_float;
fprintf(file, "");
if rel_error <> -1.0 then
if 0.1*10^(-33) < rel_error then
good_digits := 1 - trunc(log10(rel_error));
fprintf(file, "%d", good_digits)
else good_digits := Digits; fprintf(file, "%d", good_digits)
end if
else fprintf(file, "Unknown")
end if;
fprintf(file, " | ")
end proc
> # End Function number 19
> # Begin Function number 20
> log_revs := proc(file,revs)
> fprintf(file,revs);
> end;
log_revs := proc(file, revs) fprintf(file, revs) end proc
> # End Function number 20
> # Begin Function number 21
> logitem_float := proc(file,x)
> fprintf(file,"");
> fprintf(file,"%g",x);
> fprintf(file," | ");
> end;
logitem_float := proc(file, x)
fprintf(file, ""); fprintf(file, "%g", x); fprintf(file, " | ")
end proc
> # End Function number 21
> # Begin Function number 22
> logitem_pole := proc(file,pole)
> fprintf(file,"");
> if (pole = 0) then # if number 6
> fprintf(file,"NA");
> elif
> (pole = 1) then # if number 7
> fprintf(file,"Real");
> elif
> (pole = 2) then # if number 8
> fprintf(file,"Complex");
> elif
> (pole = 4) then # if number 9
> fprintf(file,"Yes");
> else
> fprintf(file,"No");
> fi;# end if 9
> fprintf(file," | ");
> end;
logitem_pole := proc(file, pole)
fprintf(file, "");
if pole = 0 then fprintf(file, "NA")
elif pole = 1 then fprintf(file, "Real")
elif pole = 2 then fprintf(file, "Complex")
elif pole = 4 then fprintf(file, "Yes")
else fprintf(file, "No")
end if;
fprintf(file, " | ")
end proc
> # End Function number 22
> # Begin Function number 23
> logstart := proc(file)
> fprintf(file,"");
> end;
logstart := proc(file) fprintf(file, "
") end proc
> # End Function number 23
> # Begin Function number 24
> logend := proc(file)
> fprintf(file,"
\n");
> end;
logend := proc(file)
fprintf(file, "
")
end proc
> # End Function number 24
> # Begin Function number 25
> chk_data := proc()
> global glob_max_iter,ALWAYS, glob_max_terms;
> local errflag;
> errflag := false;
> if ((glob_max_terms < 15) or (glob_max_terms > 512)) then # if number 9
> omniout_str(ALWAYS,"Illegal max_terms = -- Using 30");
> glob_max_terms := 30;
> fi;# end if 9;
> if (glob_max_iter < 2) then # if number 9
> omniout_str(ALWAYS,"Illegal max_iter");
> errflag := true;
> fi;# end if 9;
> if (errflag) then # if number 9
> quit;
> fi;# end if 9
> end;
chk_data := proc()
local errflag;
global glob_max_iter, ALWAYS, glob_max_terms;
errflag := false;
if glob_max_terms < 15 or 512 < glob_max_terms then
omniout_str(ALWAYS, "Illegal max_terms = -- Using 30");
glob_max_terms := 30
end if;
if glob_max_iter < 2 then
omniout_str(ALWAYS, "Illegal max_iter"); errflag := true
end if;
if errflag then quit end if
end proc
> # End Function number 25
> # Begin Function number 26
> comp_expect_sec := proc(t_end2,t_start2,t2,clock_sec2)
> global glob_small_float;
> local ms2, rrr, sec_left, sub1, sub2;
> ;
> ms2 := clock_sec2;
> sub1 := (t_end2-t_start2);
> sub2 := (t2-t_start2);
> if (sub1 = 0.0) then # if number 9
> sec_left := 0.0;
> else
> if (sub2 > 0.0) then # if number 10
> rrr := (sub1/sub2);
> sec_left := rrr * ms2 - ms2;
> else
> sec_left := 0.0;
> fi;# end if 10
> fi;# end if 9;
> sec_left;
> end;
comp_expect_sec := proc(t_end2, t_start2, t2, clock_sec2)
local ms2, rrr, sec_left, sub1, sub2;
global glob_small_float;
ms2 := clock_sec2;
sub1 := t_end2 - t_start2;
sub2 := t2 - t_start2;
if sub1 = 0. then sec_left := 0.
else
if 0. < sub2 then rrr := sub1/sub2; sec_left := rrr*ms2 - ms2
else sec_left := 0.
end if
end if;
sec_left
end proc
> # End Function number 26
> # Begin Function number 27
> comp_percent := proc(t_end2,t_start2, t2)
> global glob_small_float;
> local rrr, sub1, sub2;
> sub1 := (t_end2-t_start2);
> sub2 := (t2-t_start2);
> if (sub2 > glob_small_float) then # if number 9
> rrr := (100.0*sub2)/sub1;
> else
> rrr := 0.0;
> fi;# end if 9;
> rrr;
> end;
comp_percent := proc(t_end2, t_start2, t2)
local rrr, sub1, sub2;
global glob_small_float;
sub1 := t_end2 - t_start2;
sub2 := t2 - t_start2;
if glob_small_float < sub2 then rrr := 100.0*sub2/sub1
else rrr := 0.
end if;
rrr
end proc
> # End Function number 27
> # Begin Function number 28
> factorial_2 := proc(nnn)
> nnn!;
> end;
factorial_2 := proc(nnn) nnn! end proc
> # End Function number 28
> # Begin Function number 29
> factorial_1 := proc(nnn)
> global glob_max_terms,array_fact_1;
> local ret;
> if (nnn <= glob_max_terms) then # if number 9
> if (array_fact_1[nnn] = 0) then # if number 10
> ret := factorial_2(nnn);
> array_fact_1[nnn] := ret;
> else
> ret := array_fact_1[nnn];
> fi;# end if 10;
> else
> ret := factorial_2(nnn);
> fi;# end if 9;
> ret;
> end;
factorial_1 := proc(nnn)
local ret;
global glob_max_terms, array_fact_1;
if nnn <= glob_max_terms then
if array_fact_1[nnn] = 0 then
ret := factorial_2(nnn); array_fact_1[nnn] := ret
else ret := array_fact_1[nnn]
end if
else ret := factorial_2(nnn)
end if;
ret
end proc
> # End Function number 29
> # Begin Function number 30
> factorial_3 := proc(mmm,nnn)
> global glob_max_terms,array_fact_2;
> local ret;
> if ((nnn <= glob_max_terms) and (mmm <= glob_max_terms)) then # if number 9
> if (array_fact_2[mmm,nnn] = 0) then # if number 10
> ret := factorial_1(mmm)/factorial_1(nnn);
> array_fact_2[mmm,nnn] := ret;
> else
> ret := array_fact_2[mmm,nnn];
> fi;# end if 10;
> else
> ret := factorial_2(mmm)/factorial_2(nnn);
> fi;# end if 9;
> ret;
> end;
factorial_3 := proc(mmm, nnn)
local ret;
global glob_max_terms, array_fact_2;
if nnn <= glob_max_terms and mmm <= glob_max_terms then
if array_fact_2[mmm, nnn] = 0 then
ret := factorial_1(mmm)/factorial_1(nnn);
array_fact_2[mmm, nnn] := ret
else ret := array_fact_2[mmm, nnn]
end if
else ret := factorial_2(mmm)/factorial_2(nnn)
end if;
ret
end proc
> # End Function number 30
> # Begin Function number 31
> convfp := proc(mmm)
> (mmm);
> end;
convfp := proc(mmm) mmm end proc
> # End Function number 31
> # Begin Function number 32
> convfloat := proc(mmm)
> (mmm);
> end;
convfloat := proc(mmm) mmm end proc
> # End Function number 32
> # Begin Function number 33
> elapsed_time_seconds := proc()
> time();
> end;
elapsed_time_seconds := proc() time() end proc
> # End Function number 33
> # Begin Function number 34
> omniabs := proc(x)
> abs(x);
> end;
omniabs := proc(x) abs(x) end proc
> # End Function number 34
> # Begin Function number 35
> expt := proc(x,y)
> (x^y);
> end;
expt := proc(x, y) x^y end proc
> # End Function number 35
> # Begin Function number 36
> estimated_needed_step_error := proc(x_start,x_end,estimated_h,estimated_answer)
> local desired_abs_gbl_error,range,estimated_steps,step_error;
> global glob_desired_digits_correct,ALWAYS;
> omniout_float(ALWAYS,"glob_desired_digits_correct",32,glob_desired_digits_correct,32,"");
> desired_abs_gbl_error := expt(10.0, -glob_desired_digits_correct) * omniabs(estimated_answer);
> omniout_float(ALWAYS,"desired_abs_gbl_error",32,desired_abs_gbl_error,32,"");
> range := (x_end - x_start);
> omniout_float(ALWAYS,"range",32,range,32,"");
> estimated_steps := range / estimated_h;
> omniout_float(ALWAYS,"estimated_steps",32,estimated_steps,32,"");
> step_error := omniabs(desired_abs_gbl_error / estimated_steps);
> omniout_float(ALWAYS,"step_error",32,step_error,32,"");
> (step_error);;
> end;
estimated_needed_step_error := proc(
x_start, x_end, estimated_h, estimated_answer)
local desired_abs_gbl_error, range, estimated_steps, step_error;
global glob_desired_digits_correct, ALWAYS;
omniout_float(ALWAYS, "glob_desired_digits_correct", 32,
glob_desired_digits_correct, 32, "");
desired_abs_gbl_error :=
expt(10.0, -glob_desired_digits_correct)*omniabs(estimated_answer);
omniout_float(ALWAYS, "desired_abs_gbl_error", 32,
desired_abs_gbl_error, 32, "");
range := x_end - x_start;
omniout_float(ALWAYS, "range", 32, range, 32, "");
estimated_steps := range/estimated_h;
omniout_float(ALWAYS, "estimated_steps", 32, estimated_steps, 32, "");
step_error := omniabs(desired_abs_gbl_error/estimated_steps);
omniout_float(ALWAYS, "step_error", 32, step_error, 32, "");
step_error
end proc
> # End Function number 36
> #END ATS LIBRARY BLOCK
> #BEGIN USER DEF BLOCK
> #BEGIN USER DEF BLOCK
> exact_soln_y := proc(x)
> return(sinh(2.0*x+3.0)/2);
> end;
exact_soln_y := proc(x) return 1/2*sinh(2.0*x + 3.0) end proc
> #END USER DEF BLOCK
> #END USER DEF BLOCK
> #END OUTFILE5
> # Begin Function number 2
> main := proc()
> #BEGIN OUTFIEMAIN
> local d1,d2,d3,d4,est_err_2,niii,done_once,
> term,ord,order_diff,term_no,html_log_file,iiif,jjjf,
> rows,r_order,sub_iter,calc_term,iii,temp_sum,current_iter,
> x_start,x_end
> ,it, max_terms, opt_iter, tmp,subiter, est_needed_step_err,estimated_step_error,min_value,est_answer,best_h,found_h,repeat_it;
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> glob_last;
> ALWAYS := 1;
> INFO := 2;
> DEBUGL := 3;
> DEBUGMASSIVE := 4;
> glob_iolevel := INFO;
> glob_max_terms := 30;
> glob_iolevel := 5;
> glob_yes_pole := 4;
> glob_no_pole := 3;
> glob_not_given := 0;
> ALWAYS := 1;
> INFO := 2;
> DEBUGL := 3;
> DEBUGMASSIVE := 4;
> MAX_UNCHANGED := 10;
> glob_check_sign := 1.0;
> glob_desired_digits_correct := 8.0;
> glob_max_estimated_step_error := 0.0;
> glob_ratio_of_radius := 0.1;
> glob_percent_done := 0.0;
> glob_subiter_method := 3;
> glob_total_exp_sec := 0.1;
> glob_optimal_expect_sec := 0.1;
> glob_html_log := true;
> glob_good_digits := 0;
> glob_max_opt_iter := 10;
> glob_dump := false;
> glob_djd_debug := true;
> glob_display_flag := true;
> glob_djd_debug2 := true;
> glob_sec_in_minute := 60;
> glob_min_in_hour := 60;
> glob_hours_in_day := 24;
> glob_days_in_year := 365;
> glob_sec_in_hour := 3600;
> glob_sec_in_day := 86400;
> glob_sec_in_year := 31536000;
> glob_almost_1 := 0.9990;
> glob_clock_sec := 0.0;
> glob_clock_start_sec := 0.0;
> glob_not_yet_finished := true;
> glob_initial_pass := true;
> glob_not_yet_start_msg := true;
> glob_reached_optimal_h := false;
> glob_optimal_done := false;
> glob_disp_incr := 0.1;
> glob_h := 0.1;
> glob_max_h := 0.1;
> glob_min_h := 0.000001;
> glob_type_given_pole := 0;
> glob_large_float := 9.0e100;
> glob_last_good_h := 0.1;
> glob_look_poles := false;
> glob_neg_h := false;
> glob_display_interval := 0.0;
> glob_next_display := 0.0;
> glob_dump_analytic := false;
> glob_abserr := 0.1e-10;
> glob_relerr := 0.1e-10;
> glob_max_hours := 0.0;
> glob_max_iter := 1000;
> glob_max_rel_trunc_err := 0.1e-10;
> glob_max_trunc_err := 0.1e-10;
> glob_no_eqs := 0;
> glob_optimal_clock_start_sec := 0.0;
> glob_optimal_start := 0.0;
> glob_small_float := 0.0;
> glob_smallish_float := 0.0;
> glob_unchanged_h_cnt := 0;
> glob_warned := false;
> glob_warned2 := false;
> glob_max_sec := 10000.0;
> glob_orig_start_sec := 0.0;
> glob_start := 0;
> glob_curr_iter_when_opt := 0;
> glob_current_iter := 0;
> glob_iter := 0;
> glob_normmax := 0.0;
> glob_max_minutes := 0.0;
> #Write Set Defaults
> glob_orig_start_sec := elapsed_time_seconds();
> MAX_UNCHANGED := 10;
> glob_curr_iter_when_opt := 0;
> glob_display_flag := true;
> glob_no_eqs := 1;
> glob_iter := -1;
> opt_iter := -1;
> glob_max_iter := 50000;
> glob_max_hours := 0.0;
> glob_max_minutes := 15.0;
> omniout_str(ALWAYS,"##############ECHO OF PROBLEM#################");
> omniout_str(ALWAYS,"##############temp/lin_coshpostode.ode#################");
> omniout_str(ALWAYS,"diff ( y , x , 1 ) = cosh (2.0 * x + 3.0) ;");
> omniout_str(ALWAYS,"!");
> omniout_str(ALWAYS,"#BEGIN FIRST INPUT BLOCK");
> omniout_str(ALWAYS,"Digits:=32;");
> omniout_str(ALWAYS,"max_terms:=30;");
> omniout_str(ALWAYS,"!");
> omniout_str(ALWAYS,"#END FIRST INPUT BLOCK");
> omniout_str(ALWAYS,"#BEGIN SECOND INPUT BLOCK");
> omniout_str(ALWAYS,"x_start := 0.1;");
> omniout_str(ALWAYS,"x_end := 2.0 ;");
> omniout_str(ALWAYS,"array_y_init[0 + 1] := exact_soln_y(x_start);");
> omniout_str(ALWAYS,"glob_look_poles := true;");
> omniout_str(ALWAYS,"glob_max_iter := 100;");
> omniout_str(ALWAYS,"#END SECOND INPUT BLOCK");
> omniout_str(ALWAYS,"#BEGIN OVERRIDE BLOCK");
> omniout_str(ALWAYS,"glob_desired_digits_correct:=10;");
> omniout_str(ALWAYS,"glob_display_interval:=0.01;");
> omniout_str(ALWAYS,"glob_look_poles:=true;");
> omniout_str(ALWAYS,"glob_max_iter:=10000000;");
> omniout_str(ALWAYS,"glob_max_minutes:=3;");
> omniout_str(ALWAYS,"glob_subiter_method:=3;");
> omniout_str(ALWAYS,"#END OVERRIDE BLOCK");
> omniout_str(ALWAYS,"!");
> omniout_str(ALWAYS,"#BEGIN USER DEF BLOCK");
> omniout_str(ALWAYS,"exact_soln_y := proc(x)");
> omniout_str(ALWAYS,"return(sinh(2.0*x+3.0)/2);");
> omniout_str(ALWAYS,"end;");
> omniout_str(ALWAYS,"");
> omniout_str(ALWAYS,"#END USER DEF BLOCK");
> omniout_str(ALWAYS,"#######END OF ECHO OF PROBLEM#################");
> glob_unchanged_h_cnt := 0;
> glob_warned := false;
> glob_warned2 := false;
> glob_small_float := 0.0;
> glob_smallish_float := 0.0;
> glob_large_float := 1.0e100;
> glob_almost_1 := 0.99;
> #BEGIN FIRST INPUT BLOCK
> #BEGIN FIRST INPUT BLOCK
> Digits:=32;
> max_terms:=30;
> #END FIRST INPUT BLOCK
> #START OF INITS AFTER INPUT BLOCK
> glob_max_terms := max_terms;
> glob_html_log := true;
> #END OF INITS AFTER INPUT BLOCK
> array_y_init:= Array(0..(max_terms + 1),[]);
> array_norms:= Array(0..(max_terms + 1),[]);
> array_fact_1:= Array(0..(max_terms + 1),[]);
> array_pole:= Array(0..(4 + 1),[]);
> array_real_pole:= Array(0..(4 + 1),[]);
> array_complex_pole:= Array(0..(4 + 1),[]);
> array_1st_rel_error:= Array(0..(2 + 1),[]);
> array_last_rel_error:= Array(0..(2 + 1),[]);
> array_type_pole:= Array(0..(2 + 1),[]);
> array_type_real_pole:= Array(0..(2 + 1),[]);
> array_type_complex_pole:= Array(0..(2 + 1),[]);
> array_y:= Array(0..(max_terms + 1),[]);
> array_x:= Array(0..(max_terms + 1),[]);
> array_tmp0:= Array(0..(max_terms + 1),[]);
> array_tmp1:= Array(0..(max_terms + 1),[]);
> array_tmp2:= Array(0..(max_terms + 1),[]);
> array_tmp3_g:= Array(0..(max_terms + 1),[]);
> array_tmp3:= Array(0..(max_terms + 1),[]);
> array_tmp4:= Array(0..(max_terms + 1),[]);
> array_m1:= Array(0..(max_terms + 1),[]);
> array_y_higher := Array(0..(2+ 1) ,(0..max_terms+ 1),[]);
> array_y_higher_work := Array(0..(2+ 1) ,(0..max_terms+ 1),[]);
> array_y_higher_work2 := Array(0..(2+ 1) ,(0..max_terms+ 1),[]);
> array_y_set_initial := Array(0..(2+ 1) ,(0..max_terms+ 1),[]);
> array_poles := Array(0..(2+ 1) ,(0..3+ 1),[]);
> array_given_rad_poles := Array(0..(2+ 1) ,(0..3+ 1),[]);
> array_given_ord_poles := Array(0..(2+ 1) ,(0..3+ 1),[]);
> array_real_poles := Array(0..(2+ 1) ,(0..3+ 1),[]);
> array_complex_poles := Array(0..(2+ 1) ,(0..3+ 1),[]);
> array_fact_2 := Array(0..(max_terms+ 1) ,(0..max_terms+ 1),[]);
> term := 1;
> while (term <= max_terms) do # do number 1
> array_y_init[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_norms[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_fact_1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 4) do # do number 1
> array_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 4) do # do number 1
> array_real_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 4) do # do number 1
> array_complex_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_1st_rel_error[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_last_rel_error[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_type_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_type_real_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_type_complex_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_y[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_x[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp2[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp3_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp3[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp4[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_m1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= max_terms) do # do number 2
> array_y_higher[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= max_terms) do # do number 2
> array_y_higher_work[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= max_terms) do # do number 2
> array_y_higher_work2[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= max_terms) do # do number 2
> array_y_set_initial[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_poles[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_given_rad_poles[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_given_ord_poles[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_real_poles[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_complex_poles[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=max_terms) do # do number 1
> term := 1;
> while (term <= max_terms) do # do number 2
> array_fact_2[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> #BEGIN ARRAYS DEFINED AND INITIALIZATED
> array_y := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_y[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_x := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_x[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp0 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp1 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp2 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp2[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp3_g := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp3_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp3 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp3[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp4 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp4[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_m1 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_m1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_1 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_const_1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_1[1] := 1;
> array_const_0D0 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_const_0D0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_0D0[1] := 0.0;
> array_const_2D0 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_const_2D0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_2D0[1] := 2.0;
> array_const_3D0 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_const_3D0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_3D0[1] := 3.0;
> array_m1 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms) do # do number 1
> array_m1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_m1[1] := -1.0;
> #END ARRAYS DEFINED AND INITIALIZATED
> #Initing Factorial Tables
> iiif := 0;
> while (iiif <= glob_max_terms) do # do number 1
> jjjf := 0;
> while (jjjf <= glob_max_terms) do # do number 2
> array_fact_1[iiif] := 0;
> array_fact_2[iiif,jjjf] := 0;
> jjjf := jjjf + 1;
> od;# end do number 2;
> iiif := iiif + 1;
> od;# end do number 1;
> #Done Initing Factorial Tables
> #TOP SECOND INPUT BLOCK
> #BEGIN SECOND INPUT BLOCK
> #END FIRST INPUT BLOCK
> #BEGIN SECOND INPUT BLOCK
> x_start := 0.1;
> x_end := 2.0 ;
> array_y_init[0 + 1] := exact_soln_y(x_start);
> glob_look_poles := true;
> glob_max_iter := 100;
> #END SECOND INPUT BLOCK
> #BEGIN OVERRIDE BLOCK
> glob_desired_digits_correct:=10;
> glob_display_interval:=0.01;
> glob_look_poles:=true;
> glob_max_iter:=10000000;
> glob_max_minutes:=3;
> glob_subiter_method:=3;
> #END OVERRIDE BLOCK
> #END SECOND INPUT BLOCK
> #BEGIN INITS AFTER SECOND INPUT BLOCK
> glob_last_good_h := glob_h;
> glob_max_terms := max_terms;
> glob_max_sec := convfloat(60.0) * convfloat(glob_max_minutes) + convfloat(3600.0) * convfloat(glob_max_hours);
> if (glob_h > 0.0) then # if number 1
> glob_neg_h := false;
> glob_display_interval := omniabs(glob_display_interval);
> else
> glob_neg_h := true;
> glob_display_interval := -omniabs(glob_display_interval);
> fi;# end if 1;
> chk_data();
> #AFTER INITS AFTER SECOND INPUT BLOCK
> array_y_set_initial[1,1] := true;
> array_y_set_initial[1,2] := false;
> array_y_set_initial[1,3] := false;
> array_y_set_initial[1,4] := false;
> array_y_set_initial[1,5] := false;
> array_y_set_initial[1,6] := false;
> array_y_set_initial[1,7] := false;
> array_y_set_initial[1,8] := false;
> array_y_set_initial[1,9] := false;
> array_y_set_initial[1,10] := false;
> array_y_set_initial[1,11] := false;
> array_y_set_initial[1,12] := false;
> array_y_set_initial[1,13] := false;
> array_y_set_initial[1,14] := false;
> array_y_set_initial[1,15] := false;
> array_y_set_initial[1,16] := false;
> array_y_set_initial[1,17] := false;
> array_y_set_initial[1,18] := false;
> array_y_set_initial[1,19] := false;
> array_y_set_initial[1,20] := false;
> array_y_set_initial[1,21] := false;
> array_y_set_initial[1,22] := false;
> array_y_set_initial[1,23] := false;
> array_y_set_initial[1,24] := false;
> array_y_set_initial[1,25] := false;
> array_y_set_initial[1,26] := false;
> array_y_set_initial[1,27] := false;
> array_y_set_initial[1,28] := false;
> array_y_set_initial[1,29] := false;
> array_y_set_initial[1,30] := false;
> #BEGIN OPTIMIZE CODE
> omniout_str(ALWAYS,"START of Optimize");
> #Start Series -- INITIALIZE FOR OPTIMIZE
> glob_check_sign := check_sign(x_start,x_end);
> glob_h := check_sign(x_start,x_end);
> found_h := false;
> glob_h := glob_min_h;
> if (glob_max_h < glob_h) then # if number 4
> glob_h := glob_max_h;
> fi;# end if 4;
> if (glob_display_interval < glob_h) then # if number 4
> glob_h := glob_display_interval;
> fi;# end if 4;
> best_h := glob_h;
> min_value := glob_large_float;
> est_answer := est_size_answer();
> opt_iter := 1;
> est_needed_step_err := estimated_needed_step_error(x_start,x_end,glob_h,est_answer);
> omniout_float(ALWAYS,"est_needed_step_err",32,est_needed_step_err,16,"");
> estimated_step_error := 0.0;
> while ((opt_iter <= 100) and ( not found_h)) do # do number 1
> omniout_int(ALWAYS,"opt_iter",32,opt_iter,4,"");
> array_x[1] := x_start;
> array_x[2] := glob_h;
> glob_next_display := x_start;
> order_diff := 1;
> #Start Series array_y
> term_no := 1;
> while (term_no <= order_diff) do # do number 2
> array_y[term_no] := array_y_init[term_no] * expt(glob_h , (term_no - 1)) / factorial_1(term_no - 1);
> term_no := term_no + 1;
> od;# end do number 2;
> rows := order_diff;
> r_order := 1;
> while (r_order <= rows) do # do number 2
> term_no := 1;
> while (term_no <= (rows - r_order + 1)) do # do number 3
> it := term_no + r_order - 1;
> array_y_higher[r_order,term_no] := array_y_init[it]* expt(glob_h , (term_no - 1)) / ((factorial_1(term_no - 1)));
> term_no := term_no + 1;
> od;# end do number 3;
> r_order := r_order + 1;
> od;# end do number 2
> ;
> atomall();
> estimated_step_error := test_suggested_h();
> omniout_float(ALWAYS,"estimated_step_error",32,estimated_step_error,32,"");
> if (((estimated_step_error > est_needed_step_err) and (opt_iter = 1)) or (glob_h >= glob_max_h )) then # if number 4
> found_h := true;
> glob_h := glob_max_h;
> best_h := glob_h;
> elif
> ((estimated_step_error > est_needed_step_err) and ( not found_h)) then # if number 5
> glob_h := glob_h/2.0;
> best_h := glob_h;
> found_h := true;
> else
> glob_h := glob_h*2.0;
> best_h := glob_h;
> fi;# end if 5;
> omniout_float(ALWAYS,"best_h",32,best_h,32,"");
> opt_iter := opt_iter + 1;
> od;# end do number 1;
> if (( not found_h) and (opt_iter = 1)) then # if number 5
> omniout_str(ALWAYS,"Beginning glob_h too large.");
> found_h := false;
> fi;# end if 5;
> if (opt_iter > 100) then # if number 5
> glob_h := glob_max_h;
> found_h := false;
> fi;# end if 5;
> if (glob_display_interval < glob_h) then # if number 5
> glob_h := glob_display_interval;
> fi;# end if 5;
> #END OPTIMIZE CODE
> if (glob_html_log) then # if number 5
> html_log_file := fopen("entry.html",WRITE,TEXT);
> fi;# end if 5;
> #BEGIN SOLUTION CODE
> if (found_h) then # if number 5
> omniout_str(ALWAYS,"START of Soultion");
> #Start Series -- INITIALIZE FOR SOLUTION
> array_x[1] := x_start;
> array_x[2] := glob_h;
> glob_next_display := x_start;
> order_diff := 1;
> #Start Series array_y
> term_no := 1;
> while (term_no <= order_diff) do # do number 1
> array_y[term_no] := array_y_init[term_no] * expt(glob_h , (term_no - 1)) / factorial_1(term_no - 1);
> term_no := term_no + 1;
> od;# end do number 1;
> rows := order_diff;
> r_order := 1;
> while (r_order <= rows) do # do number 1
> term_no := 1;
> while (term_no <= (rows - r_order + 1)) do # do number 2
> it := term_no + r_order - 1;
> array_y_higher[r_order,term_no] := array_y_init[it]* expt(glob_h , (term_no - 1)) / ((factorial_1(term_no - 1)));
> term_no := term_no + 1;
> od;# end do number 2;
> r_order := r_order + 1;
> od;# end do number 1
> ;
> current_iter := 1;
> glob_clock_start_sec := elapsed_time_seconds();
> glob_clock_sec := elapsed_time_seconds();
> glob_current_iter := 0;
> glob_iter := 0;
> omniout_str(DEBUGL," ");
> glob_reached_optimal_h := true;
> glob_optimal_clock_start_sec := elapsed_time_seconds();
> while ((glob_current_iter < glob_max_iter) and ((glob_check_sign * array_x[1]) < (glob_check_sign * x_end )) and ((convfloat(glob_clock_sec) - convfloat(glob_orig_start_sec)) < convfloat(glob_max_sec))) do # do number 1
> #left paren 0001C
> if (reached_interval()) then # if number 6
> omniout_str(INFO," ");
> omniout_str(INFO,"TOP MAIN SOLVE Loop");
> fi;# end if 6;
> glob_iter := glob_iter + 1;
> glob_clock_sec := elapsed_time_seconds();
> glob_current_iter := glob_current_iter + 1;
> atomall();
> display_alot(current_iter);
> if (glob_look_poles) then # if number 6
> #left paren 0004C
> check_for_pole();
> fi;# end if 6;#was right paren 0004C
> if (reached_interval()) then # if number 6
> glob_next_display := glob_next_display + glob_display_interval;
> fi;# end if 6;
> array_x[1] := array_x[1] + glob_h;
> array_x[2] := glob_h;
> #Jump Series array_y;
> order_diff := 2;
> #START PART 1 SUM AND ADJUST
> #START SUM AND ADJUST EQ =1
> #sum_and_adjust array_y
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 2;
> calc_term := 1;
> #adjust_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[2,iii] := array_y_higher[2,iii] / expt(glob_h , (calc_term - 1)) / factorial_3(iii - calc_term , iii - 1);
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := 0.0;
> ord := 2;
> calc_term := 1;
> #sum_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , (calc_term - 1)) / (factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 1;
> calc_term := 2;
> #adjust_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[1,iii] := array_y_higher[1,iii] / expt(glob_h , (calc_term - 1)) / factorial_3(iii - calc_term , iii - 1);
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := 0.0;
> ord := 1;
> calc_term := 2;
> #sum_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , (calc_term - 1)) / (factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 1;
> calc_term := 1;
> #adjust_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[1,iii] := array_y_higher[1,iii] / expt(glob_h , (calc_term - 1)) / factorial_3(iii - calc_term , iii - 1);
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := 0.0;
> ord := 1;
> calc_term := 1;
> #sum_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , (calc_term - 1)) / (factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #END SUM AND ADJUST EQ =1
> #END PART 1
> #START PART 2 MOVE TERMS to REGULAR Array
> term_no := glob_max_terms;
> while (term_no >= 1) do # do number 2
> array_y[term_no] := array_y_higher_work2[1,term_no];
> ord := 1;
> while (ord <= order_diff) do # do number 3
> array_y_higher[ord,term_no] := array_y_higher_work2[ord,term_no];
> ord := ord + 1;
> od;# end do number 3;
> term_no := term_no - 1;
> od;# end do number 2;
> #END PART 2 HEVE MOVED TERMS to REGULAR Array
> ;
> od;# end do number 1;#right paren 0001C
> omniout_str(ALWAYS,"Finished!");
> if (glob_iter >= glob_max_iter) then # if number 6
> omniout_str(ALWAYS,"Maximum Iterations Reached before Solution Completed!");
> fi;# end if 6;
> if (elapsed_time_seconds() - convfloat(glob_orig_start_sec) >= convfloat(glob_max_sec )) then # if number 6
> omniout_str(ALWAYS,"Maximum Time Reached before Solution Completed!");
> fi;# end if 6;
> glob_clock_sec := elapsed_time_seconds();
> omniout_str(INFO,"diff ( y , x , 1 ) = cosh (2.0 * x + 3.0) ;");
> omniout_int(INFO,"Iterations ",32,glob_iter,4," ")
> ;
> prog_report(x_start,x_end);
> if (glob_html_log) then # if number 6
> logstart(html_log_file);
> logitem_str(html_log_file,"2013-05-26T02:32:52-05:00")
> ;
> logitem_str(html_log_file,"Maple")
> ;
> logitem_str(html_log_file,"lin_cosh")
> ;
> logitem_str(html_log_file,"diff ( y , x , 1 ) = cosh (2.0 * x + 3.0) ;")
> ;
> logitem_float(html_log_file,x_start)
> ;
> logitem_float(html_log_file,x_end)
> ;
> logitem_float(html_log_file,array_x[1])
> ;
> logitem_float(html_log_file,glob_h)
> ;
> logitem_integer(html_log_file,Digits)
> ;
> ;
> logitem_good_digits(html_log_file,array_last_rel_error[1])
> ;
> logitem_integer(html_log_file,glob_max_terms)
> ;
> logitem_float(html_log_file,array_1st_rel_error[1])
> ;
> logitem_float(html_log_file,array_last_rel_error[1])
> ;
> logitem_integer(html_log_file,glob_iter)
> ;
> logitem_time(html_log_file,convfloat(glob_clock_sec))
> ;
> if (glob_percent_done < 100.0) then # if number 7
> logitem_time(html_log_file,convfloat(glob_total_exp_sec))
> ;
> 0;
> else
> logitem_str(html_log_file,"Done")
> ;
> 0;
> fi;# end if 7;
> log_revs(html_log_file," 189 | ")
> ;
> logitem_str(html_log_file,"lin_cosh diffeq.mxt")
> ;
> logitem_str(html_log_file,"lin_cosh maple results")
> ;
> logitem_str(html_log_file,"All Tests - All Languages")
> ;
> logend(html_log_file)
> ;
> ;
> fi;# end if 6;
> if (glob_html_log) then # if number 6
> fclose(html_log_file);
> fi;# end if 6
> ;
> ;;
> fi;# end if 5
> #END OUTFILEMAIN
> end;
main := proc()
local d1, d2, d3, d4, est_err_2, niii, done_once, term, ord, order_diff,
term_no, html_log_file, iiif, jjjf, rows, r_order, sub_iter, calc_term, iii,
temp_sum, current_iter, x_start, x_end, it, max_terms, opt_iter, tmp,
subiter, est_needed_step_err, estimated_step_error, min_value, est_answer,
best_h, found_h, repeat_it;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_y_init, array_norms, array_fact_1, array_pole,
array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_m1, array_y_higher,
array_y_higher_work, array_y_higher_work2, array_y_set_initial, array_poles,
array_given_rad_poles, array_given_ord_poles, array_real_poles,
array_complex_poles, array_fact_2, glob_last;
glob_last;
ALWAYS := 1;
INFO := 2;
DEBUGL := 3;
DEBUGMASSIVE := 4;
glob_iolevel := INFO;
glob_max_terms := 30;
glob_iolevel := 5;
glob_yes_pole := 4;
glob_no_pole := 3;
glob_not_given := 0;
ALWAYS := 1;
INFO := 2;
DEBUGL := 3;
DEBUGMASSIVE := 4;
MAX_UNCHANGED := 10;
glob_check_sign := 1.0;
glob_desired_digits_correct := 8.0;
glob_max_estimated_step_error := 0.;
glob_ratio_of_radius := 0.1;
glob_percent_done := 0.;
glob_subiter_method := 3;
glob_total_exp_sec := 0.1;
glob_optimal_expect_sec := 0.1;
glob_html_log := true;
glob_good_digits := 0;
glob_max_opt_iter := 10;
glob_dump := false;
glob_djd_debug := true;
glob_display_flag := true;
glob_djd_debug2 := true;
glob_sec_in_minute := 60;
glob_min_in_hour := 60;
glob_hours_in_day := 24;
glob_days_in_year := 365;
glob_sec_in_hour := 3600;
glob_sec_in_day := 86400;
glob_sec_in_year := 31536000;
glob_almost_1 := 0.9990;
glob_clock_sec := 0.;
glob_clock_start_sec := 0.;
glob_not_yet_finished := true;
glob_initial_pass := true;
glob_not_yet_start_msg := true;
glob_reached_optimal_h := false;
glob_optimal_done := false;
glob_disp_incr := 0.1;
glob_h := 0.1;
glob_max_h := 0.1;
glob_min_h := 0.1*10^(-5);
glob_type_given_pole := 0;
glob_large_float := 0.90*10^101;
glob_last_good_h := 0.1;
glob_look_poles := false;
glob_neg_h := false;
glob_display_interval := 0.;
glob_next_display := 0.;
glob_dump_analytic := false;
glob_abserr := 0.1*10^(-10);
glob_relerr := 0.1*10^(-10);
glob_max_hours := 0.;
glob_max_iter := 1000;
glob_max_rel_trunc_err := 0.1*10^(-10);
glob_max_trunc_err := 0.1*10^(-10);
glob_no_eqs := 0;
glob_optimal_clock_start_sec := 0.;
glob_optimal_start := 0.;
glob_small_float := 0.;
glob_smallish_float := 0.;
glob_unchanged_h_cnt := 0;
glob_warned := false;
glob_warned2 := false;
glob_max_sec := 10000.0;
glob_orig_start_sec := 0.;
glob_start := 0;
glob_curr_iter_when_opt := 0;
glob_current_iter := 0;
glob_iter := 0;
glob_normmax := 0.;
glob_max_minutes := 0.;
glob_orig_start_sec := elapsed_time_seconds();
MAX_UNCHANGED := 10;
glob_curr_iter_when_opt := 0;
glob_display_flag := true;
glob_no_eqs := 1;
glob_iter := -1;
opt_iter := -1;
glob_max_iter := 50000;
glob_max_hours := 0.;
glob_max_minutes := 15.0;
omniout_str(ALWAYS, "##############ECHO OF PROBLEM#################");
omniout_str(ALWAYS,
"##############temp/lin_coshpostode.ode#################");
omniout_str(ALWAYS, "diff ( y , x , 1 ) = cosh (2.0 * x + 3.0) ;");
omniout_str(ALWAYS, "!");
omniout_str(ALWAYS, "#BEGIN FIRST INPUT BLOCK");
omniout_str(ALWAYS, "Digits:=32;");
omniout_str(ALWAYS, "max_terms:=30;");
omniout_str(ALWAYS, "!");
omniout_str(ALWAYS, "#END FIRST INPUT BLOCK");
omniout_str(ALWAYS, "#BEGIN SECOND INPUT BLOCK");
omniout_str(ALWAYS, "x_start := 0.1;");
omniout_str(ALWAYS, "x_end := 2.0 ;");
omniout_str(ALWAYS, "array_y_init[0 + 1] := exact_soln_y(x_start);");
omniout_str(ALWAYS, "glob_look_poles := true;");
omniout_str(ALWAYS, "glob_max_iter := 100;");
omniout_str(ALWAYS, "#END SECOND INPUT BLOCK");
omniout_str(ALWAYS, "#BEGIN OVERRIDE BLOCK");
omniout_str(ALWAYS, "glob_desired_digits_correct:=10;");
omniout_str(ALWAYS, "glob_display_interval:=0.01;");
omniout_str(ALWAYS, "glob_look_poles:=true;");
omniout_str(ALWAYS, "glob_max_iter:=10000000;");
omniout_str(ALWAYS, "glob_max_minutes:=3;");
omniout_str(ALWAYS, "glob_subiter_method:=3;");
omniout_str(ALWAYS, "#END OVERRIDE BLOCK");
omniout_str(ALWAYS, "!");
omniout_str(ALWAYS, "#BEGIN USER DEF BLOCK");
omniout_str(ALWAYS, "exact_soln_y := proc(x)");
omniout_str(ALWAYS, "return(sinh(2.0*x+3.0)/2);");
omniout_str(ALWAYS, "end;");
omniout_str(ALWAYS, "");
omniout_str(ALWAYS, "#END USER DEF BLOCK");
omniout_str(ALWAYS, "#######END OF ECHO OF PROBLEM#################");
glob_unchanged_h_cnt := 0;
glob_warned := false;
glob_warned2 := false;
glob_small_float := 0.;
glob_smallish_float := 0.;
glob_large_float := 0.10*10^101;
glob_almost_1 := 0.99;
Digits := 32;
max_terms := 30;
glob_max_terms := max_terms;
glob_html_log := true;
array_y_init := Array(0 .. max_terms + 1, []);
array_norms := Array(0 .. max_terms + 1, []);
array_fact_1 := Array(0 .. max_terms + 1, []);
array_pole := Array(0 .. 5, []);
array_real_pole := Array(0 .. 5, []);
array_complex_pole := Array(0 .. 5, []);
array_1st_rel_error := Array(0 .. 3, []);
array_last_rel_error := Array(0 .. 3, []);
array_type_pole := Array(0 .. 3, []);
array_type_real_pole := Array(0 .. 3, []);
array_type_complex_pole := Array(0 .. 3, []);
array_y := Array(0 .. max_terms + 1, []);
array_x := Array(0 .. max_terms + 1, []);
array_tmp0 := Array(0 .. max_terms + 1, []);
array_tmp1 := Array(0 .. max_terms + 1, []);
array_tmp2 := Array(0 .. max_terms + 1, []);
array_tmp3_g := Array(0 .. max_terms + 1, []);
array_tmp3 := Array(0 .. max_terms + 1, []);
array_tmp4 := Array(0 .. max_terms + 1, []);
array_m1 := Array(0 .. max_terms + 1, []);
array_y_higher := Array(0 .. 3, 0 .. max_terms + 1, []);
array_y_higher_work := Array(0 .. 3, 0 .. max_terms + 1, []);
array_y_higher_work2 := Array(0 .. 3, 0 .. max_terms + 1, []);
array_y_set_initial := Array(0 .. 3, 0 .. max_terms + 1, []);
array_poles := Array(0 .. 3, 0 .. 4, []);
array_given_rad_poles := Array(0 .. 3, 0 .. 4, []);
array_given_ord_poles := Array(0 .. 3, 0 .. 4, []);
array_real_poles := Array(0 .. 3, 0 .. 4, []);
array_complex_poles := Array(0 .. 3, 0 .. 4, []);
array_fact_2 := Array(0 .. max_terms + 1, 0 .. max_terms + 1, []);
term := 1;
while term <= max_terms do array_y_init[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_norms[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_fact_1[term] := 0.; term := term + 1
end do;
term := 1;
while term <= 4 do array_pole[term] := 0.; term := term + 1 end do;
term := 1;
while term <= 4 do array_real_pole[term] := 0.; term := term + 1 end do
;
term := 1;
while term <= 4 do array_complex_pole[term] := 0.; term := term + 1
end do;
term := 1;
while term <= 2 do array_1st_rel_error[term] := 0.; term := term + 1
end do;
term := 1;
while term <= 2 do array_last_rel_error[term] := 0.; term := term + 1
end do;
term := 1;
while term <= 2 do array_type_pole[term] := 0.; term := term + 1 end do
;
term := 1;
while term <= 2 do array_type_real_pole[term] := 0.; term := term + 1
end do;
term := 1;
while term <= 2 do
array_type_complex_pole[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_y[term] := 0.; term := term + 1 end do
;
term := 1;
while term <= max_terms do array_x[term] := 0.; term := term + 1 end do
;
term := 1;
while term <= max_terms do array_tmp0[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp1[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp2[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp3_g[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp3[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp4[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_m1[term] := 0.; term := term + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= max_terms do
array_y_higher[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= max_terms do
array_y_higher_work[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= max_terms do
array_y_higher_work2[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= max_terms do
array_y_set_initial[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do array_poles[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do
array_given_rad_poles[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do
array_given_ord_poles[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do
array_real_poles[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do
array_complex_poles[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= max_terms do
term := 1;
while term <= max_terms do
array_fact_2[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
array_y := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_y[term] := 0.; term := term + 1
end do;
array_x := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_x[term] := 0.; term := term + 1
end do;
array_tmp0 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp0[term] := 0.; term := term + 1
end do;
array_tmp1 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp1[term] := 0.; term := term + 1
end do;
array_tmp2 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp2[term] := 0.; term := term + 1
end do;
array_tmp3_g := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp3_g[term] := 0.; term := term + 1
end do;
array_tmp3 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp3[term] := 0.; term := term + 1
end do;
array_tmp4 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp4[term] := 0.; term := term + 1
end do;
array_m1 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_m1[term] := 0.; term := term + 1
end do;
array_const_1 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_const_1[term] := 0.; term := term + 1
end do;
array_const_1[1] := 1;
array_const_0D0 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_const_0D0[term] := 0.; term := term + 1
end do;
array_const_0D0[1] := 0.;
array_const_2D0 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_const_2D0[term] := 0.; term := term + 1
end do;
array_const_2D0[1] := 2.0;
array_const_3D0 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_const_3D0[term] := 0.; term := term + 1
end do;
array_const_3D0[1] := 3.0;
array_m1 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms do array_m1[term] := 0.; term := term + 1
end do;
array_m1[1] := -1.0;
iiif := 0;
while iiif <= glob_max_terms do
jjjf := 0;
while jjjf <= glob_max_terms do
array_fact_1[iiif] := 0;
array_fact_2[iiif, jjjf] := 0;
jjjf := jjjf + 1
end do;
iiif := iiif + 1
end do;
x_start := 0.1;
x_end := 2.0;
array_y_init[1] := exact_soln_y(x_start);
glob_look_poles := true;
glob_max_iter := 100;
glob_desired_digits_correct := 10;
glob_display_interval := 0.01;
glob_look_poles := true;
glob_max_iter := 10000000;
glob_max_minutes := 3;
glob_subiter_method := 3;
glob_last_good_h := glob_h;
glob_max_terms := max_terms;
glob_max_sec := convfloat(60.0)*convfloat(glob_max_minutes)
+ convfloat(3600.0)*convfloat(glob_max_hours);
if 0. < glob_h then
glob_neg_h := false;
glob_display_interval := omniabs(glob_display_interval)
else
glob_neg_h := true;
glob_display_interval := -omniabs(glob_display_interval)
end if;
chk_data();
array_y_set_initial[1, 1] := true;
array_y_set_initial[1, 2] := false;
array_y_set_initial[1, 3] := false;
array_y_set_initial[1, 4] := false;
array_y_set_initial[1, 5] := false;
array_y_set_initial[1, 6] := false;
array_y_set_initial[1, 7] := false;
array_y_set_initial[1, 8] := false;
array_y_set_initial[1, 9] := false;
array_y_set_initial[1, 10] := false;
array_y_set_initial[1, 11] := false;
array_y_set_initial[1, 12] := false;
array_y_set_initial[1, 13] := false;
array_y_set_initial[1, 14] := false;
array_y_set_initial[1, 15] := false;
array_y_set_initial[1, 16] := false;
array_y_set_initial[1, 17] := false;
array_y_set_initial[1, 18] := false;
array_y_set_initial[1, 19] := false;
array_y_set_initial[1, 20] := false;
array_y_set_initial[1, 21] := false;
array_y_set_initial[1, 22] := false;
array_y_set_initial[1, 23] := false;
array_y_set_initial[1, 24] := false;
array_y_set_initial[1, 25] := false;
array_y_set_initial[1, 26] := false;
array_y_set_initial[1, 27] := false;
array_y_set_initial[1, 28] := false;
array_y_set_initial[1, 29] := false;
array_y_set_initial[1, 30] := false;
omniout_str(ALWAYS, "START of Optimize");
glob_check_sign := check_sign(x_start, x_end);
glob_h := check_sign(x_start, x_end);
found_h := false;
glob_h := glob_min_h;
if glob_max_h < glob_h then glob_h := glob_max_h end if;
if glob_display_interval < glob_h then glob_h := glob_display_interval
end if;
best_h := glob_h;
min_value := glob_large_float;
est_answer := est_size_answer();
opt_iter := 1;
est_needed_step_err :=
estimated_needed_step_error(x_start, x_end, glob_h, est_answer);
omniout_float(ALWAYS, "est_needed_step_err", 32, est_needed_step_err,
16, "");
estimated_step_error := 0.;
while opt_iter <= 100 and not found_h do
omniout_int(ALWAYS, "opt_iter", 32, opt_iter, 4, "");
array_x[1] := x_start;
array_x[2] := glob_h;
glob_next_display := x_start;
order_diff := 1;
term_no := 1;
while term_no <= order_diff do
array_y[term_no] := array_y_init[term_no]*
expt(glob_h, term_no - 1)/factorial_1(term_no - 1);
term_no := term_no + 1
end do;
rows := order_diff;
r_order := 1;
while r_order <= rows do
term_no := 1;
while term_no <= rows - r_order + 1 do
it := term_no + r_order - 1;
array_y_higher[r_order, term_no] := array_y_init[it]*
expt(glob_h, term_no - 1)/factorial_1(term_no - 1);
term_no := term_no + 1
end do;
r_order := r_order + 1
end do;
atomall();
estimated_step_error := test_suggested_h();
omniout_float(ALWAYS, "estimated_step_error", 32,
estimated_step_error, 32, "");
if est_needed_step_err < estimated_step_error and opt_iter = 1 or
glob_max_h <= glob_h then
found_h := true; glob_h := glob_max_h; best_h := glob_h
elif est_needed_step_err < estimated_step_error and not found_h
then glob_h := glob_h/2.0; best_h := glob_h; found_h := true
else glob_h := glob_h*2.0; best_h := glob_h
end if;
omniout_float(ALWAYS, "best_h", 32, best_h, 32, "");
opt_iter := opt_iter + 1
end do;
if not found_h and opt_iter = 1 then
omniout_str(ALWAYS, "Beginning glob_h too large.");
found_h := false
end if;
if 100 < opt_iter then glob_h := glob_max_h; found_h := false end if;
if glob_display_interval < glob_h then glob_h := glob_display_interval
end if;
if glob_html_log then html_log_file := fopen("entry.html", WRITE, TEXT)
end if;
if found_h then
omniout_str(ALWAYS, "START of Soultion");
array_x[1] := x_start;
array_x[2] := glob_h;
glob_next_display := x_start;
order_diff := 1;
term_no := 1;
while term_no <= order_diff do
array_y[term_no] := array_y_init[term_no]*
expt(glob_h, term_no - 1)/factorial_1(term_no - 1);
term_no := term_no + 1
end do;
rows := order_diff;
r_order := 1;
while r_order <= rows do
term_no := 1;
while term_no <= rows - r_order + 1 do
it := term_no + r_order - 1;
array_y_higher[r_order, term_no] := array_y_init[it]*
expt(glob_h, term_no - 1)/factorial_1(term_no - 1);
term_no := term_no + 1
end do;
r_order := r_order + 1
end do;
current_iter := 1;
glob_clock_start_sec := elapsed_time_seconds();
glob_clock_sec := elapsed_time_seconds();
glob_current_iter := 0;
glob_iter := 0;
omniout_str(DEBUGL, " ");
glob_reached_optimal_h := true;
glob_optimal_clock_start_sec := elapsed_time_seconds();
while glob_current_iter < glob_max_iter and
glob_check_sign*array_x[1] < glob_check_sign*x_end and
convfloat(glob_clock_sec) - convfloat(glob_orig_start_sec) <
convfloat(glob_max_sec) do
if reached_interval() then
omniout_str(INFO, " ");
omniout_str(INFO, "TOP MAIN SOLVE Loop")
end if;
glob_iter := glob_iter + 1;
glob_clock_sec := elapsed_time_seconds();
glob_current_iter := glob_current_iter + 1;
atomall();
display_alot(current_iter);
if glob_look_poles then check_for_pole() end if;
if reached_interval() then glob_next_display :=
glob_next_display + glob_display_interval
end if;
array_x[1] := array_x[1] + glob_h;
array_x[2] := glob_h;
order_diff := 2;
ord := 2;
calc_term := 1;
iii := glob_max_terms;
while calc_term <= iii do
array_y_higher_work[2, iii] := array_y_higher[2, iii]/(
expt(glob_h, calc_term - 1)*
factorial_3(iii - calc_term, iii - 1));
iii := iii - 1
end do;
temp_sum := 0.;
ord := 2;
calc_term := 1;
iii := glob_max_terms;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, calc_term - 1)/factorial_1(calc_term - 1);
ord := 1;
calc_term := 2;
iii := glob_max_terms;
while calc_term <= iii do
array_y_higher_work[1, iii] := array_y_higher[1, iii]/(
expt(glob_h, calc_term - 1)*
factorial_3(iii - calc_term, iii - 1));
iii := iii - 1
end do;
temp_sum := 0.;
ord := 1;
calc_term := 2;
iii := glob_max_terms;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, calc_term - 1)/factorial_1(calc_term - 1);
ord := 1;
calc_term := 1;
iii := glob_max_terms;
while calc_term <= iii do
array_y_higher_work[1, iii] := array_y_higher[1, iii]/(
expt(glob_h, calc_term - 1)*
factorial_3(iii - calc_term, iii - 1));
iii := iii - 1
end do;
temp_sum := 0.;
ord := 1;
calc_term := 1;
iii := glob_max_terms;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, calc_term - 1)/factorial_1(calc_term - 1);
term_no := glob_max_terms;
while 1 <= term_no do
array_y[term_no] := array_y_higher_work2[1, term_no];
ord := 1;
while ord <= order_diff do
array_y_higher[ord, term_no] :=
array_y_higher_work2[ord, term_no];
ord := ord + 1
end do;
term_no := term_no - 1
end do
end do;
omniout_str(ALWAYS, "Finished!");
if glob_max_iter <= glob_iter then omniout_str(ALWAYS,
"Maximum Iterations Reached before Solution Completed!")
end if;
if convfloat(glob_max_sec) <=
elapsed_time_seconds() - convfloat(glob_orig_start_sec) then
omniout_str(ALWAYS,
"Maximum Time Reached before Solution Completed!")
end if;
glob_clock_sec := elapsed_time_seconds();
omniout_str(INFO, "diff ( y , x , 1 ) = cosh (2.0 * x + 3.0) ;");
omniout_int(INFO, "Iterations ", 32,
glob_iter, 4, " ");
prog_report(x_start, x_end);
if glob_html_log then
logstart(html_log_file);
logitem_str(html_log_file, "2013-05-26T02:32:52-05:00");
logitem_str(html_log_file, "Maple");
logitem_str(html_log_file,
"lin_cosh");
logitem_str(html_log_file,
"diff ( y , x , 1 ) = cosh (2.0 * x + 3.0) ;");
logitem_float(html_log_file, x_start);
logitem_float(html_log_file, x_end);
logitem_float(html_log_file, array_x[1]);
logitem_float(html_log_file, glob_h);
logitem_integer(html_log_file, Digits);
logitem_good_digits(html_log_file, array_last_rel_error[1]);
logitem_integer(html_log_file, glob_max_terms);
logitem_float(html_log_file, array_1st_rel_error[1]);
logitem_float(html_log_file, array_last_rel_error[1]);
logitem_integer(html_log_file, glob_iter);
logitem_time(html_log_file, convfloat(glob_clock_sec));
if glob_percent_done < 100.0 then
logitem_time(html_log_file, convfloat(glob_total_exp_sec));
0
else logitem_str(html_log_file, "Done"); 0
end if;
log_revs(html_log_file, " 189 | ");
logitem_str(html_log_file,
"lin_cosh diffeq.mxt")
;
logitem_str(html_log_file, "lin_cosh maple results");
logitem_str(html_log_file, "All Tests - All Languages");
logend(html_log_file)
end if;
if glob_html_log then fclose(html_log_file) end if
end if
end proc
> # End Function number 13
> main();
##############ECHO OF PROBLEM#################
##############temp/lin_coshpostode.ode#################
diff ( y , x , 1 ) = cosh (2.0 * x + 3.0) ;
!
#BEGIN FIRST INPUT BLOCK
Digits:=32;
max_terms:=30;
!
#END FIRST INPUT BLOCK
#BEGIN SECOND INPUT BLOCK
x_start := 0.1;
x_end := 2.0 ;
array_y_init[0 + 1] := exact_soln_y(x_start);
glob_look_poles := true;
glob_max_iter := 100;
#END SECOND INPUT BLOCK
#BEGIN OVERRIDE BLOCK
glob_desired_digits_correct:=10;
glob_display_interval:=0.01;
glob_look_poles:=true;
glob_max_iter:=10000000;
glob_max_minutes:=3;
glob_subiter_method:=3;
#END OVERRIDE BLOCK
!
#BEGIN USER DEF BLOCK
exact_soln_y := proc(x)
return(sinh(2.0*x+3.0)/2);
end;
#END USER DEF BLOCK
#######END OF ECHO OF PROBLEM#################
START of Optimize
min_size = 0
min_size = 1
glob_desired_digits_correct = 10
desired_abs_gbl_error = 1.0000000000000000000000000000000e-10
range = 1.9
estimated_steps = 1900000
step_error = 5.2631578947368421052631578947368e-17
est_needed_step_err = 5.2631578947368421052631578947368e-17
opt_iter = 1
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 1.0188751961806023370137195721573e-174
estimated_step_error = 1.0188751961806023370137195721573e-174
best_h = 2.0e-06
opt_iter = 2
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 6.8375554432599405236087080816662e-167
estimated_step_error = 6.8375554432599405236087080816662e-167
best_h = 4.00e-06
opt_iter = 3
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 4.5886054423136921513105554189739e-159
estimated_step_error = 4.5886054423136921513105554189739e-159
best_h = 8.000e-06
opt_iter = 4
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 3.0793605280584696505644022629613e-151
estimated_step_error = 3.0793605280584696505644022629613e-151
best_h = 1.60000e-05
opt_iter = 5
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 2.0665232545022235087101313771153e-143
estimated_step_error = 2.0665232545022235087101313771153e-143
best_h = 3.200000e-05
opt_iter = 6
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 1.3868194558354011951045079927968e-135
estimated_step_error = 1.3868194558354011951045079927968e-135
best_h = 6.4000000e-05
opt_iter = 7
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 9.3067767583873175761985456280960e-128
estimated_step_error = 9.3067767583873175761985456280960e-128
best_h = 0.000128
opt_iter = 8
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 6.2456573035975683236187543743306e-120
estimated_step_error = 6.2456573035975683236187543743306e-120
best_h = 0.000256
opt_iter = 9
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 4.1913697289771203996649707337316e-112
estimated_step_error = 4.1913697289771203996649707337316e-112
best_h = 0.000512
opt_iter = 10
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 2.8127538520703536051000579039259e-104
estimated_step_error = 2.8127538520703536051000579039259e-104
best_h = 0.001024
opt_iter = 11
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 1.8875712408214830086526272391306e-96
estimated_step_error = 1.8875712408214830086526272391306e-96
best_h = 0.002048
opt_iter = 12
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 1.2666794080686730482823379115643e-88
estimated_step_error = 1.2666794080686730482823379115643e-88
best_h = 0.004096
opt_iter = 13
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 8.4998944939593716675286896772094e-81
estimated_step_error = 8.4998944939593716675286896772094e-81
best_h = 0.008192
opt_iter = 14
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 5.7033138980216699084027514943152e-73
estimated_step_error = 5.7033138980216699084027514943152e-73
best_h = 0.016384
opt_iter = 15
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 3.8262626570255662245838838494067e-65
estimated_step_error = 3.8262626570255662245838838494067e-65
best_h = 0.032768
opt_iter = 16
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 2.5661943707276208751045328064895e-57
estimated_step_error = 2.5661943707276208751045328064895e-57
best_h = 0.065536
opt_iter = 17
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 1.7200369819987125175281529214558e-49
estimated_step_error = 1.7200369819987125175281529214558e-49
best_h = 0.131072
opt_iter = 18
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 1.1514595739286571003401940013845e-41
estimated_step_error = 1.1514595739286571003401940013845e-41
best_h = 0.1
START of Soultion
TOP MAIN SOLVE Loop
x[1] = 0.1
y[1] (analytic) = 6.122941998282745607098546116455
y[1] (numeric) = 6.122941998282745607098546116455
absolute error = 0
relative error = 0 %
Correct digits = 32
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.468
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.11
y[1] (analytic) = 6.2470412807692888565937064264915
y[1] (numeric) = 6.2470412807692857284004592432791
absolute error = 3.1281932471832124e-15
relative error = 5.0074797117364215109111790016783e-14 %
Correct digits = 16
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.47
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.12
y[1] (analytic) = 6.3736394630631341582713896034225
y[1] (numeric) = 6.3736394630631278388977420502516
absolute error = 6.3193736475531709e-15
relative error = 9.9148589815529298513476535807009e-14 %
Correct digits = 16
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.471
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.13
y[1] (analytic) = 6.5027871861251973206744832931055
y[1] (numeric) = 6.5027871861251877458567674734428
absolute error = 9.5748177158196627e-15
relative error = 1.4724175098716385969162294976530e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.472
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.14
y[1] (analytic) = 6.6345361107666957696546664360375
y[1] (numeric) = 6.634536110766682873826993419543
absolute error = 1.28958276730164945e-14
relative error = 1.9437421784604976088486450012121e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.473
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.15
y[1] (analytic) = 6.7689389383141618553431921013725
y[1] (numeric) = 6.7689389383141455716112246941045
absolute error = 1.62837319674072680e-14
relative error = 2.4056550244879019403840289892004e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.474
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.16
y[1] (analytic) = 6.906049431690676158813896296045
y[1] (numeric) = 6.9060494316906564189280904136464
absolute error = 1.97398858058823986e-14
relative error = 2.8583470189627442966945164589972e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.475
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
bytes used=4000228, alloc=3079628, time=0.14
TOP MAIN SOLVE Loop
x[1] = 0.17
y[1] (analytic) = 7.045922436921753572847956509611
y[1] (numeric) = 7.045922436921730307176260449668
absolute error = 2.32656716960599430e-14
relative error = 3.3020050822790959287033418490643e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.476
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.18
y[1] (analytic) = 7.188613905074484797981676937693
y[1] (numeric) = 7.1886139050744579354816776306165
absolute error = 2.68624999993070765e-14
relative error = 3.7368121802096896452615382897710e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.477
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.19
y[1] (analytic) = 7.334180914638709202961506431783
y[1] (numeric) = 7.3341809146386786711520115283343
absolute error = 3.05318094949034487e-14
relative error = 4.1629474170678380777769206859782e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.478
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.2
y[1] (analytic) = 7.482681694359171817170088225565
y[1] (numeric) = 7.4826816943591375421021326534879
absolute error = 3.42750679555720771e-14
relative error = 4.5805861261491821059636942621086e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.479
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.21
y[1] (analytic) = 7.6341756465277976222531308357965
y[1] (numeric) = 7.6341756465277595284803962277898
absolute error = 3.80937727346080067e-14
relative error = 4.9898999575591307225627976248749e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.48
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.22
y[1] (analytic) = 7.788723370745400363231548986141
y[1] (numeric) = 7.7887233707453583737801841465452
absolute error = 4.19894513648395958e-14
relative error = 5.3910569635266299079235726576247e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.48
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.23
y[1] (analytic) = 7.946386688162330879450327892436
y[1] (numeric) = 7.9463866881622849157881582304259
absolute error = 4.59636621696620101e-14
relative error = 5.7842216812999690139845006505886e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.481
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.24
y[1] (analytic) = 8.1072286662077615379094443471515
y[1] (numeric) = 8.1072286662077115199145579597886
absolute error = 5.00179948863873629e-14
relative error = 6.1695552137156860872710455832043e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.482
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.25
y[1] (analytic) = 8.271313643817498812478365764506
y[1] (numeric) = 8.2713136438174446584070636036712
absolute error = 5.41540713021608348e-14
relative error = 6.5472153075272391845214306369210e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.483
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.26
y[1] (analytic) = 8.4387072571704154704011323518865
y[1] (numeric) = 8.4387072571703570968552296547303
absolute error = 5.83735459026971562e-14
relative error = 6.9173564295759681251046760938519e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.483
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.27
y[1] (analytic) = 8.6094764659437972821236289922425
y[1] (numeric) = 8.6094764659437346040170948952896
absolute error = 6.26781065340969529e-14
relative error = 7.2801298408829538675865978505834e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.484
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.28
y[1] (analytic) = 8.783689580098106743202934861106
y[1] (numeric) = 8.7836895800980396737278568534143
absolute error = 6.70694750780076917e-14
relative error = 7.6356836687366836161726478773208e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.485
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.29
y[1] (analytic) = 8.961416287201878070922459246659
y[1] (numeric) = 8.9614162872018065215143188473606
absolute error = 7.15494081403992984e-14
relative error = 7.9841629768479330303321082210899e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.485
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.3
y[1] (analytic) = 9.142727680307673797948300709187
y[1] (numeric) = 9.1427276803075976782505464792202
absolute error = 7.61196977542299668e-14
relative error = 8.3257098336399716583124211623887e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.486
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.31
y[1] (analytic) = 9.327696286390253717348669133351
y[1] (numeric) = 9.3276962863901729351765728501145
absolute error = 8.07821720962832365e-14
relative error = 8.6604633787390725590875077833769e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.486
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.32
y[1] (analytic) = 9.5163960953583318257350200862795
y[1] (numeric) = 9.5163960953582462870388016231975
absolute error = 8.55386962184630820e-14
relative error = 8.9885598877273503110425219639225e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.487
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.33
y[1] (analytic) = 9.708902589651526354130741526295
y[1] (numeric) = 9.7089025896514359629579476867519
absolute error = 9.03911727938395431e-14
relative error = 9.3101328352171549629910560483659e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.487
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.34
y[1] (analytic) = 9.9052927744343420612110024661245
y[1] (numeric) = 9.9052927744342467196681247228042
absolute error = 9.53415428777433203e-14
relative error = 9.6253129563036015345908569099649e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.488
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.35
y[1] (analytic) = 10.105645208399262784422857964014
y[1] (numeric) = 10.105645208399162392636173750224
absolute error = 1.00391786684213790e-13
relative error = 9.9342283064493097277628743650526e-13 %
Correct digits = 15
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.488
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.36
y[1] (analytic) = 10.310040035191275896719435310796
y[1] (numeric) = 10.310040035191170352795057199774
absolute error = 1.05543924378111022e-13
relative error = 1.0237004319853053782928338955268e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.489
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.37
y[1] (analytic) = 10.518559015466398897690141132539
y[1] (numeric) = 10.51855901546628809767325792388
absolute error = 1.10800016883208659e-13
relative error = 1.0533763866351775480741103469216e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.489
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.38
y[1] (analytic) = 10.731285559597031977176062041024
y[1] (numeric) = 10.731285559596915815009355450113
absolute error = 1.16162166706590911e-13
relative error = 1.0824627306903283045584039443277e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.49
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.39
y[1] (analytic) = 10.948304761037219128473186833587
y[1] (numeric) = 10.948304761037097495954407150175
absolute error = 1.21632518779683412e-13
relative error = 1.1109712547694936986179788198248e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.49
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.4
y[1] (analytic) = 11.169703430361164360444811351631
y[1] (numeric) = 11.16970343036103714718349509723
absolute error = 1.27213261316254401e-13
relative error = 1.1389135092921715228400237983296e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.49
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.41
y[1] (analytic) = 11.395570129988618868880905122875
y[1] (numeric) = 11.395570129988485962254217393476
absolute error = 1.32906626687729399e-13
relative error = 1.1663008096275226663397031235930e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.491
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.42
y[1] (analytic) = 11.625995209611029784984319265072
y[1] (numeric) = 11.625995209610891070092003095525
absolute error = 1.38714892316169547e-13
relative error = 1.1931442411183525915122518639453e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.491
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.43
y[1] (analytic) = 11.861070842332621432838178141149
y[1] (numeric) = 11.861070842332476792456592870356
absolute error = 1.44640381585270793e-13
bytes used=8001284, alloc=4259060, time=0.30
relative error = 1.2194546639839943165212944726703e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.492
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.44
y[1] (analytic) = 12.100891061540866010244950282342
y[1] (numeric) = 12.100891061540715324780180533986
absolute error = 1.50685464769748356e-13
relative error = 1.2452427181057593473753495043038e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.492
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.45
y[1] (analytic) = 12.345551798521092372822364749369
y[1] (numeric) = 12.345551798520935520262381271158
absolute error = 1.56852559983478211e-13
relative error = 1.2705188276984752584939996644336e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.492
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.46
y[1] (analytic) = 12.595150920830279266404615508802
y[1] (numeric) = 12.595150920830116122270468733919
absolute error = 1.63144134146774883e-13
relative error = 1.2952932058714889306979528881065e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.493
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.47
y[1] (analytic) = 12.849788271445383036699212794812
y[1] (numeric) = 12.849788271445213473995239602348
absolute error = 1.69562703973192464e-13
relative error = 1.3195758590823811167469559778958e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.493
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.48
y[1] (analytic) = 13.109565708701859669268006744677
y[1] (numeric) = 13.109565708701683558431030501084
absolute error = 1.76110836976243593e-13
relative error = 1.3433765914865116178413753102474e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.493
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.49
y[1] (analytic) = 13.374587147038357101169103149662
y[1] (numeric) = 13.374587147038174310016606710568
absolute error = 1.82791152496439094e-13
relative error = 1.3667050091853939271127735391099e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.493
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.5
y[1] (analytic) = 13.644958598563876224454135795397
y[1] (numeric) = 13.644958598563686618131386736289
absolute error = 1.89606322749059108e-13
relative error = 1.3895705243767838231370839861303e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.494
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.51
y[1] (analytic) = 13.920788215464028000158497450939
y[1] (numeric) = 13.920788215463831441084604376109
absolute error = 1.96559073893074830e-13
relative error = 1.4119823594092573190909826322647e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.494
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.52
y[1] (analytic) = 14.202186333263349751054426062802
y[1] (numeric) = 14.20218633326314609886730441435
absolute error = 2.03652187121648452e-13
relative error = 1.4339495507439498782125276532599e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.494
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.53
y[1] (analytic) = 14.489265514960986136522622425178
y[1] (numeric) = 14.489265514960775248022847777672
absolute error = 2.10888499774647506e-13
relative error = 1.4554809528260297420043156793961e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.494
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.54
y[1] (analytic) = 14.782140596057389670415940704382
y[1] (numeric) = 14.782140596057171399509467085734
absolute error = 2.18270906473618648e-13
relative error = 1.4765852418683844088928276710701e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.495
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.55
y[1] (analytic) = 15.08092873049005206248630900251
y[1] (numeric) = 15.080928730489826260126029327642
absolute error = 2.25802360279674868e-13
relative error = 1.4972709195499093176719624017206e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.495
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.56
y[1] (analytic) = 15.385749437496641288396035024796
y[1] (numeric) = 15.385749437496407802522160265484
absolute error = 2.33485873874759312e-13
relative error = 1.5175463166307025205266814840516e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.495
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.57
y[1] (analytic) = 15.696724649424290267991660256965
y[1] (numeric) = 15.696724649424048943470893498739
absolute error = 2.41324520766758226e-13
relative error = 1.5374195964863873702388955328295e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.495
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.58
y[1] (analytic) = 16.013978760504161504777354061055
y[1] (numeric) = 16.013978760503912183340835115958
absolute error = 2.49321436518945097e-13
relative error = 1.5568987585637075791336023187324e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.495
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.59
y[1] (analytic) = 16.337638676610798162779836669286
y[1] (numeric) = 16.337638676610540682959832421522
absolute error = 2.57479820004247764e-13
relative error = 1.5759916417594644814176291051128e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.496
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.6
y[1] (analytic) = 16.667833866026165984702437573441
y[1] (numeric) = 16.667833866025900181767752733196
absolute error = 2.65802934684840245e-13
relative error = 1.5947059277247956611646651313043e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.496
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.61
y[1] (analytic) = 17.004696411228692344998467958182
y[1] (numeric) = 17.004696411228418050888550387063
absolute error = 2.74294109917571119e-13
relative error = 1.6130491440967260858344263717153e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.496
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.62
y[1] (analytic) = 17.34836106172801874401486424096
y[1] (numeric) = 17.348361061727735787272578490304
absolute error = 2.82956742285750656e-13
relative error = 1.6310286676588582305111363860967e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.496
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.63
y[1] (analytic) = 17.698965287966601348676519676508
y[1] (numeric) = 17.698965287966309554379561847072
absolute error = 2.91794296957829436e-13
relative error = 1.6486517274330057629636946988668e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.496
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.64
y[1] (analytic) = 18.056649336309720938625167542866
y[1] (numeric) = 18.056649336309420128316094030944
absolute error = 3.00810309073511922e-13
relative error = 1.6659254077035159309274494583475e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.496
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.65
y[1] (analytic) = 18.421556285145898995001180149032
y[1] (numeric) = 18.421556285145588986616022289548
absolute error = 3.10008385157859484e-13
relative error = 1.6828566509759694445865627507289e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.497
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.66
y[1] (analytic) = 18.79383210212016084631931771278
y[1] (numeric) = 18.793832102119841454114753764269
absolute error = 3.19392204563948511e-13
relative error = 1.6994522608718920584754277668981e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.497
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.67
y[1] (analytic) = 19.173625702523039939817127561566
y[1] (numeric) = 19.173625702522710974296182900865
absolute error = 3.28965520944660701e-13
relative error = 1.7157189049610602744416742464444e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.497
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.68
y[1] (analytic) = 19.561089008858679618514970309081
y[1] (numeric) = 19.561089008858340886351216114823
absolute error = 3.38732163754194258e-13
relative error = 1.7316631175329337254473361105701e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.497
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.69
y[1] (analytic) = 19.956377011615860438950444005798
y[1] (numeric) = 19.956377011615511742910664109162
absolute error = 3.48696039779896636e-13
relative error = 1.7472913023086992035773918438833e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.497
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.7
y[1] (analytic) = 20.359647831266262250805468084986
y[1] (numeric) = 20.35964783126590338967076305342
absolute error = 3.58861134705031566e-13
relative error = 1.7626097350953653715309137934223e-12 %
Correct digits = 14
h = 0.01
bytes used=12002184, alloc=4324584, time=0.46
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.497
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.71
y[1] (analytic) = 20.771062781514761169912394324788
y[1] (numeric) = 20.771062781514391938397691219278
absolute error = 3.69231514703105510e-13
relative error = 1.7776245663833034898833527350983e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.497
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.72
y[1] (analytic) = 21.190786433827062406776884821715
y[1] (numeric) = 21.19078643382668259544882043044
absolute error = 3.79811328064391275e-13
relative error = 1.7923418238885872007583661930767e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.497
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.73
y[1] (analytic) = 21.618986683260480864128875501497
y[1] (numeric) = 21.618986683260090259322020202064
absolute error = 3.90604806855299433e-13
relative error = 1.8067674150414441495611198335189e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.497
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.74
y[1] (analytic) = 22.055834815624202693496090186858
y[1] (numeric) = 22.055834815623801077227478925542
absolute error = 4.01616268611261316e-13
relative error = 1.8209071294220933103777643459776e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.75
y[1] (analytic) = 22.501505575995892810904828402822
y[1] (numeric) = 22.501505575995479960786764602063
absolute error = 4.12850118063800759e-13
relative error = 1.8347666411452045689345163577731e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.76
y[1] (analytic) = 22.956177238622055928281254927904
y[1] (numeric) = 22.956177238621631617432352442473
absolute error = 4.24310848902485431e-13
relative error = 1.8483515111941812184449925287224e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.77
y[1] (analytic) = 23.420031678230112176982992178664
y[1] (numeric) = 23.420031678229676173937419716074
absolute error = 4.36003045572462590e-13
relative error = 1.8616671897064317331261486736038e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.78
y[1] (analytic) = 23.893254442780713104550780837854
y[1] (numeric) = 23.893254442780265173165672539592
absolute error = 4.47931385108298262e-13
relative error = 1.8747190182107636927969179343825e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.79
y[1] (analytic) = 24.376034827689399941122723184568
y[1] (numeric) = 24.376034827688939840483718331142
absolute error = 4.60100639004853426e-13
relative error = 1.8875122318180010770016713769925e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.8
y[1] (analytic) = 24.868565951547293788452980098309
y[1] (numeric) = 24.868565951546821272777854152721
absolute error = 4.72515675125945588e-13
relative error = 1.9000519613658953343242797009729e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.81
y[1] (analytic) = 25.371044833371107017233193288189
y[1] (numeric) = 25.371044833370621835773541728982
absolute error = 4.85181459651559207e-13
relative error = 1.9123432355193708827395666846305e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.82
y[1] (analytic) = 25.883672471413376907289446713916
y[1] (numeric) = 25.883672471412878804230382330008
absolute error = 4.98103059064383908e-13
relative error = 1.9243909828271173848722445246030e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.83
y[1] (analytic) = 26.406653923564446674927971994026
y[1] (numeric) = 26.406653923563935389285795518918
absolute error = 5.11285642176475108e-13
relative error = 1.9362000337355134704532084771012e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.84
y[1] (analytic) = 26.940198389378355751881243569099
y[1] (numeric) = 26.940198389377831017399046721335
absolute error = 5.24734482196847764e-13
relative error = 1.9477751225608401914062056080051e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.85
y[1] (analytic) = 27.484519293755450765659161595269
y[1] (numeric) = 27.484519293754912310700320764987
absolute error = 5.38454958840830282e-13
relative error = 1.9591208894207167396234315460184e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.86
y[1] (analytic) = 28.039834372315191381480486460772
y[1] (numeric) = 28.039834372314638928920004438391
absolute error = 5.52452560482022381e-13
relative error = 1.9702418821256664603853993629431e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.498
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.87
y[1] (analytic) = 28.606365758493301266440552887867
y[1] (numeric) = 28.606365758492734533554205170148
absolute error = 5.66732886347717719e-13
relative error = 1.9811425580316972386773775798275e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.88
y[1] (analytic) = 29.184340072398104197611760943208
y[1] (numeric) = 29.184340072397522895963002273754
absolute error = 5.81301648758669454e-13
relative error = 1.9918272858547572436121926598211e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.89
y[1] (analytic) = 29.773988511461589033287029055918
y[1] (numeric) = 29.773988511460992868611614961194
absolute error = 5.96164675414094724e-13
relative error = 2.0023003474479050294636972737825e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.9
y[1] (analytic) = 30.37554694292146518205168856778
y[1] (numeric) = 30.375546942920853854139965735749
absolute error = 6.11327911722832031e-13
relative error = 2.0125659395420111497437573629017e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.91
y[1] (analytic) = 30.98925599817120262498196286609
y[1] (numeric) = 30.989255998170575827558781282043
absolute error = 6.26797423181584047e-13
relative error = 2.0226281754507879052630990165778e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.92
y[1] (analytic) = 31.615361169015797764996217580394
y[1] (numeric) = 31.615361169015155185598416383217
absolute error = 6.42579397801197177e-13
relative error = 2.0324910867409236675880012941741e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.93
y[1] (analytic) = 32.254112905871768693126045926246
y[1] (numeric) = 32.254112905871110012977463977845
absolute error = 6.58680148581948401e-13
relative error = 2.0421586248680786697470225149645e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.94
y[1] (analytic) = 32.905766717950661179164425748703
y[1] (numeric) = 32.905766717949986073048386919144
absolute error = 6.75106116038829559e-13
relative error = 2.0516346627794804490915047574081e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.95
y[1] (analytic) = 33.570583275466140124885097931983
y[1] (numeric) = 33.570583275465448261014320092761
absolute error = 6.91863870777839222e-13
relative error = 2.0609229964838388199568883756997e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.96
y[1] (analytic) = 34.248828513905550679193843582272
y[1] (numeric) = 34.248828513904841719077719269569
absolute error = 7.08960116124312703e-13
relative error = 2.0700273465892826122413375780419e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.97
y[1] (analytic) = 34.940773740407659029963739328742
y[1] (numeric) = 34.940773740406932628272934987172
absolute error = 7.26401690804341570e-13
relative error = 2.0789513598100032717053980514909e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
bytes used=16004812, alloc=4390108, time=0.63
TOP MAIN SOLVE Loop
x[1] = 0.98
y[1] (analytic) = 35.646695742289125387259913802802
y[1] (numeric) = 35.646695742288381191688233447539
absolute error = 7.44195571680355263e-13
relative error = 2.0876986104422738400462288112710e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.99
y[1] (analytic) = 36.366876897763121194186028707541
y[1] (numeric) = 36.366876897762358845309486748444
absolute error = 7.62348876541959097e-13
relative error = 2.0962726018104957881109226724390e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1
y[1] (analytic) = 37.101605288894379488504735998032
y[1] (numeric) = 37.101605288893598619637782853028
absolute error = 7.80868866953145004e-13
relative error = 2.1046767676839104824733281515896e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.01
y[1] (analytic) = 37.851174816835861941264178551616
y[1] (numeric) = 37.851174816835062178313021537658
absolute error = 7.99762951157013958e-13
relative error = 2.1129144736645970477958316125652e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.02
y[1] (analytic) = 38.61588531939313877575536544168
y[1] (numeric) = 38.615885319392319737068326269693
absolute error = 8.19038687039171987e-13
relative error = 2.1209890185473635721995944380734e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.03
y[1] (analytic) = 39.396042690963508886313970834658
y[1] (numeric) = 39.396042690962670182528819849464
absolute error = 8.38703785150985194e-13
relative error = 2.1289036356521244755749110498188e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.04
y[1] (analytic) = 40.191959004897837404223668143028
y[1] (numeric) = 40.19195900489697863811187423992
absolute error = 8.58766111793903108e-13
relative error = 2.1366614941293428920418851656558e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.05
y[1] (analytic) = 41.003952638334057077260281684309
y[1] (numeric) = 41.003952638333177843568115600159
absolute error = 8.79233692166084150e-13
relative error = 2.1442657002391035653041584652562e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.06
y[1] (analytic) = 41.832348399552268527897451348295
y[1] (numeric) = 41.83234839955136841318387876639
absolute error = 9.00114713572581905e-13
relative error = 2.1517192986043686457037539262867e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.07
y[1] (analytic) = 42.677477657902383128367737049559
y[1] (numeric) = 42.677477657901461710839036673257
absolute error = 9.21417528700376302e-13
relative error = 2.1590252734389560463036515377984e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.08
y[1] (analytic) = 43.539678476356281282120857487109
y[1] (numeric) = 43.539678476355338131461897927328
absolute error = 9.43150658959559781e-13
relative error = 2.1661865497507677640008358388215e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.09
y[1] (analytic) = 44.419295746737508742377321922604
y[1] (numeric) = 44.419295746736543419579429907655
absolute error = 9.65322797892014949e-13
relative error = 2.1732059945207834696059370483116e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.1
y[1] (analytic) = 45.316681327682604649391535017172
y[1] (numeric) = 45.316681327681616706576886069922
absolute error = 9.87942814648947250e-13
relative error = 2.1800864178583230584654452466564e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.11
y[1] (analytic) = 46.232194185389247657148180432448
y[1] (numeric) = 46.232194185388236637390641768748
absolute error = 1.011019757538663700e-12
relative error = 2.1868305741330704553588925019971e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.12
y[1] (analytic) = 47.166200537207521284609532176605
y[1] (numeric) = 47.166200537206486721751886159745
absolute error = 1.034562857646016860e-12
relative error = 2.1934411630843399658193950277656e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.13
y[1] (analytic) = 48.119073998131736912229924821609
y[1] (numeric) = 48.119073998130678330697399859749
absolute error = 1.058581532524961860e-12
relative error = 2.1999208309080556472138676958526e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.499
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.14
y[1] (analytic) = 49.091195730251413106186338176748
y[1] (numeric) = 49.091195730250330020796372473203
absolute error = 1.083085389965703545e-12
relative error = 2.2062721713219037282617740654497e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.15
y[1] (analytic) = 50.08295459522119365476108222817
y[1] (numeric) = 50.082954595220085570529244287501
absolute error = 1.108084231837940669e-12
relative error = 2.2124977266091079433789292735064e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.16
y[1] (analytic) = 51.0947473098106943170504818603
y[1] (numeric) = 51.094747309809560728992470115841
absolute error = 1.133588058011744459e-12
relative error = 2.2185999886412676239936869619261e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.17
y[1] (analytic) = 52.12697860459650029672465498613
y[1] (numeric) = 52.126978604595340689654297346137
absolute error = 1.159607070357639993e-12
relative error = 2.2245813998806888499645414962336e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.18
y[1] (analytic) = 53.18006138585979335574939975987
y[1] (numeric) = 53.180061385858607204072572269456
absolute error = 1.186151676827490414e-12
relative error = 2.2304443543626293270731291687976e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.19
y[1] (analytic) = 54.25441690075436977757948981585
y[1] (numeric) = 54.254416900753156545083871999386
absolute error = 1.213232495617816464e-12
relative error = 2.2361911986578687447444163910978e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.2
y[1] (analytic) = 55.350474905811118589278257773895
y[1] (numeric) = 55.350474905809877728918840557213
absolute error = 1.240860359417216682e-12
relative error = 2.2418242328160071798550807346352e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.21
y[1] (analytic) = 56.46867383884636408060864770513
y[1] (numeric) = 56.468673838845095034288908117883
absolute error = 1.269046319739587247e-12
relative error = 2.2473457112898853839248249556868e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.22
y[1] (analytic) = 57.609460994342838249245168268595
y[1] (numeric) = 57.609460994341540447593823393667
absolute error = 1.297801651344874928e-12
relative error = 2.2527578438415125652346084447812e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.23
y[1] (analytic) = 58.77329270237343789952897629822
y[1] (numeric) = 58.773292702372110761672227166848
absolute error = 1.327137856749131372e-12
relative error = 2.2580627964298785216680048746274e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.24
y[1] (analytic) = 59.960634511139338283287496418885
y[1] (numeric) = 59.960634511137981216616670745981
absolute error = 1.357066670825672904e-12
relative error = 2.2632626920810192835595424034083e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
bytes used=20006460, alloc=4455632, time=0.78
TOP MAIN SOLVE Loop
x[1] = 1.25
y[1] (analytic) = 61.17196137319548096204887120229
y[1] (numeric) = 61.171961373194093361983372015974
absolute error = 1.387600065499186316e-12
relative error = 2.2683596117406972665392244679422e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.26
y[1] (analytic) = 62.40775783543792856883573946211
y[1] (numeric) = 62.407757835436509818581204803745
absolute error = 1.418750254534658365e-12
relative error = 2.2733555951100493360286532926619e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.27
y[1] (analytic) = 63.668518232929083944641566128025
y[1] (numeric) = 63.668518232927633414943143083385
absolute error = 1.450529698423044640e-12
relative error = 2.2782526414645486679806613134927e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.28
y[1] (analytic) = 64.954746886638306321614827446375
y[1] (numeric) = 64.954746886636823370505461814323
absolute error = 1.482951109365632052e-12
relative error = 2.2830527104566187782147810488147e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.29
y[1] (analytic) = 66.26695830517702343600102842919
y[1] (numeric) = 66.2669583051755074085446693403
absolute error = 1.516027456359088890e-12
relative error = 2.2877577229022312565181191069018e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.3
y[1] (analytic) = 67.60567739060903630552508847376
y[1] (numeric) = 67.605677390607486533554705237386
absolute error = 1.549771970383236374e-12
relative error = 2.2923695615518112791937268681229e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.31
y[1] (analytic) = 68.971439648418343537299033898855
y[1] (numeric) = 68.971439648416759339149340281839
absolute error = 1.584198149693617016e-12
relative error = 2.2968900718457685930911048663465e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.32
y[1] (analytic) = 70.364791401718475095586479126475
y[1] (numeric) = 70.364791401716855775821258149668
absolute error = 1.619319765220976807e-12
relative error = 2.3013210626549646499325631754011e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.33
y[1] (analytic) = 71.78629000978902211909353446987
y[1] (numeric) = 71.786290009787366968227454648719
absolute error = 1.655150866079821151e-12
relative error = 2.3056643070064202537770051408439e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.34
y[1] (analytic) = 73.236504091026780313572305670875
y[1] (numeric) = 73.236504091025088607787117422915
absolute error = 1.691705785188247960e-12
relative error = 2.3099215427945615096871833227911e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.35
y[1] (analytic) = 74.71601375040069034981557452982
y[1] (numeric) = 74.716013750398961350670573223791
absolute error = 1.728999145001306029e-12
relative error = 2.3140944734782959105057407302531e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.36
y[1] (analytic) = 76.225410811501560275974833862755
y[1] (numeric) = 76.22541081149979323011147369075
absolute error = 1.767045863360172005e-12
relative error = 2.3181847687642040054602332868777e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.37
y[1] (analytic) = 77.765299053279392927204156409625
y[1] (numeric) = 77.765299053277587066044696923845
absolute error = 1.805861159459485780e-12
relative error = 2.3221940652761264113821729583092e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.38
y[1] (analytic) = 79.33629445156301642013354097275
y[1] (numeric) = 79.33629445156117095957360574149
absolute error = 1.845460559935231260e-12
relative error = 2.3261239672114199183395611212442e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.39
y[1] (analytic) = 80.939025425458628804674202180305
y[1] (numeric) = 80.93902542545674294476912658252
absolute error = 1.885859905075597785e-12
relative error = 2.3299760469841509012789319254922e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.4
y[1] (analytic) = 82.574133088725819576374259180055
y[1] (numeric) = 82.574133088723892501019101873426
absolute error = 1.927075355157306629e-12
relative error = 2.3337518458554886393853571984861e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.41
y[1] (analytic) = 84.242271506231621809654741759865
y[1] (numeric) = 84.242271506229652686257831822734
absolute error = 1.969123396909937131e-12
relative error = 2.3374528745515556378118835124697e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.42
y[1] (analytic) = 85.944107955585179952212162231155
y[1] (numeric) = 85.944107955583167931362051392784
absolute error = 2.012020850110838371e-12
relative error = 2.3410806138689869383757608960194e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.43
y[1] (analytic) = 87.68032319405769063621416452477
y[1] (numeric) = 87.680323194055634851339851260385
absolute error = 2.055784874313264385e-12
relative error = 2.3446365152684450189088020132267e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.44
y[1] (analytic) = 89.451611730894388041592725681025
y[1] (numeric) = 89.451611730892287608617015256778
absolute error = 2.100432975710424247e-12
relative error = 2.3481220014563318641469120009174e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.45
y[1] (analytic) = 91.258682105127502236455109890555
y[1] (numeric) = 91.258682105125356253440971697784
absolute error = 2.145983014138192771e-12
relative error = 2.3515384669549348921791886233560e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.46
y[1] (analytic) = 93.10225716900131938217090666289
y[1] (numeric) = 93.102257168999126928960687379875
absolute error = 2.192453210219283015e-12
relative error = 2.3548872786612385176651596101060e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.47
y[1] (analytic) = 94.98307437712271760626837770973
y[1] (numeric) = 94.983074377120477744115725971442
absolute error = 2.239862152651738288e-12
relative error = 2.3581697763946283118726136629626e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.48
y[1] (analytic) = 96.901886081452842612881154293915
y[1] (numeric) = 96.901886081450554384075509634684
absolute error = 2.288228805644659231e-12
relative error = 2.3613872734337102290139476270393e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.49
y[1] (analytic) = 98.85945983225792363426424853477
y[1] (numeric) = 98.859459832255586061747744394451
absolute error = 2.337572516504140319e-12
relative error = 2.3645410570424626885513466480391e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.5
y[1] (analytic) = 100.85657868513961406249103384399
y[1] (numeric) = 100.85657868513722614946766139373
absolute error = 2.38791302337245026e-12
relative error = 2.3676323889859349061825487594742e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.51
y[1] (analytic) = 102.89404151426767299137633193511
y[1] (numeric) = 102.89404151426523372091320838302
absolute error = 2.43927046312355209e-12
relative error = 2.3706625060357005375375978885077e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
bytes used=24008200, alloc=4455632, time=0.94
x[1] = 1.52
y[1] (analytic) = 104.97266333194028491773381574144
y[1] (numeric) = 104.97266333193779325235439762021
absolute error = 2.49166537941812123e-12
relative error = 2.3736326204652713694872224736015e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.53
y[1] (analytic) = 107.09327561459984599070930501645
y[1] (numeric) = 107.09327561459730087197838373272
absolute error = 2.54511873092128373e-12
relative error = 2.3765439205356717818987198777814e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.54
y[1] (analytic) = 109.25672663543462747062479670177
y[1] (numeric) = 109.25672663543202781872511034008
absolute error = 2.59965189968636169e-12
relative error = 2.3793975709713703107422217722647e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.55
y[1] (analytic) = 111.46388180369936149746474340008
y[1] (numeric) = 111.46388180369670621076503542031
absolute error = 2.65528669970797977e-12
relative error = 2.3821947134267611483604815708793e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.56
y[1] (analytic) = 113.71562401089048192764677546776
y[1] (numeric) = 113.71562401088776988226112751394
absolute error = 2.71204538564795382e-12
relative error = 2.3849364669433839144932918465804e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.57
y[1] (analytic) = 116.01285398391449495114299554463
y[1] (numeric) = 116.01285398391172500048125809221
absolute error = 2.76995066173745242e-12
relative error = 2.3876239283980668103813642803427e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.58
y[1] (analytic) = 118.35649064539075154617308820316
y[1] (numeric) = 118.35649064538792252048222921115
absolute error = 2.82902569085899201e-12
relative error = 2.3902581729421739557794235296113e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.59
y[1] (analytic) = 120.74747148123274768455214230758
y[1] (numeric) = 120.74747148122985839044833040884
absolute error = 2.88929410381189874e-12
relative error = 2.3928402544321345131064572011859e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.6
y[1] (analytic) = 123.18675291565498970892467620323
y[1] (numeric) = 123.18675291565203892891591125988
absolute error = 2.95078000876494335e-12
relative error = 2.3953712058514274177555776100498e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.61
y[1] (analytic) = 125.67531069375543262819396607256
y[1] (numeric) = 125.6753106937524191201930661425
absolute error = 3.01350800089993006e-12
relative error = 2.3978520397241918623693542572646e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.62
y[1] (analytic) = 128.21414027182652940763204160321
y[1] (numeric) = 128.214140271823451904459791506
absolute error = 3.07750317225009721e-12
relative error = 2.4002837485206305641959267831679e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.63
y[1] (analytic) = 130.80425721555102087760310596122
y[1] (numeric) = 130.80425721554787808648136869598
absolute error = 3.14279112173726524e-12
relative error = 2.4026673050543693969095457767263e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.64
y[1] (analytic) = 133.44669760624174988621185908836
y[1] (numeric) = 133.44669760623854048824644734178
absolute error = 3.20939796541174658e-12
relative error = 2.4050036628719332703886259842030e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.65
y[1] (analytic) = 136.14251845528800103814085994922
y[1] (numeric) = 136.14251845528472368779396083508
absolute error = 3.27735034689911414e-12
relative error = 2.4072937566344957100784907363537e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.66
y[1] (analytic) = 138.89279812697415008159733906593
y[1] (numeric) = 138.89279812697080340614928105925
absolute error = 3.34667544805800668e-12
relative error = 2.4095385024920555244137744122233e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.67
y[1] (analytic) = 141.69863676983975604078140018869
y[1] (numeric) = 141.69863676983633863978154695391
absolute error = 3.41740099985323478e-12
relative error = 2.4117387984501916431081044578738e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.68
y[1] (analytic) = 144.56115675675364588227318026837
y[1] (numeric) = 144.56115675675015632697973173192
absolute error = 3.48955529344853645e-12
relative error = 2.4138955247295435703489738454594e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.69
y[1] (analytic) = 147.48150313387802721693822076558
y[1] (numeric) = 147.48150313387446404974669734569
absolute error = 3.56316719152341989e-12
relative error = 2.4160095441181623806489560508442e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.7
y[1] (analytic) = 150.4608440787022206686997982157
y[1] (numeric) = 150.46084407869858240255997959559
absolute error = 3.63826613981862011e-12
relative error = 2.4180817023168739587112254240769e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.71
y[1] (analytic) = 153.50037136732923151032358336648
y[1] (numeric) = 153.50037136732551662814466857862
absolute error = 3.71488217891478786e-12
relative error = 2.4201128282777935476158711766214e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.72
y[1] (analytic) = 156.60130085120208142543963832404
y[1] (numeric) = 156.60130085119828837948338920163
absolute error = 3.79304595624912241e-12
relative error = 2.4221037345361277379850458645040e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.73
y[1] (analytic) = 159.76487294346059728594240261961
y[1] (numeric) = 159.76487294345672449720402786452
absolute error = 3.87278873837475509e-12
relative error = 2.4240552175353974283530168047775e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.74
y[1] (analytic) = 162.99235311512320614512327593684
y[1] (numeric) = 162.99235311511925200269980814941
absolute error = 3.95414242346778743e-12
relative error = 2.4259680579462124960155266303453e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.75
y[1] (analytic) = 166.28503240129221578037852783482
y[1] (numeric) = 166.28503240128817864082444084793
absolute error = 4.03713955408698689e-12
relative error = 2.4278430209787263567085152313176e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.76
y[1] (analytic) = 169.6442279175850696472033508929
y[1] (numeric) = 169.64422791758094783387315964857
absolute error = 4.12181333019124433e-12
relative error = 2.4296808566888960795267297087820e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.77
y[1] (analytic) = 173.0712833869981556322955316083
y[1] (numeric) = 173.07128338699394743467311160811
absolute error = 4.20819762242000019e-12
relative error = 2.4314823002786710337126404179392e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.78
y[1] (analytic) = 176.56756967741392115421442923592
y[1] (numeric) = 176.56756967740962482722878728404
absolute error = 4.29632698564195188e-12
relative error = 2.4332480723902307911437572944288e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.79
y[1] (analytic) = 180.13448534996630462449261834033
y[1] (numeric) = 180.1344853499619183878198408783
absolute error = 4.38623667277746203e-12
relative error = 2.4349788793943904896369901965889e-12 %
Correct digits = 14
h = 0.01
bytes used=28008900, alloc=4455632, time=1.10
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.8
y[1] (analytic) = 183.77345721848383675342121374912
y[1] (numeric) = 183.77345721847935879077231355246
absolute error = 4.47796264890019666e-12
relative error = 2.4366754136732894603921496686694e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.81
y[1] (analytic) = 187.48594092023419640037200004334
y[1] (numeric) = 187.48594092022962485876637640917
absolute error = 4.57154160562363417e-12
relative error = 2.4383383538974766926466574815223e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.82
y[1] (analytic) = 191.27342149819852640102537219792
y[1] (numeric) = 191.2734214981938593900495939979
absolute error = 4.66701097577820002e-12
relative error = 2.4399683652975044449258034246950e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.83
y[1] (analytic) = 195.13741399510842686159603908464
y[1] (numeric) = 195.13741399510366245264765418672
absolute error = 4.76440894838489792e-12
relative error = 2.4415660999301389284069122107739e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.84
y[1] (analytic) = 199.07946405948324863797303137324
y[1] (numeric) = 199.07946405947838486348909994571
absolute error = 4.86377448393142753e-12
relative error = 2.4431321969392951202341122120512e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.85
y[1] (analytic) = 203.10114856391010999777065695476
y[1] (numeric) = 203.10114856390514485044070005587
absolute error = 4.96514732995689889e-12
relative error = 2.4446672828118002200639783218289e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.86
y[1] (analytic) = 207.20407623581395671579869699642
y[1] (numeric) = 207.20407623580888814776174561822
absolute error = 5.06856803695137820e-12
relative error = 2.4461719716280886702397395890583e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.87
y[1] (analytic) = 211.389888300969982037369636346
y[1] (numeric) = 211.38988830096480795939505972163
absolute error = 5.17407797457662437e-12
relative error = 2.4476468653079290335517302561543e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.88
y[1] (analytic) = 215.66025914001582005770825371431
y[1] (numeric) = 215.66025914001053833836003920887
absolute error = 5.28171934821450544e-12
relative error = 2.4490925538512816201119641215010e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.89
y[1] (analytic) = 220.01689695822612614842796130944
y[1] (numeric) = 220.01689695822073461321211159544
absolute error = 5.39153521584971400e-12
relative error = 2.4505096155743832690862310357083e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.9
y[1] (analytic) = 224.46154446881746319369129536556
y[1] (numeric) = 224.46154446881195962418600183033
absolute error = 5.50356950529353523e-12
relative error = 2.4518986173411541409070985044554e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.91
y[1] (analytic) = 228.99597959005682470140231553642
y[1] (numeric) = 228.99597959005120683437055997931
absolute error = 5.61786703175555711e-12
relative error = 2.4532601147900192496410755296758e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.92
y[1] (analytic) = 233.62201615645264749357962955188
y[1] (numeric) = 233.6220161564469130200638592001
absolute error = 5.73447351577035178e-12
relative error = 2.4545946525562357362929086417619e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.93
y[1] (analytic) = 238.34150464431279986365946308
y[1] (numeric) = 238.34150464430694642805797678098
absolute error = 5.85343560148629902e-12
relative error = 2.4559027644898150664462777938569e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.94
y[1] (analytic) = 243.15633291195977807022719379462
y[1] (numeric) = 243.15633291195380326935186992714
absolute error = 5.97480087532386748e-12
relative error = 2.4571849738691274737308239320439e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.95
y[1] (analytic) = 248.06842695489920711544239026468
y[1] (numeric) = 248.06842695489310849755737944725
absolute error = 6.09861788501081743e-12
relative error = 2.4584417936102743826902135781510e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.96
y[1] (analytic) = 253.07975167624372327751632252987
y[1] (numeric) = 253.07975167623749834135732059074
absolute error = 6.22493615900193913e-12
relative error = 2.4596737264723126512104084895023e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.97
y[1] (analytic) = 258.19231167270041822271033435737
y[1] (numeric) = 258.19231167269406441648404326225
absolute error = 6.35380622629109512e-12
relative error = 2.4608812652584129651491946672573e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.98
y[1] (analytic) = 263.40815203643625015447219678791
y[1] (numeric) = 263.40815203642976487483557329637
absolute error = 6.48527963662349154e-12
relative error = 2.4620648930130330273970917297100e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.99
y[1] (analytic) = 268.72935917314217885585146770334
y[1] (numeric) = 268.7293591731355594468703514398
absolute error = 6.61940898111626354e-12
relative error = 2.4632250832151845235478603071711e-12 %
Correct digits = 14
h = 0.01
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 9.5
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
Finished!
diff ( y , x , 1 ) = cosh (2.0 * x + 3.0) ;
Iterations = 190
Total Elapsed Time = 1 Seconds
Elapsed Time(since restart) = 1 Seconds
Time to Timeout = 2 Minutes 58 Seconds
Percent Done = 100.5 %
> quit
bytes used=31004684, alloc=4455632, time=1.21