(%i1) batch(diffeq.max) read and interpret file: /home/dennis/mastersource/mine/omnisode/diffeq.max (%i2) load(stringproc) (%o2) /usr/share/maxima/5.27.0/share/stringproc/stringproc.mac (%i3) check_sign(x0, xf) := block([ret], if xf > x0 then ret : 1.0 else ret : - 1.0, ret) (%o3) check_sign(x0, xf) := block([ret], if xf > x0 then ret : 1.0 else ret : - 1.0, ret) (%i4) est_size_answer() := block([min_size], min_size : glob_large_float, if omniabs(array_y ) < min_size then (min_size : omniabs(array_y ), 1 1 omniout_float(ALWAYS, "min_size", 32, min_size, 32, "")), if min_size < 1.0 then (min_size : 1.0, omniout_float(ALWAYS, "min_size", 32, min_size, 32, "")), min_size) (%o4) est_size_answer() := block([min_size], min_size : glob_large_float, if omniabs(array_y ) < min_size then (min_size : omniabs(array_y ), 1 1 omniout_float(ALWAYS, "min_size", 32, min_size, 32, "")), if min_size < 1.0 then (min_size : 1.0, omniout_float(ALWAYS, "min_size", 32, min_size, 32, "")), min_size) (%i5) test_suggested_h() := block([max_value3, hn_div_ho, hn_div_ho_2, hn_div_ho_3, value3, no_terms], max_value3 : 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, ""), value3 : omniabs(array_y hn_div_ho_3 + array_y hn_div_ho_2 no_terms no_terms - 1 + array_y hn_div_ho + array_y ), no_terms - 2 no_terms - 3 if value3 > max_value3 then (max_value3 : value3, omniout_float(ALWAYS, "value3", 32, value3, 32, "")), omniout_float(ALWAYS, "max_value3", 32, max_value3, 32, ""), max_value3) (%o5) test_suggested_h() := block([max_value3, hn_div_ho, hn_div_ho_2, hn_div_ho_3, value3, no_terms], max_value3 : 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, ""), value3 : omniabs(array_y hn_div_ho_3 + array_y hn_div_ho_2 no_terms no_terms - 1 + array_y hn_div_ho + array_y ), no_terms - 2 no_terms - 3 if value3 > max_value3 then (max_value3 : value3, omniout_float(ALWAYS, "value3", 32, value3, 32, "")), omniout_float(ALWAYS, "max_value3", 32, max_value3, 32, ""), max_value3) (%i6) reached_interval() := block([ret], if glob_check_sign array_x >= glob_check_sign glob_next_display 1 then ret : true else ret : false, return(ret)) (%o6) reached_interval() := block([ret], if glob_check_sign array_x >= glob_check_sign glob_next_display 1 then ret : true else ret : false, return(ret)) (%i7) display_alot(iter) := block([abserr, analytic_val_y, ind_var, numeric_val, relerr, term_no], if reached_interval() then (if iter >= 0 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.0 abserr 100.0 then (relerr : -----------------------, omniabs(analytic_val_y) if relerr > 1.0E-34 then glob_good_digits : 2 - floor(log10(relerr)) else glob_good_digits : 16) else (relerr : - 1.0, glob_good_digits : - 1), if glob_iter = 1 then array_1st_rel_error : relerr 1 else array_last_rel_error : relerr, omniout_float(ALWAYS, 1 "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, " ")))) (%o7) display_alot(iter) := block([abserr, analytic_val_y, ind_var, numeric_val, relerr, term_no], if reached_interval() then (if iter >= 0 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.0 abserr 100.0 then (relerr : -----------------------, omniabs(analytic_val_y) if relerr > 1.0E-34 then glob_good_digits : 2 - floor(log10(relerr)) else glob_good_digits : 16) else (relerr : - 1.0, glob_good_digits : - 1), if glob_iter = 1 then array_1st_rel_error : relerr 1 else array_last_rel_error : relerr, omniout_float(ALWAYS, 1 "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, " ")))) (%i8) adjust_for_pole(h_param) := block([hnew, sz2, tmp], block(hnew : h_param, glob_normmax : glob_small_float, if omniabs(array_y_higher ) > glob_small_float 1, 1 then (tmp : omniabs(array_y_higher ), 1, 1 if tmp < glob_normmax then glob_normmax : tmp), if glob_look_poles and (omniabs(array_pole ) > glob_small_float) 1 array_pole 1 and (array_pole # glob_large_float) then (sz2 : -----------, 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))), 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 ), hnew : sz2), return(hnew)) 1 (%o8) adjust_for_pole(h_param) := block([hnew, sz2, tmp], block(hnew : h_param, glob_normmax : glob_small_float, if omniabs(array_y_higher ) > glob_small_float 1, 1 then (tmp : omniabs(array_y_higher ), 1, 1 if tmp < glob_normmax then glob_normmax : tmp), if glob_look_poles and (omniabs(array_pole ) > glob_small_float) 1 array_pole 1 and (array_pole # glob_large_float) then (sz2 : -----------, 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))), 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 ), hnew : sz2), return(hnew)) 1 (%i9) prog_report(x_start, x_end) := block([clock_sec, opt_clock_sec, clock_sec1, expect_sec, left_sec, percent_done, total_clock_sec], 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(clock_sec1) + convfloat(glob_orig_start_sec) + convfloat(glob_max_sec), expect_sec : comp_expect_sec(convfloat(x_end), convfloat(x_start), convfloat(glob_h) + convfloat(array_x ), 1 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(glob_h) + convfloat(array_x ), 1 convfloat(opt_clock_sec)), glob_total_exp_sec : total_clock_sec + glob_optimal_expect_sec, percent_done : comp_percent(convfloat(x_end), convfloat(x_start), convfloat(glob_h) + convfloat(array_x )), glob_percent_done : percent_done, 1 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))), omniout_str_noeol(INFO, "Time to Timeout "), omniout_timestr(convfloat(left_sec)), omniout_float(INFO, "Percent Done ", 33, percent_done, 4, "%")) (%o9) prog_report(x_start, x_end) := block([clock_sec, opt_clock_sec, clock_sec1, expect_sec, left_sec, percent_done, total_clock_sec], 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(clock_sec1) + convfloat(glob_orig_start_sec) + convfloat(glob_max_sec), expect_sec : comp_expect_sec(convfloat(x_end), convfloat(x_start), convfloat(glob_h) + convfloat(array_x ), 1 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(glob_h) + convfloat(array_x ), 1 convfloat(opt_clock_sec)), glob_total_exp_sec : total_clock_sec + glob_optimal_expect_sec, percent_done : comp_percent(convfloat(x_end), convfloat(x_start), convfloat(glob_h) + convfloat(array_x )), glob_percent_done : percent_done, 1 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))), omniout_str_noeol(INFO, "Time to Timeout "), omniout_timestr(convfloat(left_sec)), omniout_float(INFO, "Percent Done ", 33, percent_done, 4, "%")) (%i10) check_for_pole() := block([cnt, dr1, dr2, ds1, ds2, hdrc, hdrc_BBB, m, n, nr1, nr2, ord_no, rad_c, rcs, rm0, rm1, rm2, rm3, rm4, found_sing, h_new, ratio, term], n : glob_max_terms, m : - 1 - 1 + n, while (m >= 10) and ((omniabs(array_y_higher ) < glob_small_float glob_small_float) 1, m or (omniabs(array_y_higher ) < glob_small_float glob_small_float) 1, m - 1 or (omniabs(array_y_higher ) < glob_small_float glob_small_float)) do m 1, m - 2 array_y_higher 1, m : m - 1, if m > 10 then (rm0 : ----------------------, array_y_higher 1, m - 1 array_y_higher 1, m - 1 rm1 : ----------------------, hdrc : convfloat(m) rm0 - convfloat(m - 1) rm1, array_y_higher 1, m - 2 if omniabs(hdrc) > glob_small_float glob_small_float glob_h then (rcs : ------, ord_no : hdrc rm1 convfloat((m - 2) (m - 2)) - rm0 convfloat(m - 3) -----------------------------------------------------, hdrc array_real_pole : rcs, array_real_pole : ord_no) 1, 1 1, 2 else (array_real_pole : glob_large_float, 1, 1 array_real_pole : glob_large_float)) 1, 2 else (array_real_pole : glob_large_float, 1, 1 array_real_pole : glob_large_float), n : - 1 - 1 + glob_max_terms, 1, 2 cnt : 0, while (cnt < 5) and (n >= 10) do (if omniabs(array_y_higher ) > 1, n glob_small_float then cnt : 1 + cnt else cnt : 0, n : n - 1), m : cnt + n, if m <= 10 then (rad_c : glob_large_float, ord_no : glob_large_float) elseif ((omniabs(array_y_higher ) >= glob_large_float) 1, m or (omniabs(array_y_higher ) >= glob_large_float) 1, m - 1 or (omniabs(array_y_higher ) >= glob_large_float) 1, m - 2 or (omniabs(array_y_higher ) >= glob_large_float) 1, m - 3 or (omniabs(array_y_higher ) >= glob_large_float) 1, m - 4 or (omniabs(array_y_higher ) >= glob_large_float)) 1, m - 5 or ((omniabs(array_y_higher ) <= glob_small_float) or (omniabs(array_y_higher ) <= glob_small_float) or (omniabs(array_y_higher ) <= glob_small_float) or (omniabs(array_y_higher ) <= glob_small_float) or (omniabs(array_y_higher ) <= glob_small_float) or (omniabs(array_y_higher ) <= glob_small_float)) 1, m 1, m - 1 1, m - 2 1, m - 3 1, m - 4 1, m - 5 then (rad_c : glob_large_float, ord_no : glob_large_float) array_y_higher array_y_higher 1, m 1, m - 1 else (rm0 : ----------------------, rm1 : ----------------------, array_y_higher array_y_higher 1, m - 1 1, m - 2 array_y_higher array_y_higher 1, m - 2 1, m - 3 rm2 : ----------------------, rm3 : ----------------------, array_y_higher array_y_higher 1, m - 3 1, m - 4 array_y_higher 1, m - 4 rm4 : ----------------------, nr1 : convfloat(m - 3) rm2 array_y_higher 1, m - 5 - 2.0 convfloat(m - 2) rm1 + convfloat(m - 1) rm0, nr2 : convfloat(m - 4) rm3 - 2.0 convfloat(m - 3) rm2 + convfloat(m - 2) rm1, - 1.0 2.0 - 1.0 - 1.0 2.0 - 1.0 5.0 8.0 3.0 dr1 : ----- + --- + -----, dr2 : ----- + --- + -----, ds1 : --- - --- + ---, rm3 rm2 rm1 rm4 rm3 rm2 rm3 rm2 rm1 5.0 8.0 3.0 ds2 : --- - --- + ---, if (omniabs(nr1 dr2 - nr2 dr1) <= glob_small_float) rm4 rm3 rm2 or (omniabs(dr1) <= glob_small_float) then (rad_c : glob_large_float, ord_no : glob_large_float) else (if omniabs(nr1 dr2 - nr2 dr1) > dr1 dr2 - ds2 dr1 + ds1 dr2 glob_small_float then (rcs : ---------------------------, nr1 dr2 - nr2 dr1 rcs nr1 - ds1 convfloat(m) ord_no : ------------- - ------------, 2.0 dr1 2.0 if omniabs(rcs) > glob_small_float then (if rcs > 0.0 then rad_c : sqrt(rcs) omniabs(glob_h) else rad_c : glob_large_float) else (rad_c : glob_large_float, ord_no : glob_large_float)) else (rad_c : glob_large_float, ord_no : glob_large_float)), array_complex_pole : rad_c, array_complex_pole : ord_no), 1, 1 1, 2 found_sing : 0, if (1 # found_sing) and ((array_real_pole = glob_large_float) 1, 1 or (array_real_pole = glob_large_float)) 1, 2 and ((array_complex_pole # glob_large_float) and (array_complex_pole # glob_large_float)) 1, 1 1, 2 and ((array_complex_pole > 0.0) and (array_complex_pole > 0.0)) 1, 1 1, 2 then (array_poles : array_complex_pole , 1, 1 1, 1 array_poles : array_complex_pole , found_sing : 1, 1, 2 1, 2 array_type_pole : 2, if glob_display_flag 1 then (if reached_interval() then omniout_str(ALWAYS, "Complex estimate of poles used for equation 1"))), if (1 # found_sing) and ((array_real_pole # glob_large_float) 1, 1 and (array_real_pole # glob_large_float) and (array_real_pole > 0.0) 1, 2 1, 1 and (array_real_pole > - 1.0 glob_smallish_float) 1, 2 and ((array_complex_pole = glob_large_float) or (array_complex_pole = glob_large_float) or (array_complex_pole <= 0.0) or (array_complex_pole <= 0.0))) 1, 1 1, 2 1, 1 1, 2 then (array_poles : array_real_pole , 1, 1 1, 1 array_poles : array_real_pole , found_sing : 1, array_type_pole : 1, 1, 2 1, 2 1 if glob_display_flag then (if reached_interval() then omniout_str(ALWAYS, "Real estimate of pole used for equation 1"))), if (1 # found_sing) and (((array_real_pole = glob_large_float) 1, 1 or (array_real_pole = glob_large_float)) 1, 2 and ((array_complex_pole = glob_large_float) or (array_complex_pole = glob_large_float))) 1, 1 1, 2 then (array_poles : glob_large_float, array_poles : glob_large_float, 1, 1 1, 2 found_sing : 1, array_type_pole : 3, if reached_interval() 1 then omniout_str(ALWAYS, "NO POLE for equation 1")), if (1 # found_sing) and ((array_real_pole < array_complex_pole ) 1, 1 1, 1 and (array_real_pole > 0.0) and (array_real_pole > - 1.0 1, 1 1, 2 glob_smallish_float)) then (array_poles : array_real_pole , 1, 1 1, 1 array_poles : array_real_pole , found_sing : 1, array_type_pole : 1, 1, 2 1, 2 1 if glob_display_flag then (if reached_interval() then omniout_str(ALWAYS, "Real estimate of pole used for equation 1"))), if (1 # found_sing) and ((array_complex_pole # glob_large_float) 1, 1 and (array_complex_pole # glob_large_float) 1, 2 and (array_complex_pole > 0.0) and (array_complex_pole > 1, 1 1, 2 0.0)) then (array_poles : array_complex_pole , 1, 1 1, 1 array_poles : array_complex_pole , array_type_pole : 2, 1, 2 1, 2 1 found_sing : 1, if glob_display_flag then (if reached_interval() then omniout_str(ALWAYS, "Complex estimate of poles used for equation 1"))), if 1 # found_sing then (array_poles : glob_large_float, 1, 1 array_poles : glob_large_float, array_type_pole : 3, 1, 2 1 if reached_interval() then omniout_str(ALWAYS, "NO POLE for equation 1")), array_pole : glob_large_float, array_pole : glob_large_float, 1 2 if array_pole > array_poles then (array_pole : array_poles , 1 1, 1 1 1, 1 array_pole : array_poles ), if array_pole glob_ratio_of_radius < 2 1, 2 1 omniabs(glob_h) then (h_new : array_pole glob_ratio_of_radius, term : 1, 1 ratio : 1.0, while term <= glob_max_terms do (array_y : term array_y ratio, array_y_higher : array_y_higher ratio, term 1, term 1, term ratio h_new array_x : array_x ratio, ratio : ---------------, term : 1 + term), term term omniabs(glob_h) glob_h : h_new), if reached_interval() then display_pole()) (%o10) check_for_pole() := block([cnt, dr1, dr2, ds1, ds2, hdrc, hdrc_BBB, m, n, nr1, nr2, ord_no, rad_c, rcs, rm0, rm1, rm2, rm3, rm4, found_sing, h_new, ratio, term], n : glob_max_terms, m : - 1 - 1 + n, while (m >= 10) and ((omniabs(array_y_higher ) < glob_small_float glob_small_float) 1, m or (omniabs(array_y_higher ) < glob_small_float glob_small_float) 1, m - 1 or (omniabs(array_y_higher ) < glob_small_float glob_small_float)) do m 1, m - 2 array_y_higher 1, m : m - 1, if m > 10 then (rm0 : ----------------------, array_y_higher 1, m - 1 array_y_higher 1, m - 1 rm1 : ----------------------, hdrc : convfloat(m) rm0 - convfloat(m - 1) rm1, array_y_higher 1, m - 2 if omniabs(hdrc) > glob_small_float glob_small_float glob_h then (rcs : ------, ord_no : hdrc rm1 convfloat((m - 2) (m - 2)) - rm0 convfloat(m - 3) -----------------------------------------------------, hdrc array_real_pole : rcs, array_real_pole : ord_no) 1, 1 1, 2 else (array_real_pole : glob_large_float, 1, 1 array_real_pole : glob_large_float)) 1, 2 else (array_real_pole : glob_large_float, 1, 1 array_real_pole : glob_large_float), n : - 1 - 1 + glob_max_terms, 1, 2 cnt : 0, while (cnt < 5) and (n >= 10) do (if omniabs(array_y_higher ) > 1, n glob_small_float then cnt : 1 + cnt else cnt : 0, n : n - 1), m : cnt + n, if m <= 10 then (rad_c : glob_large_float, ord_no : glob_large_float) elseif ((omniabs(array_y_higher ) >= glob_large_float) 1, m or (omniabs(array_y_higher ) >= glob_large_float) 1, m - 1 or (omniabs(array_y_higher ) >= glob_large_float) 1, m - 2 or (omniabs(array_y_higher ) >= glob_large_float) 1, m - 3 or (omniabs(array_y_higher ) >= glob_large_float) 1, m - 4 or (omniabs(array_y_higher ) >= glob_large_float)) 1, m - 5 or ((omniabs(array_y_higher ) <= glob_small_float) or (omniabs(array_y_higher ) <= glob_small_float) or (omniabs(array_y_higher ) <= glob_small_float) or (omniabs(array_y_higher ) <= glob_small_float) or (omniabs(array_y_higher ) <= glob_small_float) or (omniabs(array_y_higher ) <= glob_small_float)) 1, m 1, m - 1 1, m - 2 1, m - 3 1, m - 4 1, m - 5 then (rad_c : glob_large_float, ord_no : glob_large_float) array_y_higher array_y_higher 1, m 1, m - 1 else (rm0 : ----------------------, rm1 : ----------------------, array_y_higher array_y_higher 1, m - 1 1, m - 2 array_y_higher array_y_higher 1, m - 2 1, m - 3 rm2 : ----------------------, rm3 : ----------------------, array_y_higher array_y_higher 1, m - 3 1, m - 4 array_y_higher 1, m - 4 rm4 : ----------------------, nr1 : convfloat(m - 3) rm2 array_y_higher 1, m - 5 - 2.0 convfloat(m - 2) rm1 + convfloat(m - 1) rm0, nr2 : convfloat(m - 4) rm3 - 2.0 convfloat(m - 3) rm2 + convfloat(m - 2) rm1, - 1.0 2.0 - 1.0 - 1.0 2.0 - 1.0 5.0 8.0 3.0 dr1 : ----- + --- + -----, dr2 : ----- + --- + -----, ds1 : --- - --- + ---, rm3 rm2 rm1 rm4 rm3 rm2 rm3 rm2 rm1 5.0 8.0 3.0 ds2 : --- - --- + ---, if (omniabs(nr1 dr2 - nr2 dr1) <= glob_small_float) rm4 rm3 rm2 or (omniabs(dr1) <= glob_small_float) then (rad_c : glob_large_float, ord_no : glob_large_float) else (if omniabs(nr1 dr2 - nr2 dr1) > dr1 dr2 - ds2 dr1 + ds1 dr2 glob_small_float then (rcs : ---------------------------, nr1 dr2 - nr2 dr1 rcs nr1 - ds1 convfloat(m) ord_no : ------------- - ------------, 2.0 dr1 2.0 if omniabs(rcs) > glob_small_float then (if rcs > 0.0 then rad_c : sqrt(rcs) omniabs(glob_h) else rad_c : glob_large_float) else (rad_c : glob_large_float, ord_no : glob_large_float)) else (rad_c : glob_large_float, ord_no : glob_large_float)), array_complex_pole : rad_c, array_complex_pole : ord_no), 1, 1 1, 2 found_sing : 0, if (1 # found_sing) and ((array_real_pole = glob_large_float) 1, 1 or (array_real_pole = glob_large_float)) 1, 2 and ((array_complex_pole # glob_large_float) and (array_complex_pole # glob_large_float)) 1, 1 1, 2 and ((array_complex_pole > 0.0) and (array_complex_pole > 0.0)) 1, 1 1, 2 then (array_poles : array_complex_pole , 1, 1 1, 1 array_poles : array_complex_pole , found_sing : 1, 1, 2 1, 2 array_type_pole : 2, if glob_display_flag 1 then (if reached_interval() then omniout_str(ALWAYS, "Complex estimate of poles used for equation 1"))), if (1 # found_sing) and ((array_real_pole # glob_large_float) 1, 1 and (array_real_pole # glob_large_float) and (array_real_pole > 0.0) 1, 2 1, 1 and (array_real_pole > - 1.0 glob_smallish_float) 1, 2 and ((array_complex_pole = glob_large_float) or (array_complex_pole = glob_large_float) or (array_complex_pole <= 0.0) or (array_complex_pole <= 0.0))) 1, 1 1, 2 1, 1 1, 2 then (array_poles : array_real_pole , 1, 1 1, 1 array_poles : array_real_pole , found_sing : 1, array_type_pole : 1, 1, 2 1, 2 1 if glob_display_flag then (if reached_interval() then omniout_str(ALWAYS, "Real estimate of pole used for equation 1"))), if (1 # found_sing) and (((array_real_pole = glob_large_float) 1, 1 or (array_real_pole = glob_large_float)) 1, 2 and ((array_complex_pole = glob_large_float) or (array_complex_pole = glob_large_float))) 1, 1 1, 2 then (array_poles : glob_large_float, array_poles : glob_large_float, 1, 1 1, 2 found_sing : 1, array_type_pole : 3, if reached_interval() 1 then omniout_str(ALWAYS, "NO POLE for equation 1")), if (1 # found_sing) and ((array_real_pole < array_complex_pole ) 1, 1 1, 1 and (array_real_pole > 0.0) and (array_real_pole > - 1.0 1, 1 1, 2 glob_smallish_float)) then (array_poles : array_real_pole , 1, 1 1, 1 array_poles : array_real_pole , found_sing : 1, array_type_pole : 1, 1, 2 1, 2 1 if glob_display_flag then (if reached_interval() then omniout_str(ALWAYS, "Real estimate of pole used for equation 1"))), if (1 # found_sing) and ((array_complex_pole # glob_large_float) 1, 1 and (array_complex_pole # glob_large_float) 1, 2 and (array_complex_pole > 0.0) and (array_complex_pole > 1, 1 1, 2 0.0)) then (array_poles : array_complex_pole , 1, 1 1, 1 array_poles : array_complex_pole , array_type_pole : 2, 1, 2 1, 2 1 found_sing : 1, if glob_display_flag then (if reached_interval() then omniout_str(ALWAYS, "Complex estimate of poles used for equation 1"))), if 1 # found_sing then (array_poles : glob_large_float, 1, 1 array_poles : glob_large_float, array_type_pole : 3, 1, 2 1 if reached_interval() then omniout_str(ALWAYS, "NO POLE for equation 1")), array_pole : glob_large_float, array_pole : glob_large_float, 1 2 if array_pole > array_poles then (array_pole : array_poles , 1 1, 1 1 1, 1 array_pole : array_poles ), if array_pole glob_ratio_of_radius < 2 1, 2 1 omniabs(glob_h) then (h_new : array_pole glob_ratio_of_radius, term : 1, 1 ratio : 1.0, while term <= glob_max_terms do (array_y : term array_y ratio, array_y_higher : array_y_higher ratio, term 1, term 1, term ratio h_new array_x : array_x ratio, ratio : ---------------, term : 1 + term), term term omniabs(glob_h) glob_h : h_new), if reached_interval() then display_pole()) (%i11) get_norms() := block([iii], if not glob_initial_pass then (iii : 1, while iii <= glob_max_terms do (array_norms : 0.0, iii iii : 1 + iii), iii : 1, while iii <= glob_max_terms do (if omniabs(array_y ) > array_norms iii iii then array_norms : omniabs(array_y ), iii : 1 + iii))) iii iii (%o11) get_norms() := block([iii], if not glob_initial_pass then (iii : 1, while iii <= glob_max_terms do (array_norms : 0.0, iii iii : 1 + iii), iii : 1, while iii <= glob_max_terms do (if omniabs(array_y ) > array_norms iii iii then array_norms : omniabs(array_y ), iii : 1 + iii))) iii iii (%i12) atomall() := block([kkk, order_d, adj2, adj3, temporary, term, temp, temp2], array_tmp1 : array_const_2D0 array_x , 1 1 1 array_tmp2 : array_const_3D0 + array_tmp1 , array_tmp3 : sqrt(array_tmp2 ), 1 1 1 1 1 array_tmp4 : sin(array_tmp3 ), array_tmp4_g : cos(array_tmp3 ), 1 1 1 1 array_tmp5 : array_tmp4 + array_const_0D0 , 1 1 1 if not array_y_set_initial then (if 1 <= glob_max_terms 1, 2 then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(0, 1), 1 array_y : temporary, array_y_higher : temporary, 2 1, 2 temporary 1.0 temporary : -------------, array_y_higher : temporary, 0)), kkk : 2, glob_h 2, 1 array_tmp1 : array_const_2D0 array_x , array_tmp2 : array_tmp1 , 2 1 2 2 2 array_tmp2 2 ----------- array_tmp3 1 array_tmp3 : -----------, array_tmp4 : att(1, array_tmp4_g, array_tmp3, 1), 2 2.0 2 array_tmp4_g : - att(1, array_tmp4, array_tmp3, 1), 2 array_tmp5 : array_tmp4 , if not array_y_set_initial 2 2 1, 3 then (if 2 <= glob_max_terms then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(1, 2), array_y : temporary, 2 3 temporary 2.0 array_y_higher : temporary, temporary : -------------, 1, 3 glob_h array_y_higher : temporary, 0)), kkk : 3, array_tmp3 : 0.0, 2, 2 3 - ats(3, array_tmp3, array_tmp3, 2) ----------------------------------- array_tmp3 1 array_tmp3 : -----------------------------------, 3 2.0 array_tmp4 : att(2, array_tmp4_g, array_tmp3, 1), 3 array_tmp4_g : - att(2, array_tmp4, array_tmp3, 1), 3 array_tmp5 : array_tmp4 , if not array_y_set_initial 3 3 1, 4 then (if 3 <= glob_max_terms then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(2, 3), array_y : temporary, 3 4 temporary 3.0 array_y_higher : temporary, temporary : -------------, 1, 4 glob_h array_y_higher : temporary, 0)), kkk : 4, array_tmp3 : 0.0, 2, 3 4 - ats(4, array_tmp3, array_tmp3, 2) ----------------------------------- array_tmp3 1 array_tmp3 : -----------------------------------, 4 2.0 array_tmp4 : att(3, array_tmp4_g, array_tmp3, 1), 4 array_tmp4_g : - att(3, array_tmp4, array_tmp3, 1), 4 array_tmp5 : array_tmp4 , if not array_y_set_initial 4 4 1, 5 then (if 4 <= glob_max_terms then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(3, 4), array_y : temporary, 4 5 temporary 4.0 array_y_higher : temporary, temporary : -------------, 1, 5 glob_h array_y_higher : temporary, 0)), kkk : 5, array_tmp3 : 0.0, 2, 4 5 - ats(5, array_tmp3, array_tmp3, 2) ----------------------------------- array_tmp3 1 array_tmp3 : -----------------------------------, 5 2.0 array_tmp4 : att(4, array_tmp4_g, array_tmp3, 1), 5 array_tmp4_g : - att(4, array_tmp4, array_tmp3, 1), 5 array_tmp5 : array_tmp4 , if not array_y_set_initial 5 5 1, 6 then (if 5 <= glob_max_terms then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(4, 5), array_y : temporary, 5 6 temporary 5.0 array_y_higher : temporary, temporary : -------------, 1, 6 glob_h array_y_higher : temporary, 0)), kkk : 6, 2, 5 while kkk <= glob_max_terms do (array_tmp3 : 0.0, kkk - ats(kkk, array_tmp3, array_tmp3, 2) ------------------------------------- array_tmp3 1 array_tmp3 : -------------------------------------, kkk 2.0 array_tmp4 : att(kkk - 1, array_tmp4_g, array_tmp3, 1), kkk array_tmp4_g : - att(kkk - 1, array_tmp4, array_tmp3, 1), kkk array_tmp5 : array_tmp4 , order_d : 1, kkk kkk if 1 + order_d + kkk <= glob_max_terms then (if not array_y_set_initial 1, order_d + kkk then (temporary : array_tmp5 expt(glob_h, order_d) kkk factorial_3(kkk - 1, - 1 + order_d + kkk), array_y : temporary, order_d + kkk array_y_higher : temporary, term : - 1 + order_d + kkk, 1, order_d + kkk adj2 : - 1 + order_d + kkk, adj3 : 2, while term >= 1 do (if adj3 <= 1 + order_d then (if adj2 > 0 temporary convfp(adj2) then temporary : ---------------------- else temporary : temporary, glob_h array_y_higher : temporary), term : term - 1, adj2 : adj2 - 1, adj3, term adj3 : 1 + adj3))), kkk : 1 + kkk)) (%o12) atomall() := block([kkk, order_d, adj2, adj3, temporary, term, temp, temp2], array_tmp1 : array_const_2D0 array_x , 1 1 1 array_tmp2 : array_const_3D0 + array_tmp1 , array_tmp3 : sqrt(array_tmp2 ), 1 1 1 1 1 array_tmp4 : sin(array_tmp3 ), array_tmp4_g : cos(array_tmp3 ), 1 1 1 1 array_tmp5 : array_tmp4 + array_const_0D0 , 1 1 1 if not array_y_set_initial then (if 1 <= glob_max_terms 1, 2 then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(0, 1), 1 array_y : temporary, array_y_higher : temporary, 2 1, 2 temporary 1.0 temporary : -------------, array_y_higher : temporary, 0)), kkk : 2, glob_h 2, 1 array_tmp1 : array_const_2D0 array_x , array_tmp2 : array_tmp1 , 2 1 2 2 2 array_tmp2 2 ----------- array_tmp3 1 array_tmp3 : -----------, array_tmp4 : att(1, array_tmp4_g, array_tmp3, 1), 2 2.0 2 array_tmp4_g : - att(1, array_tmp4, array_tmp3, 1), 2 array_tmp5 : array_tmp4 , if not array_y_set_initial 2 2 1, 3 then (if 2 <= glob_max_terms then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(1, 2), array_y : temporary, 2 3 temporary 2.0 array_y_higher : temporary, temporary : -------------, 1, 3 glob_h array_y_higher : temporary, 0)), kkk : 3, array_tmp3 : 0.0, 2, 2 3 - ats(3, array_tmp3, array_tmp3, 2) ----------------------------------- array_tmp3 1 array_tmp3 : -----------------------------------, 3 2.0 array_tmp4 : att(2, array_tmp4_g, array_tmp3, 1), 3 array_tmp4_g : - att(2, array_tmp4, array_tmp3, 1), 3 array_tmp5 : array_tmp4 , if not array_y_set_initial 3 3 1, 4 then (if 3 <= glob_max_terms then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(2, 3), array_y : temporary, 3 4 temporary 3.0 array_y_higher : temporary, temporary : -------------, 1, 4 glob_h array_y_higher : temporary, 0)), kkk : 4, array_tmp3 : 0.0, 2, 3 4 - ats(4, array_tmp3, array_tmp3, 2) ----------------------------------- array_tmp3 1 array_tmp3 : -----------------------------------, 4 2.0 array_tmp4 : att(3, array_tmp4_g, array_tmp3, 1), 4 array_tmp4_g : - att(3, array_tmp4, array_tmp3, 1), 4 array_tmp5 : array_tmp4 , if not array_y_set_initial 4 4 1, 5 then (if 4 <= glob_max_terms then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(3, 4), array_y : temporary, 4 5 temporary 4.0 array_y_higher : temporary, temporary : -------------, 1, 5 glob_h array_y_higher : temporary, 0)), kkk : 5, array_tmp3 : 0.0, 2, 4 5 - ats(5, array_tmp3, array_tmp3, 2) ----------------------------------- array_tmp3 1 array_tmp3 : -----------------------------------, 5 2.0 array_tmp4 : att(4, array_tmp4_g, array_tmp3, 1), 5 array_tmp4_g : - att(4, array_tmp4, array_tmp3, 1), 5 array_tmp5 : array_tmp4 , if not array_y_set_initial 5 5 1, 6 then (if 5 <= glob_max_terms then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(4, 5), array_y : temporary, 5 6 temporary 5.0 array_y_higher : temporary, temporary : -------------, 1, 6 glob_h array_y_higher : temporary, 0)), kkk : 6, 2, 5 while kkk <= glob_max_terms do (array_tmp3 : 0.0, kkk - ats(kkk, array_tmp3, array_tmp3, 2) ------------------------------------- array_tmp3 1 array_tmp3 : -------------------------------------, kkk 2.0 array_tmp4 : att(kkk - 1, array_tmp4_g, array_tmp3, 1), kkk array_tmp4_g : - att(kkk - 1, array_tmp4, array_tmp3, 1), kkk array_tmp5 : array_tmp4 , order_d : 1, kkk kkk if 1 + order_d + kkk <= glob_max_terms then (if not array_y_set_initial 1, order_d + kkk then (temporary : array_tmp5 expt(glob_h, order_d) kkk factorial_3(kkk - 1, - 1 + order_d + kkk), array_y : temporary, order_d + kkk array_y_higher : temporary, term : - 1 + order_d + kkk, 1, order_d + kkk adj2 : - 1 + order_d + kkk, adj3 : 2, while term >= 1 do (if adj3 <= 1 + order_d then (if adj2 > 0 temporary convfp(adj2) then temporary : ---------------------- else temporary : temporary, glob_h array_y_higher : temporary), term : term - 1, adj2 : adj2 - 1, adj3, term adj3 : 1 + adj3))), kkk : 1 + kkk)) log(x) (%i13) log10(x) := --------- log(10.0) log(x) (%o13) log10(x) := --------- log(10.0) (%i14) omniout_str(iolevel, str) := if glob_iolevel >= iolevel then printf(true, "~a~%", string(str)) (%o14) omniout_str(iolevel, str) := if glob_iolevel >= iolevel then printf(true, "~a~%", string(str)) (%i15) omniout_str_noeol(iolevel, str) := if glob_iolevel >= iolevel then printf(true, "~a", string(str)) (%o15) omniout_str_noeol(iolevel, str) := if glob_iolevel >= iolevel then printf(true, "~a", string(str)) (%i16) omniout_labstr(iolevel, label, str) := if glob_iolevel >= iolevel then printf(true, "~a = ~a~%", string(label), string(str)) (%o16) omniout_labstr(iolevel, label, str) := if glob_iolevel >= iolevel then printf(true, "~a = ~a~%", string(label), string(str)) (%i17) omniout_float(iolevel, prelabel, prelen, value, vallen, postlabel) := if glob_iolevel >= iolevel then (if vallen = 4 then printf(true, "~a = ~g ~s ~%", prelabel, value, postlabel) else printf(true, "~a = ~g ~s ~%", prelabel, value, postlabel)) (%o17) omniout_float(iolevel, prelabel, prelen, value, vallen, postlabel) := if glob_iolevel >= iolevel then (if vallen = 4 then printf(true, "~a = ~g ~s ~%", prelabel, value, postlabel) else printf(true, "~a = ~g ~s ~%", prelabel, value, postlabel)) (%i18) omniout_int(iolevel, prelabel, prelen, value, vallen, postlabel) := if glob_iolevel >= iolevel then (printf(true, "~a = ~d ~a~%", prelabel, value, postlabel), newline()) (%o18) omniout_int(iolevel, prelabel, prelen, value, vallen, postlabel) := if glob_iolevel >= iolevel then (printf(true, "~a = ~d ~a~%", prelabel, value, postlabel), newline()) (%i19) omniout_float_arr(iolevel, prelabel, elemnt, prelen, value, vallen, postlabel) := if glob_iolevel >= iolevel then (sprint(prelabel, "[", elemnt, "]=", value, postlabel), newline()) (%o19) omniout_float_arr(iolevel, prelabel, elemnt, prelen, value, vallen, postlabel) := if glob_iolevel >= iolevel then (sprint(prelabel, "[", elemnt, "]=", value, postlabel), newline()) (%i20) dump_series(iolevel, dump_label, series_name, arr_series, numb) := block([i], if glob_iolevel >= iolevel then (i : 1, while i <= numb do (sprint(dump_label, series_name, "i = ", i, "series = ", array_series ), newline(), i : 1 + i))) i (%o20) dump_series(iolevel, dump_label, series_name, arr_series, numb) := block([i], if glob_iolevel >= iolevel then (i : 1, while i <= numb do (sprint(dump_label, series_name, "i = ", i, "series = ", array_series ), newline(), i : 1 + i))) i (%i21) dump_series_2(iolevel, dump_label, series_name2, arr_series2, numb, subnum, arr_x) := (array_series2, numb, subnum) := block([i, sub, ts_term], if glob_iolevel >= iolevel then (sub : 1, while sub <= subnum do (i : 1, while i <= num do (sprint(dump_label, series_name, "sub = ", sub, "i = ", i, "series2 = ", array_series2 ), i : 1 + i), sub : 1 + sub))) sub, i (%o21) dump_series_2(iolevel, dump_label, series_name2, arr_series2, numb, subnum, arr_x) := (array_series2, numb, subnum) := block([i, sub, ts_term], if glob_iolevel >= iolevel then (sub : 1, while sub <= subnum do (i : 1, while i <= num do (sprint(dump_label, series_name, "sub = ", sub, "i = ", i, "series2 = ", array_series2 ), i : 1 + i), sub : 1 + sub))) sub, i (%i22) cs_info(iolevel, str) := if glob_iolevel >= iolevel then sprint(concat("cs_info ", str, " glob_correct_start_flag = ", glob_correct_start_flag, "glob_h := ", glob_h, "glob_reached_optimal_h := ", glob_reached_optimal_h)) (%o22) cs_info(iolevel, str) := if glob_iolevel >= iolevel then sprint(concat("cs_info ", str, " glob_correct_start_flag = ", glob_correct_start_flag, "glob_h := ", glob_h, "glob_reached_optimal_h := ", glob_reached_optimal_h)) (%i23) logitem_time(fd, secs_in) := block([days, days_int, hours, hours_int, minutes, minutes_int, sec_int, seconds, secs, years, years_int], secs : convfloat(secs_in), printf(fd, "~%"), secs if secs >= 0 then (years_int : trunc(----------------), glob_sec_in_year sec_temp : mod(trunc(secs), trunc(glob_sec_in_year)), sec_temp days_int : trunc(---------------), sec_temp : glob_sec_in_day sec_temp mod(sec_temp, trunc(glob_sec_in_day)), hours_int : trunc(----------------), glob_sec_in_hour sec_temp : mod(sec_temp, trunc(glob_sec_in_hour)), sec_temp minutes_int : trunc(------------------), glob_sec_in_minute sec_int : mod(sec_temp, trunc(glob_sec_in_minute)), if years_int > 0 then printf(fd, "= ~d Years ~d Days ~d Hours ~d Minutes ~d Seconds~%", years_int, days_int, hours_int, minutes_int, sec_int) elseif days_int > 0 then printf(fd, "= ~d Days ~d Hours ~d Minutes ~d Seconds~%", days_int, hours_int, minutes_int, sec_int) elseif hours_int > 0 then printf(fd, "= ~d Hours ~d Minutes ~d Seconds~%", hours_int, minutes_int, sec_int) elseif minutes_int > 0 then printf(fd, "= ~d Minutes ~d Seconds~%", minutes_int, sec_int) else printf(fd, "= ~d Seconds~%", sec_int)) else printf(fd, " Unknown~%"), printf(fd, "~%")) (%o23) logitem_time(fd, secs_in) := block([days, days_int, hours, hours_int, minutes, minutes_int, sec_int, seconds, secs, years, years_int], secs : convfloat(secs_in), printf(fd, "~%"), secs if secs >= 0 then (years_int : trunc(----------------), glob_sec_in_year sec_temp : mod(trunc(secs), trunc(glob_sec_in_year)), sec_temp days_int : trunc(---------------), sec_temp : glob_sec_in_day sec_temp mod(sec_temp, trunc(glob_sec_in_day)), hours_int : trunc(----------------), glob_sec_in_hour sec_temp : mod(sec_temp, trunc(glob_sec_in_hour)), sec_temp minutes_int : trunc(------------------), glob_sec_in_minute sec_int : mod(sec_temp, trunc(glob_sec_in_minute)), if years_int > 0 then printf(fd, "= ~d Years ~d Days ~d Hours ~d Minutes ~d Seconds~%", years_int, days_int, hours_int, minutes_int, sec_int) elseif days_int > 0 then printf(fd, "= ~d Days ~d Hours ~d Minutes ~d Seconds~%", days_int, hours_int, minutes_int, sec_int) elseif hours_int > 0 then printf(fd, "= ~d Hours ~d Minutes ~d Seconds~%", hours_int, minutes_int, sec_int) elseif minutes_int > 0 then printf(fd, "= ~d Minutes ~d Seconds~%", minutes_int, sec_int) else printf(fd, "= ~d Seconds~%", sec_int)) else printf(fd, " Unknown~%"), printf(fd, "~%")) (%i24) omniout_timestr(secs_in) := block([days, days_int, hours, hours_int, minutes, minutes_int, sec_int, seconds, secs, years, years_int], secs : convfloat(secs_in), if secs >= 0 secs then (years_int : trunc(----------------), glob_sec_in_year sec_temp : mod(trunc(secs), trunc(glob_sec_in_year)), sec_temp days_int : trunc(---------------), sec_temp : glob_sec_in_day sec_temp mod(sec_temp, trunc(glob_sec_in_day)), hours_int : trunc(----------------), glob_sec_in_hour sec_temp : mod(sec_temp, trunc(glob_sec_in_hour)), sec_temp minutes_int : trunc(------------------), glob_sec_in_minute sec_int : mod(sec_temp, trunc(glob_sec_in_minute)), if years_int > 0 then printf(true, "= ~d Years ~d Days ~d Hours ~d Minutes ~d Seconds~%", years_int, days_int, hours_int, minutes_int, sec_int) elseif days_int > 0 then printf(true, "= ~d Days ~d Hours ~d Minutes ~d Seconds~%", days_int, hours_int, minutes_int, sec_int) elseif hours_int > 0 then printf(true, "= ~d Hours ~d Minutes ~d Seconds~%", hours_int, minutes_int, sec_int) elseif minutes_int > 0 then printf(true, "= ~d Minutes ~d Seconds~%", minutes_int, sec_int) else printf(true, "= ~d Seconds~%", sec_int)) else printf(true, " Unknown~%")) (%o24) omniout_timestr(secs_in) := block([days, days_int, hours, hours_int, minutes, minutes_int, sec_int, seconds, secs, years, years_int], secs : convfloat(secs_in), if secs >= 0 secs then (years_int : trunc(----------------), glob_sec_in_year sec_temp : mod(trunc(secs), trunc(glob_sec_in_year)), sec_temp days_int : trunc(---------------), sec_temp : glob_sec_in_day sec_temp mod(sec_temp, trunc(glob_sec_in_day)), hours_int : trunc(----------------), glob_sec_in_hour sec_temp : mod(sec_temp, trunc(glob_sec_in_hour)), sec_temp minutes_int : trunc(------------------), glob_sec_in_minute sec_int : mod(sec_temp, trunc(glob_sec_in_minute)), if years_int > 0 then printf(true, "= ~d Years ~d Days ~d Hours ~d Minutes ~d Seconds~%", years_int, days_int, hours_int, minutes_int, sec_int) elseif days_int > 0 then printf(true, "= ~d Days ~d Hours ~d Minutes ~d Seconds~%", days_int, hours_int, minutes_int, sec_int) elseif hours_int > 0 then printf(true, "= ~d Hours ~d Minutes ~d Seconds~%", hours_int, minutes_int, sec_int) elseif minutes_int > 0 then printf(true, "= ~d Minutes ~d Seconds~%", minutes_int, sec_int) else printf(true, "= ~d Seconds~%", sec_int)) else printf(true, " Unknown~%")) (%i25) ats(mmm_ats, arr_a, arr_b, jjj_ats) := block([iii_ats, lll_ats, ma_ats, ret_ats], ret_ats : 0.0, if jjj_ats <= mmm_ats then (ma_ats : 1 + mmm_ats, iii_ats : jjj_ats, while iii_ats <= mmm_ats do (lll_ats : ma_ats - iii_ats, ret_ats : arr_a arr_b + ret_ats, iii_ats : 1 + iii_ats)), iii_ats lll_ats ret_ats) (%o25) ats(mmm_ats, arr_a, arr_b, jjj_ats) := block([iii_ats, lll_ats, ma_ats, ret_ats], ret_ats : 0.0, if jjj_ats <= mmm_ats then (ma_ats : 1 + mmm_ats, iii_ats : jjj_ats, while iii_ats <= mmm_ats do (lll_ats : ma_ats - iii_ats, ret_ats : arr_a arr_b + ret_ats, iii_ats : 1 + iii_ats)), iii_ats lll_ats ret_ats) (%i26) att(mmm_att, arr_aa, arr_bb, jjj_att) := block([al_att, iii_att, lll_att, ma_att, ret_att], ret_att : 0.0, if jjj_att <= mmm_att then (ma_att : 2 + mmm_att, 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 : arr_aa arr_bb convfp(al_att) + ret_att, iii_att lll_att ret_att iii_att : 1 + iii_att), ret_att : ---------------), ret_att) convfp(mmm_att) (%o26) att(mmm_att, arr_aa, arr_bb, jjj_att) := block([al_att, iii_att, lll_att, ma_att, ret_att], ret_att : 0.0, if jjj_att <= mmm_att then (ma_att : 2 + mmm_att, 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 : arr_aa arr_bb convfp(al_att) + ret_att, iii_att lll_att ret_att iii_att : 1 + iii_att), ret_att : ---------------), ret_att) convfp(mmm_att) (%i27) display_pole_debug(typ, radius, order2) := (if typ = 1 then omniout_str(ALWAYS, "Real") else omniout_str(ALWAYS, "Complex"), omniout_float(ALWAYS, "DBG Radius of convergence ", 4, radius, 4, " "), omniout_float(ALWAYS, "DBG Order of pole ", 4, order2, 4, " ")) (%o27) display_pole_debug(typ, radius, order2) := (if typ = 1 then omniout_str(ALWAYS, "Real") else omniout_str(ALWAYS, "Complex"), omniout_float(ALWAYS, "DBG Radius of convergence ", 4, radius, 4, " "), omniout_float(ALWAYS, "DBG Order of pole ", 4, order2, 4, " ")) (%i28) display_pole() := if (array_pole # glob_large_float) 1 and (array_pole > 0.0) and (array_pole # glob_large_float) 1 2 and (array_pole > 0.0) and glob_display_flag 2 then (omniout_float(ALWAYS, "Radius of convergence ", 4, array_pole , 4, " "), omniout_float(ALWAYS, 1 "Order of pole ", 4, array_pole , 4, " ")) 2 (%o28) display_pole() := if (array_pole # glob_large_float) 1 and (array_pole > 0.0) and (array_pole # glob_large_float) 1 2 and (array_pole > 0.0) and glob_display_flag 2 then (omniout_float(ALWAYS, "Radius of convergence ", 4, array_pole , 4, " "), omniout_float(ALWAYS, 1 "Order of pole ", 4, array_pole , 4, " ")) 2 (%i29) logditto(file) := (printf(file, ""), printf(file, "ditto"), printf(file, "")) (%o29) logditto(file) := (printf(file, ""), printf(file, "ditto"), printf(file, "")) (%i30) logitem_integer(file, n) := (printf(file, ""), printf(file, "~d", n), printf(file, "")) (%o30) logitem_integer(file, n) := (printf(file, ""), printf(file, "~d", n), printf(file, "")) (%i31) logitem_str(file, str) := (printf(file, ""), printf(file, str), printf(file, "")) (%o31) logitem_str(file, str) := (printf(file, ""), printf(file, str), printf(file, "")) (%i32) logitem_good_digits(file, rel_error) := block([good_digits], printf(file, ""), if rel_error # - 1.0 then (if rel_error > + 1.0E-34 then (good_digits : 1 - floor(log10(rel_error)), printf(file, "~d", good_digits)) else (good_digits : 16, printf(file, "~d", good_digits))) else printf(file, "Unknown"), printf(file, "")) (%o32) logitem_good_digits(file, rel_error) := block([good_digits], printf(file, ""), if rel_error # - 1.0 then (if rel_error > + 1.0E-34 then (good_digits : 1 - floor(log10(rel_error)), printf(file, "~d", good_digits)) else (good_digits : 16, printf(file, "~d", good_digits))) else printf(file, "Unknown"), printf(file, "")) (%i33) log_revs(file, revs) := printf(file, revs) (%o33) log_revs(file, revs) := printf(file, revs) (%i34) logitem_float(file, x) := (printf(file, ""), printf(file, "~g", x), printf(file, "")) (%o34) logitem_float(file, x) := (printf(file, ""), printf(file, "~g", x), printf(file, "")) (%i35) logitem_pole(file, pole) := (printf(file, ""), if pole = 0 then printf(file, "NA") elseif pole = 1 then printf(file, "Real") elseif pole = 2 then printf(file, "Complex") else printf(file, "No Pole"), printf(file, "")) (%o35) logitem_pole(file, pole) := (printf(file, ""), if pole = 0 then printf(file, "NA") elseif pole = 1 then printf(file, "Real") elseif pole = 2 then printf(file, "Complex") else printf(file, "No Pole"), printf(file, "")) (%i36) logstart(file) := printf(file, "") (%o36) logstart(file) := printf(file, "") (%i37) logend(file) := printf(file, "~%") (%o37) logend(file) := printf(file, "~%") (%i38) chk_data() := block([errflag], errflag : false, if (glob_max_terms < 15) or (glob_max_terms > 512) then (omniout_str(ALWAYS, "Illegal max_terms = -- Using 30"), glob_max_terms : 30), if glob_max_iter < 2 then (omniout_str(ALWAYS, "Illegal max_iter"), errflag : true), if errflag then quit()) (%o38) chk_data() := block([errflag], errflag : false, if (glob_max_terms < 15) or (glob_max_terms > 512) then (omniout_str(ALWAYS, "Illegal max_terms = -- Using 30"), glob_max_terms : 30), if glob_max_iter < 2 then (omniout_str(ALWAYS, "Illegal max_iter"), errflag : true), if errflag then quit()) (%i39) comp_expect_sec(t_end2, t_start2, t2, clock_sec2) := block([ms2, rrr, sec_left, sub1, sub2], ms2 : clock_sec2, sub1 : t_end2 - t_start2, sub2 : t2 - t_start2, if sub1 = 0.0 then sec_left : 0.0 else (if sub2 > 0.0 sub1 then (rrr : ----, sec_left : rrr ms2 - ms2) else sec_left : 0.0), sec_left) sub2 (%o39) comp_expect_sec(t_end2, t_start2, t2, clock_sec2) := block([ms2, rrr, sec_left, sub1, sub2], ms2 : clock_sec2, sub1 : t_end2 - t_start2, sub2 : t2 - t_start2, if sub1 = 0.0 then sec_left : 0.0 else (if sub2 > 0.0 sub1 then (rrr : ----, sec_left : rrr ms2 - ms2) else sec_left : 0.0), sec_left) sub2 (%i40) comp_percent(t_end2, t_start2, t2) := block([rrr, sub1, sub2], sub1 : t_end2 - t_start2, sub2 : t2 - t_start2, 100.0 sub2 if sub2 > glob_small_float then rrr : ---------- else rrr : 0.0, rrr) sub1 (%o40) comp_percent(t_end2, t_start2, t2) := block([rrr, sub1, sub2], sub1 : t_end2 - t_start2, sub2 : t2 - t_start2, 100.0 sub2 if sub2 > glob_small_float then rrr : ---------- else rrr : 0.0, rrr) sub1 (%i41) factorial_2(nnn) := nnn! (%o41) factorial_2(nnn) := nnn! (%i42) factorial_1(nnn) := block([ret], if nnn <= glob_max_terms then (if array_fact_1 = 0 nnn then (ret : factorial_2(nnn), array_fact_1 : ret) nnn else ret : array_fact_1 ) else ret : factorial_2(nnn), ret) nnn (%o42) factorial_1(nnn) := block([ret], if nnn <= glob_max_terms then (if array_fact_1 = 0 nnn then (ret : factorial_2(nnn), array_fact_1 : ret) nnn else ret : array_fact_1 ) else ret : factorial_2(nnn), ret) nnn (%i43) factorial_3(mmm, nnn) := block([ret], if (nnn <= glob_max_terms) and (mmm <= glob_max_terms) factorial_1(mmm) then (if array_fact_2 = 0 then (ret : ----------------, mmm, nnn factorial_1(nnn) array_fact_2 : ret) else ret : array_fact_2 ) mmm, nnn mmm, nnn factorial_2(mmm) else ret : ----------------, ret) factorial_2(nnn) (%o43) factorial_3(mmm, nnn) := block([ret], if (nnn <= glob_max_terms) and (mmm <= glob_max_terms) factorial_1(mmm) then (if array_fact_2 = 0 then (ret : ----------------, mmm, nnn factorial_1(nnn) array_fact_2 : ret) else ret : array_fact_2 ) mmm, nnn mmm, nnn factorial_2(mmm) else ret : ----------------, ret) factorial_2(nnn) (%i44) convfp(mmm) := mmm (%o44) convfp(mmm) := mmm (%i45) convfloat(mmm) := mmm (%o45) convfloat(mmm) := mmm (%i46) elapsed_time_seconds() := block([t], t : elapsed_real_time(), t) (%o46) elapsed_time_seconds() := block([t], t : elapsed_real_time(), t) (%i47) Si(x) := 0.0 (%o47) Si(x) := 0.0 (%i48) Ci(x) := 0.0 (%o48) Ci(x) := 0.0 (%i49) ln(x) := log(x) (%o49) ln(x) := log(x) (%i50) arcsin(x) := asin(x) (%o50) arcsin(x) := asin(x) (%i51) arccos(x) := acos(x) (%o51) arccos(x) := acos(x) (%i52) arctan(x) := atan(x) (%o52) arctan(x) := atan(x) (%i53) omniabs(x) := abs(x) (%o53) omniabs(x) := abs(x) (%i54) expt(x, y) := (if (x = 0.0) and (y < 0.0) y then print("expt error x = ", x, "y = ", y), x ) (%o54) expt(x, y) := (if (x = 0.0) and (y < 0.0) y then print("expt error x = ", x, "y = ", y), x ) (%i55) estimated_needed_step_error(x_start, x_end, estimated_h, estimated_answer) := block([desired_abs_gbl_error, range, estimated_steps, step_error], 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, range ""), estimated_steps : -----------, omniout_float(ALWAYS, "estimated_steps", estimated_h desired_abs_gbl_error 32, estimated_steps, 32, ""), step_error : omniabs(---------------------), estimated_steps omniout_float(ALWAYS, "step_error", 32, step_error, 32, ""), step_error) (%o55) estimated_needed_step_error(x_start, x_end, estimated_h, estimated_answer) := block([desired_abs_gbl_error, range, estimated_steps, step_error], 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, range ""), estimated_steps : -----------, omniout_float(ALWAYS, "estimated_steps", estimated_h desired_abs_gbl_error 32, estimated_steps, 32, ""), step_error : omniabs(---------------------), estimated_steps omniout_float(ALWAYS, "step_error", 32, step_error, 32, ""), step_error) (%i56) exact_soln_y(x) := block(sin(sqrt(3.0 + 2.0 x)) - sqrt(3.0 + 2.0 x) cos(sqrt(3.0 + 2.0 x))) (%o56) exact_soln_y(x) := block(sin(sqrt(3.0 + 2.0 x)) - sqrt(3.0 + 2.0 x) cos(sqrt(3.0 + 2.0 x))) (%i57) main() := block([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, value3, min_value, est_answer, best_h, found_h, repeat_it], define_variable(glob_max_terms, 30, fixnum), define_variable(glob_iolevel, 5, fixnum), define_variable(ALWAYS, 1, fixnum), define_variable(INFO, 2, fixnum), define_variable(DEBUGL, 3, fixnum), define_variable(DEBUGMASSIVE, 4, fixnum), define_variable(MAX_UNCHANGED, 10, fixnum), define_variable(glob_check_sign, 1.0, float), define_variable(glob_desired_digits_correct, 8.0, float), define_variable(glob_max_value3, 0.0, float), define_variable(glob_ratio_of_radius, 0.01, float), define_variable(glob_percent_done, 0.0, float), define_variable(glob_subiter_method, 3, fixnum), define_variable(glob_total_exp_sec, 0.1, float), define_variable(glob_optimal_expect_sec, 0.1, float), define_variable(glob_html_log, true, boolean), define_variable(glob_good_digits, 0, fixnum), define_variable(glob_max_opt_iter, 10, fixnum), define_variable(glob_dump, false, boolean), define_variable(glob_djd_debug, true, boolean), define_variable(glob_display_flag, true, boolean), define_variable(glob_djd_debug2, true, boolean), define_variable(glob_sec_in_minute, 60, fixnum), define_variable(glob_min_in_hour, 60, fixnum), define_variable(glob_hours_in_day, 24, fixnum), define_variable(glob_days_in_year, 365, fixnum), define_variable(glob_sec_in_hour, 3600, fixnum), define_variable(glob_sec_in_day, 86400, fixnum), define_variable(glob_sec_in_year, 31536000, fixnum), define_variable(glob_almost_1, 0.999, float), define_variable(glob_clock_sec, 0.0, float), define_variable(glob_clock_start_sec, 0.0, float), define_variable(glob_not_yet_finished, true, boolean), define_variable(glob_initial_pass, true, boolean), define_variable(glob_not_yet_start_msg, true, boolean), define_variable(glob_reached_optimal_h, false, boolean), define_variable(glob_optimal_done, false, boolean), define_variable(glob_disp_incr, 0.1, float), define_variable(glob_h, 0.1, float), define_variable(glob_max_h, 0.1, float), define_variable(glob_large_float, 9.0E+100, float), define_variable(glob_last_good_h, 0.1, float), define_variable(glob_look_poles, false, boolean), define_variable(glob_neg_h, false, boolean), define_variable(glob_display_interval, 0.0, float), define_variable(glob_next_display, 0.0, float), define_variable(glob_dump_analytic, false, boolean), define_variable(glob_abserr, 1.0E-11, float), define_variable(glob_relerr, 1.0E-11, float), define_variable(glob_max_hours, 0.0, float), define_variable(glob_max_iter, 1000, fixnum), define_variable(glob_max_rel_trunc_err, 1.0E-11, float), define_variable(glob_max_trunc_err, 1.0E-11, float), define_variable(glob_no_eqs, 0, fixnum), define_variable(glob_optimal_clock_start_sec, 0.0, float), define_variable(glob_optimal_start, 0.0, float), define_variable(glob_small_float, 1.0E-201, float), define_variable(glob_smallish_float, 1.0E-101, float), define_variable(glob_unchanged_h_cnt, 0, fixnum), define_variable(glob_warned, false, boolean), define_variable(glob_warned2, false, boolean), define_variable(glob_max_sec, 10000.0, float), define_variable(glob_orig_start_sec, 0.0, float), define_variable(glob_start, 0, fixnum), define_variable(glob_curr_iter_when_opt, 0, fixnum), define_variable(glob_current_iter, 0, fixnum), define_variable(glob_iter, 0, fixnum), define_variable(glob_normmax, 0.0, float), define_variable(glob_max_minutes, 0.0, float), ALWAYS : 1, INFO : 2, DEBUGL : 3, DEBUGMASSIVE : 4, glob_iolevel : INFO, 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/sin_sqrt_linpostode.ode#################"), omniout_str(ALWAYS, "diff ( y , x , 1 ) = sin(sqrt(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:5.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:1000000,"), 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.001,"), 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 (x) := (block("), omniout_str(ALWAYS, " (sin\ (sqrt(2.0*x+3.0))-sqrt(2.0*x+3.0)*cos(sqrt(2.0*x+3.0))) "), 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 : 1.0E-200, glob_smallish_float : 1.0E-64, glob_large_float : 1.0E+100, glob_almost_1 : 0.99, Digits : 32, max_terms : 30, glob_max_terms : max_terms, glob_html_log : true, array(array_y_init, 1 + max_terms), array(array_norms, 1 + max_terms), array(array_fact_1, 1 + max_terms), array(array_pole, 1 + max_terms), array(array_1st_rel_error, 1 + max_terms), array(array_last_rel_error, 1 + max_terms), array(array_type_pole, 1 + max_terms), array(array_y, 1 + max_terms), array(array_x, 1 + max_terms), array(array_tmp0, 1 + max_terms), array(array_tmp1, 1 + max_terms), array(array_tmp2, 1 + max_terms), array(array_tmp3, 1 + max_terms), array(array_tmp4_g, 1 + max_terms), array(array_tmp4, 1 + max_terms), array(array_tmp5, 1 + max_terms), array(array_m1, 1 + max_terms), array(array_y_higher, 1 + 2, 1 + max_terms), array(array_y_higher_work, 1 + 2, 1 + max_terms), array(array_y_higher_work2, 1 + 2, 1 + max_terms), array(array_y_set_initial, 1 + 2, 1 + max_terms), array(array_poles, 1 + 1, 1 + 3), array(array_real_pole, 1 + 1, 1 + 3), array(array_complex_pole, 1 + 1, 1 + 3), array(array_fact_2, 1 + max_terms, 1 + max_terms), term : 1, while term <= max_terms do (array_y_init : 0.0, term : 1 + term), term term : 1, while term <= max_terms do (array_norms : 0.0, term term : 1 + term), term : 1, while term <= max_terms do (array_fact_1 : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_pole : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_1st_rel_error : 0.0, term : 1 + term), term term : 1, while term <= max_terms do (array_last_rel_error : 0.0, term term : 1 + term), term : 1, while term <= max_terms do (array_type_pole : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_y : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_x : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_tmp0 : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_tmp1 : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_tmp2 : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_tmp3 : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_tmp4_g : 0.0, term : 1 + term), term term : 1, while term <= max_terms do (array_tmp4 : 0.0, term : 1 + term), term term : 1, while term <= max_terms do (array_tmp5 : 0.0, term : 1 + term), term term : 1, while term <= max_terms do (array_m1 : 0.0, term : 1 + term), term ord : 1, while ord <= 2 do (term : 1, while term <= max_terms do (array_y_higher : 0.0, term : 1 + term), ord, term ord : 1 + ord), ord : 1, while ord <= 2 do (term : 1, while term <= max_terms do (array_y_higher_work : 0.0, ord, term term : 1 + term), ord : 1 + ord), ord : 1, while ord <= 2 do (term : 1, while term <= max_terms do (array_y_higher_work2 : 0.0, term : 1 + term), ord, term ord : 1 + ord), ord : 1, while ord <= 2 do (term : 1, while term <= max_terms do (array_y_set_initial : 0.0, ord, term term : 1 + term), ord : 1 + ord), ord : 1, while ord <= 1 do (term : 1, while term <= 3 do (array_poles : 0.0, ord, term term : 1 + term), ord : 1 + ord), ord : 1, while ord <= 1 do (term : 1, while term <= 3 do (array_real_pole : 0.0, term : 1 + term), ord : 1 + ord), ord, term ord : 1, while ord <= 1 do (term : 1, while term <= 3 do (array_complex_pole : 0.0, term : 1 + term), ord, term ord : 1 + ord), ord : 1, while ord <= max_terms do (term : 1, while term <= max_terms do (array_fact_2 : 0.0, term : 1 + term), ord, term ord : 1 + ord), array(array_y, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_y : 0.0, term : 1 + term), term array(array_x, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_x : 0.0, term : 1 + term), term array(array_tmp0, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp0 : 0.0, term : 1 + term), term array(array_tmp1, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp1 : 0.0, term : 1 + term), term array(array_tmp2, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp2 : 0.0, term : 1 + term), term array(array_tmp3, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp3 : 0.0, term : 1 + term), term array(array_tmp4_g, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp4_g : 0.0, term : 1 + term), term array(array_tmp4, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp4 : 0.0, term : 1 + term), term array(array_tmp5, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp5 : 0.0, term : 1 + term), term array(array_m1, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_m1 : 0.0, term : 1 + term), term array(array_const_1, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_const_1 : 0.0, term : 1 + term), term array_const_1 : 1, array(array_const_0D0, 1 + 1 + max_terms), term : 1, 1 while term <= 1 + max_terms do (array_const_0D0 : 0.0, term : 1 + term), term array_const_0D0 : 0.0, array(array_const_2D0, 1 + 1 + max_terms), term : 1, 1 while term <= 1 + max_terms do (array_const_2D0 : 0.0, term : 1 + term), term array_const_2D0 : 2.0, array(array_const_3D0, 1 + 1 + max_terms), term : 1, 1 while term <= 1 + max_terms do (array_const_3D0 : 0.0, term : 1 + term), term array_const_3D0 : 3.0, array(array_m1, 1 + 1 + max_terms), term : 1, 1 while term <= max_terms do (array_m1 : 0.0, term : 1 + term), term array_m1 : - 1.0, iiif : 0, while iiif <= glob_max_terms do (jjjf : 0, 1 while jjjf <= glob_max_terms do (array_fact_1 : 0, iiif array_fact_2 : 0, jjjf : 1 + jjjf), iiif : 1 + iiif), x_start : 0.1, iiif, jjjf x_end : 5.0, array_y_init : exact_soln_y(x_start), 1 + 0 glob_look_poles : true, glob_max_iter : 1000000, glob_desired_digits_correct : 10, glob_display_interval : 0.001, 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(3600.0) convfloat(glob_max_hours) + convfloat(60.0) convfloat(glob_max_minutes), if glob_h > 0.0 then (glob_neg_h : false, glob_display_interval : omniabs(glob_display_interval)) else (glob_neg_h : true, glob_display_interval : - omniabs(glob_display_interval)), chk_data(), array_y_set_initial : true, 1, 1 array_y_set_initial : false, array_y_set_initial : false, 1, 2 1, 3 array_y_set_initial : false, array_y_set_initial : false, 1, 4 1, 5 array_y_set_initial : false, array_y_set_initial : false, 1, 6 1, 7 array_y_set_initial : false, array_y_set_initial : false, 1, 8 1, 9 array_y_set_initial : false, array_y_set_initial : false, 1, 10 1, 11 array_y_set_initial : false, array_y_set_initial : false, 1, 12 1, 13 array_y_set_initial : false, array_y_set_initial : false, 1, 14 1, 15 array_y_set_initial : false, array_y_set_initial : false, 1, 16 1, 17 array_y_set_initial : false, array_y_set_initial : false, 1, 18 1, 19 array_y_set_initial : false, array_y_set_initial : false, 1, 20 1, 21 array_y_set_initial : false, array_y_set_initial : false, 1, 22 1, 23 array_y_set_initial : false, array_y_set_initial : false, 1, 24 1, 25 array_y_set_initial : false, array_y_set_initial : false, 1, 26 1, 27 array_y_set_initial : false, array_y_set_initial : false, 1, 28 1, 29 array_y_set_initial : false, omniout_str(ALWAYS, "START of Optimize"), 1, 30 glob_check_sign : check_sign(x_start, x_end), glob_h : check_sign(x_start, x_end), if glob_display_interval < glob_h then glob_h : glob_display_interval, if glob_max_h < glob_h then glob_h : glob_max_h, found_h : - 1.0, best_h : 0.0, min_value : glob_large_float, est_answer : est_size_answer(), opt_iter : 1, while (opt_iter <= 20) and (found_h < 0.0) do (omniout_int(ALWAYS, "opt_iter", 32, opt_iter, 4, ""), array_x : x_start, array_x : glob_h, 1 2 glob_next_display : x_start, order_diff : 1, term_no : 1, while term_no <= order_diff do (array_y : term_no array_y_init expt(glob_h, term_no - 1) term_no ---------------------------------------------, term_no : 1 + term_no), factorial_1(term_no - 1) rows : order_diff, r_order : 1, while r_order <= rows do (term_no : 1, while term_no <= 1 - r_order + rows do (it : - 1 + r_order + term_no, array_y_init expt(glob_h, term_no - 1) it array_y_higher : ----------------------------------------, r_order, term_no factorial_1(term_no - 1) term_no : 1 + term_no), r_order : 1 + r_order), atomall(), 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, ""), value3 : test_suggested_h(), omniout_float(ALWAYS, "value3", 32, value3, 32, ""), if (value3 < est_needed_step_err) and (found_h < 0.0) then (best_h : glob_h, found_h : 1.0), omniout_float(ALWAYS, "best_h", 32, best_h, 32, ""), opt_iter : 1 + opt_iter, glob_h : glob_h 0.5), if found_h > 0.0 then glob_h : best_h else omniout_str(ALWAYS, "No increment to obtain desired accuracy found"), if glob_html_log then html_log_file : openw("html/entry.html"), if found_h > 0.0 then (omniout_str(ALWAYS, "START of Soultion"), array_x : x_start, array_x : glob_h, glob_next_display : x_start, 1 2 order_diff : 1, term_no : 1, while term_no <= order_diff do (array_y : (array_y_init expt(glob_h, term_no - 1)) term_no term_no /factorial_1(term_no - 1), term_no : 1 + term_no), rows : order_diff, r_order : 1, while r_order <= rows do (term_no : 1, while term_no <= 1 - r_order + rows do (it : - 1 + r_order + term_no, array_y_init expt(glob_h, term_no - 1) it array_y_higher : ----------------------------------------, r_order, term_no factorial_1(term_no - 1) term_no : 1 + term_no), r_order : 1 + r_order), 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 < glob_check_sign x_end) 1 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")), glob_iter : 1 + glob_iter, glob_clock_sec : elapsed_time_seconds(), glob_current_iter : 1 + glob_current_iter, atomall(), display_alot(current_iter), if glob_look_poles then check_for_pole(), if reached_interval() then glob_next_display : glob_display_interval + glob_next_display, array_x : glob_h + array_x , 1 1 array_x : glob_h, order_diff : 2, ord : 2, calc_term : 1, 2 iii : glob_max_terms, while iii >= calc_term do (array_y_higher_work : 2, iii array_y_higher 2, iii --------------------------- expt(glob_h, calc_term - 1) -------------------------------------, iii : iii - 1), temp_sum : 0.0, factorial_3(iii - calc_term, iii - 1) ord : 2, calc_term : 1, iii : glob_max_terms, while iii >= calc_term do (temp_sum : array_y_higher_work + temp_sum, ord, iii iii : iii - 1), array_y_higher_work2 : ord, calc_term temp_sum expt(glob_h, calc_term - 1) ------------------------------------, ord : 1, calc_term : 2, factorial_1(calc_term - 1) iii : glob_max_terms, while iii >= calc_term do (array_y_higher_work : 1, iii array_y_higher 1, iii --------------------------- expt(glob_h, calc_term - 1) -------------------------------------, iii : iii - 1), temp_sum : 0.0, factorial_3(iii - calc_term, iii - 1) ord : 1, calc_term : 2, iii : glob_max_terms, while iii >= calc_term do (temp_sum : array_y_higher_work + temp_sum, ord, iii iii : iii - 1), array_y_higher_work2 : ord, calc_term temp_sum expt(glob_h, calc_term - 1) ------------------------------------, ord : 1, calc_term : 1, factorial_1(calc_term - 1) iii : glob_max_terms, while iii >= calc_term do (array_y_higher_work : 1, iii array_y_higher 1, iii --------------------------- expt(glob_h, calc_term - 1) -------------------------------------, iii : iii - 1), temp_sum : 0.0, factorial_3(iii - calc_term, iii - 1) ord : 1, calc_term : 1, iii : glob_max_terms, while iii >= calc_term do (temp_sum : array_y_higher_work + temp_sum, ord, iii iii : iii - 1), array_y_higher_work2 : ord, calc_term temp_sum expt(glob_h, calc_term - 1) ------------------------------------, term_no : glob_max_terms, factorial_1(calc_term - 1) while term_no >= 1 do (array_y : array_y_higher_work2 , term_no 1, term_no ord : 1, while ord <= order_diff do (array_y_higher : ord, term_no array_y_higher_work2 , ord : 1 + ord), term_no : term_no - 1)), ord, term_no omniout_str(ALWAYS, "Finished!"), if glob_iter >= glob_max_iter then omniout_str(ALWAYS, "Maximum Iterations Reached before Solution Completed!"), if elapsed_time_seconds() - convfloat(glob_orig_start_sec) >= convfloat(glob_max_sec) then omniout_str(ALWAYS, "Maximum Time Reached before Solution Completed!"), glob_clock_sec : elapsed_time_seconds(), omniout_str(INFO, "diff ( y , x , 1 ) = sin(sqrt(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-01-28T19:34:25-06:00"), logitem_str(html_log_file, "Maxima"), logitem_str(html_log_file, "sin_sqrt_lin"), logitem_str(html_log_file, "diff ( y , x , 1 ) = sin(sqrt(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 ), logitem_float(html_log_file, glob_h), 1 logitem_str(html_log_file, "16"), logitem_good_digits(html_log_file, array_last_rel_error ), logitem_integer(html_log_file, glob_max_terms), 1 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_pole(html_log_file, array_type_pole ), 1 if (array_type_pole = 1) or (array_type_pole = 2) 1 1 then (logitem_float(html_log_file, array_pole ), 1 logitem_float(html_log_file, array_pole ), 0) 2 else (logitem_str(html_log_file, "NA"), logitem_str(html_log_file, "NA"), 0), 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), log_revs(html_log_file, " 165 "), logitem_str(html_log_file, "sin_sqrt_lin diffeq.max"), logitem_str(html_log_file, "sin_sqrt_lin maxima results"), logitem_str(html_log_file, "All Tests - All Languages"), logend(html_log_file)), if glob_html_log then close(html_log_file))) (%o57) main() := block([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, value3, min_value, est_answer, best_h, found_h, repeat_it], define_variable(glob_max_terms, 30, fixnum), define_variable(glob_iolevel, 5, fixnum), define_variable(ALWAYS, 1, fixnum), define_variable(INFO, 2, fixnum), define_variable(DEBUGL, 3, fixnum), define_variable(DEBUGMASSIVE, 4, fixnum), define_variable(MAX_UNCHANGED, 10, fixnum), define_variable(glob_check_sign, 1.0, float), define_variable(glob_desired_digits_correct, 8.0, float), define_variable(glob_max_value3, 0.0, float), define_variable(glob_ratio_of_radius, 0.01, float), define_variable(glob_percent_done, 0.0, float), define_variable(glob_subiter_method, 3, fixnum), define_variable(glob_total_exp_sec, 0.1, float), define_variable(glob_optimal_expect_sec, 0.1, float), define_variable(glob_html_log, true, boolean), define_variable(glob_good_digits, 0, fixnum), define_variable(glob_max_opt_iter, 10, fixnum), define_variable(glob_dump, false, boolean), define_variable(glob_djd_debug, true, boolean), define_variable(glob_display_flag, true, boolean), define_variable(glob_djd_debug2, true, boolean), define_variable(glob_sec_in_minute, 60, fixnum), define_variable(glob_min_in_hour, 60, fixnum), define_variable(glob_hours_in_day, 24, fixnum), define_variable(glob_days_in_year, 365, fixnum), define_variable(glob_sec_in_hour, 3600, fixnum), define_variable(glob_sec_in_day, 86400, fixnum), define_variable(glob_sec_in_year, 31536000, fixnum), define_variable(glob_almost_1, 0.999, float), define_variable(glob_clock_sec, 0.0, float), define_variable(glob_clock_start_sec, 0.0, float), define_variable(glob_not_yet_finished, true, boolean), define_variable(glob_initial_pass, true, boolean), define_variable(glob_not_yet_start_msg, true, boolean), define_variable(glob_reached_optimal_h, false, boolean), define_variable(glob_optimal_done, false, boolean), define_variable(glob_disp_incr, 0.1, float), define_variable(glob_h, 0.1, float), define_variable(glob_max_h, 0.1, float), define_variable(glob_large_float, 9.0E+100, float), define_variable(glob_last_good_h, 0.1, float), define_variable(glob_look_poles, false, boolean), define_variable(glob_neg_h, false, boolean), define_variable(glob_display_interval, 0.0, float), define_variable(glob_next_display, 0.0, float), define_variable(glob_dump_analytic, false, boolean), define_variable(glob_abserr, 1.0E-11, float), define_variable(glob_relerr, 1.0E-11, float), define_variable(glob_max_hours, 0.0, float), define_variable(glob_max_iter, 1000, fixnum), define_variable(glob_max_rel_trunc_err, 1.0E-11, float), define_variable(glob_max_trunc_err, 1.0E-11, float), define_variable(glob_no_eqs, 0, fixnum), define_variable(glob_optimal_clock_start_sec, 0.0, float), define_variable(glob_optimal_start, 0.0, float), define_variable(glob_small_float, 1.0E-201, float), define_variable(glob_smallish_float, 1.0E-101, float), define_variable(glob_unchanged_h_cnt, 0, fixnum), define_variable(glob_warned, false, boolean), define_variable(glob_warned2, false, boolean), define_variable(glob_max_sec, 10000.0, float), define_variable(glob_orig_start_sec, 0.0, float), define_variable(glob_start, 0, fixnum), define_variable(glob_curr_iter_when_opt, 0, fixnum), define_variable(glob_current_iter, 0, fixnum), define_variable(glob_iter, 0, fixnum), define_variable(glob_normmax, 0.0, float), define_variable(glob_max_minutes, 0.0, float), ALWAYS : 1, INFO : 2, DEBUGL : 3, DEBUGMASSIVE : 4, glob_iolevel : INFO, 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/sin_sqrt_linpostode.ode#################"), omniout_str(ALWAYS, "diff ( y , x , 1 ) = sin(sqrt(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:5.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:1000000,"), 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.001,"), 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 (x) := (block("), omniout_str(ALWAYS, " (sin\ (sqrt(2.0*x+3.0))-sqrt(2.0*x+3.0)*cos(sqrt(2.0*x+3.0))) "), 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 : 1.0E-200, glob_smallish_float : 1.0E-64, glob_large_float : 1.0E+100, glob_almost_1 : 0.99, Digits : 32, max_terms : 30, glob_max_terms : max_terms, glob_html_log : true, array(array_y_init, 1 + max_terms), array(array_norms, 1 + max_terms), array(array_fact_1, 1 + max_terms), array(array_pole, 1 + max_terms), array(array_1st_rel_error, 1 + max_terms), array(array_last_rel_error, 1 + max_terms), array(array_type_pole, 1 + max_terms), array(array_y, 1 + max_terms), array(array_x, 1 + max_terms), array(array_tmp0, 1 + max_terms), array(array_tmp1, 1 + max_terms), array(array_tmp2, 1 + max_terms), array(array_tmp3, 1 + max_terms), array(array_tmp4_g, 1 + max_terms), array(array_tmp4, 1 + max_terms), array(array_tmp5, 1 + max_terms), array(array_m1, 1 + max_terms), array(array_y_higher, 1 + 2, 1 + max_terms), array(array_y_higher_work, 1 + 2, 1 + max_terms), array(array_y_higher_work2, 1 + 2, 1 + max_terms), array(array_y_set_initial, 1 + 2, 1 + max_terms), array(array_poles, 1 + 1, 1 + 3), array(array_real_pole, 1 + 1, 1 + 3), array(array_complex_pole, 1 + 1, 1 + 3), array(array_fact_2, 1 + max_terms, 1 + max_terms), term : 1, while term <= max_terms do (array_y_init : 0.0, term : 1 + term), term term : 1, while term <= max_terms do (array_norms : 0.0, term term : 1 + term), term : 1, while term <= max_terms do (array_fact_1 : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_pole : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_1st_rel_error : 0.0, term : 1 + term), term term : 1, while term <= max_terms do (array_last_rel_error : 0.0, term term : 1 + term), term : 1, while term <= max_terms do (array_type_pole : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_y : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_x : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_tmp0 : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_tmp1 : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_tmp2 : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_tmp3 : 0.0, term : 1 + term), term : 1, term while term <= max_terms do (array_tmp4_g : 0.0, term : 1 + term), term term : 1, while term <= max_terms do (array_tmp4 : 0.0, term : 1 + term), term term : 1, while term <= max_terms do (array_tmp5 : 0.0, term : 1 + term), term term : 1, while term <= max_terms do (array_m1 : 0.0, term : 1 + term), term ord : 1, while ord <= 2 do (term : 1, while term <= max_terms do (array_y_higher : 0.0, term : 1 + term), ord, term ord : 1 + ord), ord : 1, while ord <= 2 do (term : 1, while term <= max_terms do (array_y_higher_work : 0.0, ord, term term : 1 + term), ord : 1 + ord), ord : 1, while ord <= 2 do (term : 1, while term <= max_terms do (array_y_higher_work2 : 0.0, term : 1 + term), ord, term ord : 1 + ord), ord : 1, while ord <= 2 do (term : 1, while term <= max_terms do (array_y_set_initial : 0.0, ord, term term : 1 + term), ord : 1 + ord), ord : 1, while ord <= 1 do (term : 1, while term <= 3 do (array_poles : 0.0, ord, term term : 1 + term), ord : 1 + ord), ord : 1, while ord <= 1 do (term : 1, while term <= 3 do (array_real_pole : 0.0, term : 1 + term), ord : 1 + ord), ord, term ord : 1, while ord <= 1 do (term : 1, while term <= 3 do (array_complex_pole : 0.0, term : 1 + term), ord, term ord : 1 + ord), ord : 1, while ord <= max_terms do (term : 1, while term <= max_terms do (array_fact_2 : 0.0, term : 1 + term), ord, term ord : 1 + ord), array(array_y, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_y : 0.0, term : 1 + term), term array(array_x, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_x : 0.0, term : 1 + term), term array(array_tmp0, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp0 : 0.0, term : 1 + term), term array(array_tmp1, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp1 : 0.0, term : 1 + term), term array(array_tmp2, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp2 : 0.0, term : 1 + term), term array(array_tmp3, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp3 : 0.0, term : 1 + term), term array(array_tmp4_g, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp4_g : 0.0, term : 1 + term), term array(array_tmp4, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp4 : 0.0, term : 1 + term), term array(array_tmp5, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_tmp5 : 0.0, term : 1 + term), term array(array_m1, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_m1 : 0.0, term : 1 + term), term array(array_const_1, 1 + 1 + max_terms), term : 1, while term <= 1 + max_terms do (array_const_1 : 0.0, term : 1 + term), term array_const_1 : 1, array(array_const_0D0, 1 + 1 + max_terms), term : 1, 1 while term <= 1 + max_terms do (array_const_0D0 : 0.0, term : 1 + term), term array_const_0D0 : 0.0, array(array_const_2D0, 1 + 1 + max_terms), term : 1, 1 while term <= 1 + max_terms do (array_const_2D0 : 0.0, term : 1 + term), term array_const_2D0 : 2.0, array(array_const_3D0, 1 + 1 + max_terms), term : 1, 1 while term <= 1 + max_terms do (array_const_3D0 : 0.0, term : 1 + term), term array_const_3D0 : 3.0, array(array_m1, 1 + 1 + max_terms), term : 1, 1 while term <= max_terms do (array_m1 : 0.0, term : 1 + term), term array_m1 : - 1.0, iiif : 0, while iiif <= glob_max_terms do (jjjf : 0, 1 while jjjf <= glob_max_terms do (array_fact_1 : 0, iiif array_fact_2 : 0, jjjf : 1 + jjjf), iiif : 1 + iiif), x_start : 0.1, iiif, jjjf x_end : 5.0, array_y_init : exact_soln_y(x_start), 1 + 0 glob_look_poles : true, glob_max_iter : 1000000, glob_desired_digits_correct : 10, glob_display_interval : 0.001, 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(3600.0) convfloat(glob_max_hours) + convfloat(60.0) convfloat(glob_max_minutes), if glob_h > 0.0 then (glob_neg_h : false, glob_display_interval : omniabs(glob_display_interval)) else (glob_neg_h : true, glob_display_interval : - omniabs(glob_display_interval)), chk_data(), array_y_set_initial : true, 1, 1 array_y_set_initial : false, array_y_set_initial : false, 1, 2 1, 3 array_y_set_initial : false, array_y_set_initial : false, 1, 4 1, 5 array_y_set_initial : false, array_y_set_initial : false, 1, 6 1, 7 array_y_set_initial : false, array_y_set_initial : false, 1, 8 1, 9 array_y_set_initial : false, array_y_set_initial : false, 1, 10 1, 11 array_y_set_initial : false, array_y_set_initial : false, 1, 12 1, 13 array_y_set_initial : false, array_y_set_initial : false, 1, 14 1, 15 array_y_set_initial : false, array_y_set_initial : false, 1, 16 1, 17 array_y_set_initial : false, array_y_set_initial : false, 1, 18 1, 19 array_y_set_initial : false, array_y_set_initial : false, 1, 20 1, 21 array_y_set_initial : false, array_y_set_initial : false, 1, 22 1, 23 array_y_set_initial : false, array_y_set_initial : false, 1, 24 1, 25 array_y_set_initial : false, array_y_set_initial : false, 1, 26 1, 27 array_y_set_initial : false, array_y_set_initial : false, 1, 28 1, 29 array_y_set_initial : false, omniout_str(ALWAYS, "START of Optimize"), 1, 30 glob_check_sign : check_sign(x_start, x_end), glob_h : check_sign(x_start, x_end), if glob_display_interval < glob_h then glob_h : glob_display_interval, if glob_max_h < glob_h then glob_h : glob_max_h, found_h : - 1.0, best_h : 0.0, min_value : glob_large_float, est_answer : est_size_answer(), opt_iter : 1, while (opt_iter <= 20) and (found_h < 0.0) do (omniout_int(ALWAYS, "opt_iter", 32, opt_iter, 4, ""), array_x : x_start, array_x : glob_h, 1 2 glob_next_display : x_start, order_diff : 1, term_no : 1, while term_no <= order_diff do (array_y : term_no array_y_init expt(glob_h, term_no - 1) term_no ---------------------------------------------, term_no : 1 + term_no), factorial_1(term_no - 1) rows : order_diff, r_order : 1, while r_order <= rows do (term_no : 1, while term_no <= 1 - r_order + rows do (it : - 1 + r_order + term_no, array_y_init expt(glob_h, term_no - 1) it array_y_higher : ----------------------------------------, r_order, term_no factorial_1(term_no - 1) term_no : 1 + term_no), r_order : 1 + r_order), atomall(), 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, ""), value3 : test_suggested_h(), omniout_float(ALWAYS, "value3", 32, value3, 32, ""), if (value3 < est_needed_step_err) and (found_h < 0.0) then (best_h : glob_h, found_h : 1.0), omniout_float(ALWAYS, "best_h", 32, best_h, 32, ""), opt_iter : 1 + opt_iter, glob_h : glob_h 0.5), if found_h > 0.0 then glob_h : best_h else omniout_str(ALWAYS, "No increment to obtain desired accuracy found"), if glob_html_log then html_log_file : openw("html/entry.html"), if found_h > 0.0 then (omniout_str(ALWAYS, "START of Soultion"), array_x : x_start, array_x : glob_h, glob_next_display : x_start, 1 2 order_diff : 1, term_no : 1, while term_no <= order_diff do (array_y : (array_y_init expt(glob_h, term_no - 1)) term_no term_no /factorial_1(term_no - 1), term_no : 1 + term_no), rows : order_diff, r_order : 1, while r_order <= rows do (term_no : 1, while term_no <= 1 - r_order + rows do (it : - 1 + r_order + term_no, array_y_init expt(glob_h, term_no - 1) it array_y_higher : ----------------------------------------, r_order, term_no factorial_1(term_no - 1) term_no : 1 + term_no), r_order : 1 + r_order), 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 < glob_check_sign x_end) 1 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")), glob_iter : 1 + glob_iter, glob_clock_sec : elapsed_time_seconds(), glob_current_iter : 1 + glob_current_iter, atomall(), display_alot(current_iter), if glob_look_poles then check_for_pole(), if reached_interval() then glob_next_display : glob_display_interval + glob_next_display, array_x : glob_h + array_x , 1 1 array_x : glob_h, order_diff : 2, ord : 2, calc_term : 1, 2 iii : glob_max_terms, while iii >= calc_term do (array_y_higher_work : 2, iii array_y_higher 2, iii --------------------------- expt(glob_h, calc_term - 1) -------------------------------------, iii : iii - 1), temp_sum : 0.0, factorial_3(iii - calc_term, iii - 1) ord : 2, calc_term : 1, iii : glob_max_terms, while iii >= calc_term do (temp_sum : array_y_higher_work + temp_sum, ord, iii iii : iii - 1), array_y_higher_work2 : ord, calc_term temp_sum expt(glob_h, calc_term - 1) ------------------------------------, ord : 1, calc_term : 2, factorial_1(calc_term - 1) iii : glob_max_terms, while iii >= calc_term do (array_y_higher_work : 1, iii array_y_higher 1, iii --------------------------- expt(glob_h, calc_term - 1) -------------------------------------, iii : iii - 1), temp_sum : 0.0, factorial_3(iii - calc_term, iii - 1) ord : 1, calc_term : 2, iii : glob_max_terms, while iii >= calc_term do (temp_sum : array_y_higher_work + temp_sum, ord, iii iii : iii - 1), array_y_higher_work2 : ord, calc_term temp_sum expt(glob_h, calc_term - 1) ------------------------------------, ord : 1, calc_term : 1, factorial_1(calc_term - 1) iii : glob_max_terms, while iii >= calc_term do (array_y_higher_work : 1, iii array_y_higher 1, iii --------------------------- expt(glob_h, calc_term - 1) -------------------------------------, iii : iii - 1), temp_sum : 0.0, factorial_3(iii - calc_term, iii - 1) ord : 1, calc_term : 1, iii : glob_max_terms, while iii >= calc_term do (temp_sum : array_y_higher_work + temp_sum, ord, iii iii : iii - 1), array_y_higher_work2 : ord, calc_term temp_sum expt(glob_h, calc_term - 1) ------------------------------------, term_no : glob_max_terms, factorial_1(calc_term - 1) while term_no >= 1 do (array_y : array_y_higher_work2 , term_no 1, term_no ord : 1, while ord <= order_diff do (array_y_higher : ord, term_no array_y_higher_work2 , ord : 1 + ord), term_no : term_no - 1)), ord, term_no omniout_str(ALWAYS, "Finished!"), if glob_iter >= glob_max_iter then omniout_str(ALWAYS, "Maximum Iterations Reached before Solution Completed!"), if elapsed_time_seconds() - convfloat(glob_orig_start_sec) >= convfloat(glob_max_sec) then omniout_str(ALWAYS, "Maximum Time Reached before Solution Completed!"), glob_clock_sec : elapsed_time_seconds(), omniout_str(INFO, "diff ( y , x , 1 ) = sin(sqrt(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-01-28T19:34:25-06:00"), logitem_str(html_log_file, "Maxima"), logitem_str(html_log_file, "sin_sqrt_lin"), logitem_str(html_log_file, "diff ( y , x , 1 ) = sin(sqrt(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 ), logitem_float(html_log_file, glob_h), 1 logitem_str(html_log_file, "16"), logitem_good_digits(html_log_file, array_last_rel_error ), logitem_integer(html_log_file, glob_max_terms), 1 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_pole(html_log_file, array_type_pole ), 1 if (array_type_pole = 1) or (array_type_pole = 2) 1 1 then (logitem_float(html_log_file, array_pole ), 1 logitem_float(html_log_file, array_pole ), 0) 2 else (logitem_str(html_log_file, "NA"), logitem_str(html_log_file, "NA"), 0), 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), log_revs(html_log_file, " 165 "), logitem_str(html_log_file, "sin_sqrt_lin diffeq.max"), logitem_str(html_log_file, "sin_sqrt_lin maxima results"), logitem_str(html_log_file, "All Tests - All Languages"), logend(html_log_file)), if glob_html_log then close(html_log_file))) (%i58) main() "##############ECHO OF PROBLEM#################" "##############temp/sin_sqrt_linpostode.ode#################" "diff ( y , x , 1 ) = sin(sqrt(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:5.0," "array_y_init[0 + 1] : exact_soln_y(x_start)," "glob_look_poles:true," "glob_max_iter:1000000," "/* END SECOND INPUT BLOCK */" "/* BEGIN OVERRIDE BLOCK */" "glob_desired_digits_correct:10," "glob_display_interval:0.001," "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 (x) := (block(" " (sin(sqrt(2.0*x+3.0))-sqrt(2.0*x+3.0)*cos(sqrt(2.0*x+3.0))) " "));" "/* END USER DEF BLOCK */" "#######END OF ECHO OF PROBLEM#################" "START of Optimize" min_size = 0.0 "" min_size = 1. "" opt_iter = 1 glob_desired_digits_correct = 10. "" desired_abs_gbl_error = 1.0000000000E-10 "" range = 4.9 "" estimated_steps = 4900. "" step_error = 2.040816326530612300000000000000E-14 "" est_needed_step_err = 2.040816326530612300000000000000E-14 "" hn_div_ho = 0.5 "" hn_div_ho_2 = 0.25 "" hn_div_ho_3 = 0.125 "" value3 = 1.2863598187787847000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-87 "" max_value3 = 1.2863598187787847000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-87 "" value3 = 1.2863598187787847000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-87 "" best_h = 1.000E-3 "" "START of Soultion" " " "TOP MAIN SOLVE Loop" x[1] = 0.1 " " y[1] (analytic) = 1.363309554731651 " " y[1] (numeric) = 1.363309554731651 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.101 " " y[1] (analytic) = 1.3642858136187175 " " y[1] (numeric) = 1.3642858136187177 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.627551959483227700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.10200000000000001 " " y[1] (analytic) = 1.3652619513042212 " " y[1] (numeric) = 1.365261951304221 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.626388289169813000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.10300000000000001 " " y[1] (analytic) = 1.3662379675212855 " " y[1] (numeric) = 1.3662379675212852 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.62522642616848480000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.10400000000000001 " " y[1] (analytic) = 1.3672138620033225 " " y[1] (numeric) = 1.3672138620033225 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.10500000000000001 " " y[1] (analytic) = 1.368189634484032 " " y[1] (numeric) = 1.3681896344840319 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.622908106658534600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.10600000000000001 " " y[1] (analytic) = 1.3691652846973996 " " y[1] (numeric) = 1.3691652846973996 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.10700000000000001 " " y[1] (analytic) = 1.3701408123776986 " " y[1] (numeric) = 1.3701408123776986 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.10800000000000001 " " y[1] (analytic) = 1.371116217259488 " " y[1] (numeric) = 1.3711162172594877 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.619444085993249300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.10900000000000001 " " y[1] (analytic) = 1.3720914990776119 " " y[1] (numeric) = 1.3720914990776119 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.11000000000000001 " " y[1] (analytic) = 1.3730666575672015 " " y[1] (numeric) = 1.3730666575672013 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.617143666706245500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.11100000000000002 " " y[1] (analytic) = 1.3740416924636718 " " y[1] (numeric) = 1.3740416924636716 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.615996124010639600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.11200000000000002 " " y[1] (analytic) = 1.375016603502723 " " y[1] (numeric) = 1.3750166035027227 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.614850354238588600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.11300000000000002 " " y[1] (analytic) = 1.3759913904203396 " " y[1] (numeric) = 1.3759913904203394 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.613706353621884300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.11400000000000002 " " y[1] (analytic) = 1.3769660529527903 " " y[1] (numeric) = 1.37696605295279 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.612564118402737300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.11500000000000002 " " y[1] (analytic) = 1.3779405908366276 " " y[1] (numeric) = 1.3779405908366271 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.22284728966747600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.11600000000000002 " " y[1] (analytic) = 1.3789150038086864 " " y[1] (numeric) = 1.3789150038086861 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.610284929177826800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.11700000000000002 " " y[1] (analytic) = 1.379889291606086 " " y[1] (numeric) = 1.3798892916060859 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.60914796770825200000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.11800000000000002 " " y[1] (analytic) = 1.3808634539662277 " " y[1] (numeric) = 1.3808634539662274 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.608012756708542500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.11900000000000002 " " y[1] (analytic) = 1.3818374906267945 " " y[1] (numeric) = 1.3818374906267943 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.606879292472467300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.12000000000000002 " " y[1] (analytic) = 1.382811401325752 " " y[1] (numeric) = 1.3828114013257518 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.605747571304004500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.12100000000000002 " " y[1] (analytic) = 1.3837851858013466 " " y[1] (numeric) = 1.3837851858013466 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.12200000000000003 " " y[1] (analytic) = 1.3847588437921072 " " y[1] (numeric) = 1.384758843792107 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.60348934343665900000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.12300000000000003 " " y[1] (analytic) = 1.385732375036842 " " y[1] (numeric) = 1.385732375036842 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.12400000000000003 " " y[1] (analytic) = 1.3867057792746411 " " y[1] (numeric) = 1.386705779274641 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.601238043741178800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.12500000000000003 " " y[1] (analytic) = 1.3876790562448733 " " y[1] (numeric) = 1.3876790562448733 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.12600000000000003 " " y[1] (analytic) = 1.3886522056871884 " " y[1] (numeric) = 1.3886522056871884 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.12700000000000003 " " y[1] (analytic) = 1.3896252273415153 " " y[1] (numeric) = 1.389625227341515 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.597874020679832300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.12800000000000003 " " y[1] (analytic) = 1.3905981209480613 " " y[1] (numeric) = 1.3905981209480611 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.59675611220910500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.12900000000000003 " " y[1] (analytic) = 1.3915708862473135 " " y[1] (numeric) = 1.3915708862473133 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.595639913995505800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.13000000000000003 " " y[1] (analytic) = 1.3925435229800365 " " y[1] (numeric) = 1.3925435229800363 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.594525422443220700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.13100000000000003 " " y[1] (analytic) = 1.3935160308872732 " " y[1] (numeric) = 1.3935160308872734 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.593412633966270800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.13200000000000003 " " y[1] (analytic) = 1.3944884097103452 " " y[1] (numeric) = 1.3944884097103452 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.13300000000000003 " " y[1] (analytic) = 1.3954606591908498 " " y[1] (numeric) = 1.3954606591908496 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.591192151943449700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.13400000000000004 " " y[1] (analytic) = 1.3964327790706619 " " y[1] (numeric) = 1.3964327790706619 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.13500000000000004 " " y[1] (analytic) = 1.3974047690919336 " " y[1] (numeric) = 1.3974047690919336 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.13600000000000004 " " y[1] (analytic) = 1.398376628997093 " " y[1] (numeric) = 1.398376628997093 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.13700000000000004 " " y[1] (analytic) = 1.3993483585288438 " " y[1] (numeric) = 1.3993483585288438 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.13800000000000004 " " y[1] (analytic) = 1.4003199574301655 " " y[1] (numeric) = 1.4003199574301657 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.58567050156538800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.13900000000000004 " " y[1] (analytic) = 1.4012914254443136 " " y[1] (numeric) = 1.4012914254443136 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.14000000000000004 " " y[1] (analytic) = 1.4022627623148178 " " y[1] (numeric) = 1.4022627623148176 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.583473589204394400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.14100000000000004 " " y[1] (analytic) = 1.4032339677854817 " " y[1] (numeric) = 1.403233967785482 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.582377636392680300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.14200000000000004 " " y[1] (analytic) = 1.404205041600385 " " y[1] (numeric) = 1.4042050416003853 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.581283347850433000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.14300000000000004 " " y[1] (analytic) = 1.40517598350388 " " y[1] (numeric) = 1.4051759835038802 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.580190720107181600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.14400000000000004 " " y[1] (analytic) = 1.4061467932405929 " " y[1] (numeric) = 1.406146793240593 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.579099749701874000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.14500000000000005 " " y[1] (analytic) = 1.407117470555423 " " y[1] (numeric) = 1.4071174705554232 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.578010433182845400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.14600000000000005 " " y[1] (analytic) = 1.408088015193543 " " y[1] (numeric) = 1.408088015193543 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.14700000000000005 " " y[1] (analytic) = 1.4090584269003974 " " y[1] (numeric) = 1.4090584269003976 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.575836748043713800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.14800000000000005 " " y[1] (analytic) = 1.4100287054217038 " " y[1] (numeric) = 1.410028705421704 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.574752372566935700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.14900000000000005 " " y[1] (analytic) = 1.4109988505034505 " " y[1] (numeric) = 1.4109988505034512 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.72100891178908130000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.15000000000000005 " " y[1] (analytic) = 1.4119688618918997 " " y[1] (numeric) = 1.4119688618918997 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.15100000000000005 " " y[1] (analytic) = 1.4129387393335815 " " y[1] (numeric) = 1.4129387393335817 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.57150907356223780000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.15200000000000005 " " y[1] (analytic) = 1.4139084825752994 " " y[1] (numeric) = 1.4139084825752997 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.570431238382545300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.15300000000000005 " " y[1] (analytic) = 1.4148780913641263 " " y[1] (numeric) = 1.414878091364127 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.708065089430103500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.15400000000000005 " " y[1] (analytic) = 1.415847565447407 " " y[1] (numeric) = 1.4158475654474072 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.56828044447613500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.15500000000000005 " " y[1] (analytic) = 1.4168169045727528 " " y[1] (numeric) = 1.4168169045727537 " " absolute error = 8.8817841970012520000000000000000E-16 " " relative error = 6.26882991608544800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.15600000000000006 " " y[1] (analytic) = 1.4177861084880488 " " y[1] (numeric) = 1.4177861084880492 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.13227226019055100000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.15700000000000006 " " y[1] (analytic) = 1.4187551769414457 " " y[1] (numeric) = 1.4187551769414464 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.69519918306938700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.15800000000000006 " " y[1] (analytic) = 1.419724109681365 " " y[1] (numeric) = 1.419724109681366 " " absolute error = 8.8817841970012520000000000000000E-16 " " relative error = 6.2559930738899890000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.15900000000000006 " " y[1] (analytic) = 1.4206929064564968 " " y[1] (numeric) = 1.420692906456498 " " absolute error = 1.1102230246251565000000000000000E-15 " " relative error = 7.81465874559959100000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.16000000000000006 " " y[1] (analytic) = 1.4216615670157993 " " y[1] (numeric) = 1.4216615670158 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.68560049895258230000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.16100000000000006 " " y[1] (analytic) = 1.4226300911084973 " " y[1] (numeric) = 1.422630091108498 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.682410550279096400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.16200000000000006 " " y[1] (analytic) = 1.423598478484085 " " y[1] (numeric) = 1.4235984784840854 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.11948359429935540000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.16300000000000006 " " y[1] (analytic) = 1.4245667288923225 " " y[1] (numeric) = 1.4245667288923232 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.67604501259866470000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.16400000000000006 " " y[1] (analytic) = 1.425534842083238 " " y[1] (numeric) = 1.4255348420832386 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.11524626926047400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.16500000000000006 " " y[1] (analytic) = 1.4265028178071253 " " y[1] (numeric) = 1.426502817807126 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.66969855551424900000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.16600000000000006 " " y[1] (analytic) = 1.4274706558145456 " " y[1] (numeric) = 1.4274706558145458 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.555510819228209400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.16700000000000007 " " y[1] (analytic) = 1.4284383558563243 " " y[1] (numeric) = 1.4284383558563247 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.108914067095592000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.16800000000000007 " " y[1] (analytic) = 1.429405917683554 " " y[1] (numeric) = 1.4294059176835547 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.66021447465816700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.16900000000000007 " " y[1] (analytic) = 1.4303733410475927 " " y[1] (numeric) = 1.4303733410475932 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.10470838001507770000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.17000000000000007 " " y[1] (analytic) = 1.4313406257000618 " " y[1] (numeric) = 1.4313406257000625 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.65391537705632460000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.17100000000000007 " " y[1] (analytic) = 1.432307771392849 " " y[1] (numeric) = 1.4323077713928496 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.6507728861047200000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.17200000000000007 " " y[1] (analytic) = 1.4332747778781052 " " y[1] (numeric) = 1.433274777878106 " " absolute error = 8.8817841970012520000000000000000E-16 " " relative error = 6.19684678338532500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.17300000000000007 " " y[1] (analytic) = 1.4342416449082467 " " y[1] (numeric) = 1.4342416449082473 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.64450197175601300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.17400000000000007 " " y[1] (analytic) = 1.4352083722359519 " " y[1] (numeric) = 1.4352083722359523 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.09424901945216100000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.17500000000000007 " " y[1] (analytic) = 1.436174959614163 " " y[1] (numeric) = 1.4361749596141637 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.63824975025365100000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.17600000000000007 " " y[1] (analytic) = 1.4371414067960866 " " y[1] (numeric) = 1.437141406796087 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.09008708363709140000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.17700000000000007 " " y[1] (analytic) = 1.4381077135351898 " " y[1] (numeric) = 1.4381077135351905 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.63201614528294500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.17800000000000007 " " y[1] (analytic) = 1.4390738795852043 " " y[1] (numeric) = 1.439073879585205 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.62890630025957400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.17900000000000008 " " y[1] (analytic) = 1.4400399047001227 " " y[1] (numeric) = 1.440039904700123 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.083867387289805000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.18000000000000008 " " y[1] (analytic) = 1.4410057886341996 " " y[1] (numeric) = 1.4410057886341998 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.540900159294207600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.18100000000000008 " " y[1] (analytic) = 1.4419715311419503 " " y[1] (numeric) = 1.441971531141951 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.619604481702618000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.18200000000000008 " " y[1] (analytic) = 1.4429371319781537 " " y[1] (numeric) = 1.4429371319781539 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.538837694339638700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.18300000000000008 " " y[1] (analytic) = 1.443902590897846 " " y[1] (numeric) = 1.4439025908978467 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.61342627248060600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.18400000000000008 " " y[1] (analytic) = 1.4448679076563276 " " y[1] (numeric) = 1.4448679076563278 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.53678134692051220000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.18500000000000008 " " y[1] (analytic) = 1.4458330820091558 " " y[1] (numeric) = 1.4458330820091563 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.07151091904017200000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.18600000000000008 " " y[1] (analytic) = 1.4467981137121506 " " y[1] (numeric) = 1.4467981137121508 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.534731092199975400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.18700000000000008 " " y[1] (analytic) = 1.447763002521389 " " y[1] (numeric) = 1.4477630025213897 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.601124725628237000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.18800000000000008 " " y[1] (analytic) = 1.44872774819321 " " y[1] (numeric) = 1.4487277481932104 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.06537381094488800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.18900000000000008 " " y[1] (analytic) = 1.4496923504842092 " " y[1] (numeric) = 1.4496923504842096 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.063334159842487400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.19000000000000009 " " y[1] (analytic) = 1.4506568091512422 " " y[1] (numeric) = 1.4506568091512426 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.061297524325499000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.1910000000000001 " " y[1] (analytic) = 1.4516211239514223 " " y[1] (numeric) = 1.4516211239514227 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.05926389829061060000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.1920000000000001 " " y[1] (analytic) = 1.4525852946421212 " " y[1] (numeric) = 1.4525852946421216 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.057233275650601500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.1930000000000001 " " y[1] (analytic) = 1.4535493209809678 " " y[1] (numeric) = 1.4535493209809687 " " absolute error = 8.8817841970012520000000000000000E-16 " " relative error = 6.11041130066858500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.1940000000000001 " " y[1] (analytic) = 1.45451320272585 " " y[1] (numeric) = 1.4545132027258505 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.053181016286488000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.1950000000000001 " " y[1] (analytic) = 1.45547693963491 " " y[1] (numeric) = 1.4554769396349108 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.576739051201910700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.1960000000000001 " " y[1] (analytic) = 1.4564405314665498 " " y[1] (numeric) = 1.4564405314665503 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.04914069785527700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.1970000000000001 " " y[1] (analytic) = 1.4574039779794254 " " y[1] (numeric) = 1.4574039779794261 " " absolute error = 6.6613381477509390000000000000000E-16 " " relative error = 4.57068750216144900000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.1980000000000001 " " y[1] (analytic) = 1.458367278932451 " " y[1] (numeric) = 1.4583672789324513 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.522556136116627600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.1990000000000001 " " y[1] (analytic) = 1.4593304340847948 " " y[1] (numeric) = 1.4593304340847952 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.04310250425613100000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2000000000000001 " " y[1] (analytic) = 1.460293443195882 " " y[1] (numeric) = 1.4602934431958825 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.041095691549256500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2010000000000001 " " y[1] (analytic) = 1.461256306025393 " " y[1] (numeric) = 1.4612563060253931 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.519545914083964600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2020000000000001 " " y[1] (analytic) = 1.462219022333262 " " y[1] (numeric) = 1.462219022333262 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2030000000000001 " " y[1] (analytic) = 1.4631815918796787 " " y[1] (numeric) = 1.4631815918796789 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.517546462840482800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2040000000000001 " " y[1] (analytic) = 1.4641440144250875 " " y[1] (numeric) = 1.4641440144250875 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2050000000000001 " " y[1] (analytic) = 1.4651062897301856 " " y[1] (numeric) = 1.4651062897301859 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.515552874774178000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2060000000000001 " " y[1] (analytic) = 1.4660684175559258 " " y[1] (numeric) = 1.4660684175559258 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2070000000000001 " " y[1] (analytic) = 1.467030397663512 " " y[1] (numeric) = 1.4670303976635124 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.0271302527701400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2080000000000001 " " y[1] (analytic) = 1.4679922298144037 " " y[1] (numeric) = 1.467992229814404 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.512573434759284200000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2090000000000001 " " y[1] (analytic) = 1.4689539137703118 " " y[1] (numeric) = 1.4689539137703116 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.511583194295846300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2100000000000001 " " y[1] (analytic) = 1.469915449293199 " " y[1] (numeric) = 1.4699154492931992 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.510594402091632600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2110000000000001 " " y[1] (analytic) = 1.4708768361452824 " " y[1] (numeric) = 1.4708768361452826 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.509607055251085400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2120000000000001 " " y[1] (analytic) = 1.4718380740890296 " " y[1] (numeric) = 1.4718380740890298 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.508621150886195500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2130000000000001 " " y[1] (analytic) = 1.47279916288716 " " y[1] (numeric) = 1.47279916288716 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2140000000000001 " " y[1] (analytic) = 1.473760102302644 " " y[1] (numeric) = 1.4737601023026443 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.506653658068925800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2150000000000001 " " y[1] (analytic) = 1.4747208920987043 " " y[1] (numeric) = 1.4747208920987047 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.0113441277560700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2160000000000001 " " y[1] (analytic) = 1.4756815320388132 " " y[1] (numeric) = 1.4756815320388137 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 3.009383801371462000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2170000000000001 " " y[1] (analytic) = 1.4766420218866942 " " y[1] (numeric) = 1.4766420218866945 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.503713165641369400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2180000000000001 " " y[1] (analytic) = 1.4776023614063205 " " y[1] (numeric) = 1.4776023614063205 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2190000000000001 " " y[1] (analytic) = 1.4785625503619144 " " y[1] (numeric) = 1.4785625503619146 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.501759968630887200000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2200000000000001 " " y[1] (analytic) = 1.4795225885179497 " " y[1] (numeric) = 1.4795225885179497 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2210000000000001 " " y[1] (analytic) = 1.480482475639148 " " y[1] (numeric) = 1.480482475639148 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.22200000000000011 " " y[1] (analytic) = 1.4814422114904802 " " y[1] (numeric) = 1.48144221149048 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.498840813383007500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.22300000000000011 " " y[1] (analytic) = 1.4824017958371656 " " y[1] (numeric) = 1.4824017958371658 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.497870587775662600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.22400000000000012 " " y[1] (analytic) = 1.483361228444673 " " y[1] (numeric) = 1.4833612284446733 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.496901770567702300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.22500000000000012 " " y[1] (analytic) = 1.4843205090787182 " " y[1] (numeric) = 1.4843205090787186 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 2.99186871793409400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.22600000000000012 " " y[1] (analytic) = 1.4852796375052657 " " y[1] (numeric) = 1.4852796375052657 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.22700000000000012 " " y[1] (analytic) = 1.486238613490526 " " y[1] (numeric) = 1.486238613490526 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.22800000000000012 " " y[1] (analytic) = 1.4871974368009586 " " y[1] (numeric) = 1.4871974368009586 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.22900000000000012 " " y[1] (analytic) = 1.4881561072032687 " " y[1] (numeric) = 1.488156107203269 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.492078713047958700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.23000000000000012 " " y[1] (analytic) = 1.4891146244644093 " " y[1] (numeric) = 1.4891146244644093 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.23100000000000012 " " y[1] (analytic) = 1.4900729883515784 " " y[1] (numeric) = 1.4900729883515784 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.23200000000000012 " " y[1] (analytic) = 1.4910311986322209 " " y[1] (numeric) = 1.491031198632221 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.489201601741943500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.23300000000000012 " " y[1] (analytic) = 1.491989255074028 " " y[1] (numeric) = 1.4919892550740277 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.488245335346025400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.23400000000000012 " " y[1] (analytic) = 1.4929471574449347 " " y[1] (numeric) = 1.4929471574449344 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.487290449750704700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.23500000000000013 " " y[1] (analytic) = 1.4939049055131224 " " y[1] (numeric) = 1.4939049055131224 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.23600000000000013 " " y[1] (analytic) = 1.4948624990470178 " " y[1] (numeric) = 1.4948624990470178 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.23700000000000013 " " y[1] (analytic) = 1.4958199378152912 " " y[1] (numeric) = 1.4958199378152914 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.4844340505939300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.23800000000000013 " " y[1] (analytic) = 1.4967772215868582 " " y[1] (numeric) = 1.4967772215868584 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.483484661061472700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.23900000000000013 " " y[1] (analytic) = 1.497734350130878 " " y[1] (numeric) = 1.4977343501308782 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.482536638794644500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.24000000000000013 " " y[1] (analytic) = 1.4986913232167534 " " y[1] (numeric) = 1.4986913232167534 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.24100000000000013 " " y[1] (analytic) = 1.4996481406141309 " " y[1] (numeric) = 1.4996481406141307 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.48064468531998700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.24200000000000013 " " y[1] (analytic) = 1.5006048020929 " " y[1] (numeric) = 1.5006048020929 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.24300000000000013 " " y[1] (analytic) = 1.5015613074231933 " " y[1] (numeric) = 1.5015613074231935 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.478758168762877300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.24400000000000013 " " y[1] (analytic) = 1.502517656375387 " " y[1] (numeric) = 1.5025176563753868 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.47781694266863220000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.24500000000000013 " " y[1] (analytic) = 1.5034738487200978 " " y[1] (numeric) = 1.5034738487200976 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.4768770678256699000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.24600000000000014 " " y[1] (analytic) = 1.5044298842281854 " " y[1] (numeric) = 1.5044298842281854 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.24700000000000014 " " y[1] (analytic) = 1.5053857626707519 " " y[1] (numeric) = 1.5053857626707519 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.24800000000000014 " " y[1] (analytic) = 1.5063414838191402 " " y[1] (numeric) = 1.5063414838191402 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.24900000000000014 " " y[1] (analytic) = 1.5072970474449345 " " y[1] (numeric) = 1.5072970474449345 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2500000000000001 " " y[1] (analytic) = 1.50825245331996 " " y[1] (numeric) = 1.5082524533199602 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.47219787003341200000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2510000000000001 " " y[1] (analytic) = 1.5092077012162832 " " y[1] (numeric) = 1.509207701216283 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.471266047384224800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2520000000000001 " " y[1] (analytic) = 1.5101627909062096 " " y[1] (numeric) = 1.5101627909062096 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2530000000000001 " " y[1] (analytic) = 1.5111177221622862 " " y[1] (numeric) = 1.5111177221622862 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2540000000000001 " " y[1] (analytic) = 1.512072494757299 " " y[1] (numeric) = 1.5120724947572994 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 2.936957132609854000000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2550000000000001 " " y[1] (analytic) = 1.5130271084642746 " " y[1] (numeric) = 1.513027108464275 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 2.9351041191906600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2560000000000001 " " y[1] (analytic) = 1.5139815630564781 " " y[1] (numeric) = 1.5139815630564781 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2570000000000001 " " y[1] (analytic) = 1.5149358583074126 " " y[1] (numeric) = 1.514935858307413 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 2.93140602233964300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2580000000000001 " " y[1] (analytic) = 1.5158899939908226 " " y[1] (numeric) = 1.5158899939908228 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.464780464316301800000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2590000000000001 " " y[1] (analytic) = 1.5168439698806884 " " y[1] (numeric) = 1.5168439698806886 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.46385923228805700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2600000000000001 " " y[1] (analytic) = 1.5177977857512301 " " y[1] (numeric) = 1.5177977857512304 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.46293931253253820000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2610000000000001 " " y[1] (analytic) = 1.5187514413769052 " " y[1] (numeric) = 1.5187514413769054 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.462020702503662700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2620000000000001 " " y[1] (analytic) = 1.519704936532409 " " y[1] (numeric) = 1.5197049365324091 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.461103399661793600000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2630000000000001 " " y[1] (analytic) = 1.5206582709926741 " " y[1] (numeric) = 1.5206582709926741 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2640000000000001 " " y[1] (analytic) = 1.52161144453287 " " y[1] (numeric) = 1.52161144453287 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2650000000000001 " " y[1] (analytic) = 1.5225644569284031 " " y[1] (numeric) = 1.5225644569284031 " " absolute error = 0.0 " " relative error = 0.0 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2660000000000001 " " y[1] (analytic) = 1.5235173079549167 " " y[1] (numeric) = 1.523517307954917 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.457447209596137700000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2670000000000001 " " y[1] (analytic) = 1.52446999738829 " " y[1] (numeric) = 1.5244699973882905 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 2.91307280963792500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.2680000000000001 " " y[1] (analytic) = 1.525422525004639 " " y[1] (numeric) = 1.5254225250046392 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.45562689212522300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.26900000000000013 " " y[1] (analytic) = 1.5263748905803136 " " y[1] (numeric) = 1.526374890580314 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 2.909437338039700400000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.27000000000000013 " " y[1] (analytic) = 1.5273270938919012 " " y[1] (numeric) = 1.5273270938919017 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 2.9076234660281200000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.27100000000000013 " " y[1] (analytic) = 1.528279134716224 " " y[1] (numeric) = 1.5282791347162241 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.452906081625339500000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.27200000000000013 " " y[1] (analytic) = 1.5292310128303377 " " y[1] (numeric) = 1.529231012830338 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.452001712377424300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.27300000000000013 " " y[1] (analytic) = 1.530182728011534 " " y[1] (numeric) = 1.5301827280115343 " " absolute error = 2.2204460492503130000000000000000E-16 " " relative error = 1.451098622800280300000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" " " "TOP MAIN SOLVE Loop" x[1] = 0.27400000000000013 " " y[1] (analytic) = 1.5311342800373389 " " y[1] (numeric) = 1.5311342800373393 " " absolute error = 4.4408920985006260000000000000000E-16 " " relative error = 2.900393620860169400000000000000E-14 "%" Correct digits = 16 h = 1.000E-3 " " "NO POLE for equation 1" "Finished!" "Maximum Time Reached before Solution Completed!" "diff ( y , x , 1 ) = sin(sqrt(2.0*x + 3.0));" Iterations = 175 "Total Elapsed Time "= 0 Years 0 Days 0 Hours 3 Minutes 2 Seconds "Elapsed Time(since restart) "= 0 Years 0 Days 0 Hours 3 Minutes 1 Seconds "Expected Time Remaining "= 0 Years 0 Days 1 Hours 21 Minutes 32 Seconds "Optimized Time Remaining "= 0 Years 0 Days 1 Hours 21 Minutes 3 Seconds "Expected Total Time "= 0 Years 0 Days 1 Hours 24 Minutes 5 Seconds "Time to Timeout " Unknown Percent Done = 3.5918367346938798 "%" (%o58) true (%o58) diffeq.max