(%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_0D1 array_x ,
1 1 1
array_tmp2 : array_const_0D2 + array_tmp1 , array_tmp3 : sqrt(array_tmp2 ),
1 1 1 1 1
array_tmp4 : sinh(array_tmp3 ), array_tmp4_g : cosh(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_0D1 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), array_tmp5 : array_tmp4 ,
2 2 2
if not array_y_set_initial then (if 2 <= glob_max_terms
1, 3
then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(1, 2),
2
array_y : temporary, array_y_higher : temporary,
3 1, 3
temporary 2.0
temporary : -------------, array_y_higher : temporary, 0)), kkk : 3,
glob_h 2, 2
- ats(3, array_tmp3, array_tmp3, 2)
-----------------------------------
array_tmp3
1
array_tmp3 : 0.0, array_tmp3 : -----------------------------------,
3 3 2.0
array_tmp4 : att(2, array_tmp4_g, array_tmp3, 1),
3
array_tmp4_g : att(2, array_tmp4, array_tmp3, 1), array_tmp5 : array_tmp4 ,
3 3 3
if not array_y_set_initial then (if 3 <= glob_max_terms
1, 4
then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(2, 3),
3
array_y : temporary, array_y_higher : temporary,
4 1, 4
temporary 3.0
temporary : -------------, array_y_higher : temporary, 0)), kkk : 4,
glob_h 2, 3
- ats(4, array_tmp3, array_tmp3, 2)
-----------------------------------
array_tmp3
1
array_tmp3 : 0.0, array_tmp3 : -----------------------------------,
4 4 2.0
array_tmp4 : att(3, array_tmp4_g, array_tmp3, 1),
4
array_tmp4_g : att(3, array_tmp4, array_tmp3, 1), array_tmp5 : array_tmp4 ,
4 4 4
if not array_y_set_initial then (if 4 <= glob_max_terms
1, 5
then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(3, 4),
4
array_y : temporary, array_y_higher : temporary,
5 1, 5
temporary 4.0
temporary : -------------, array_y_higher : temporary, 0)), kkk : 5,
glob_h 2, 4
- ats(5, array_tmp3, array_tmp3, 2)
-----------------------------------
array_tmp3
1
array_tmp3 : 0.0, array_tmp3 : -----------------------------------,
5 5 2.0
array_tmp4 : att(4, array_tmp4_g, array_tmp3, 1),
5
array_tmp4_g : att(4, array_tmp4, array_tmp3, 1), array_tmp5 : array_tmp4 ,
5 5 5
if not array_y_set_initial then (if 5 <= glob_max_terms
1, 6
then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(4, 5),
5
array_y : temporary, array_y_higher : temporary,
6 1, 6
temporary 5.0
temporary : -------------, array_y_higher : temporary, 0)), kkk : 6,
glob_h 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_0D1 array_x ,
1 1 1
array_tmp2 : array_const_0D2 + array_tmp1 , array_tmp3 : sqrt(array_tmp2 ),
1 1 1 1 1
array_tmp4 : sinh(array_tmp3 ), array_tmp4_g : cosh(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_0D1 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), array_tmp5 : array_tmp4 ,
2 2 2
if not array_y_set_initial then (if 2 <= glob_max_terms
1, 3
then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(1, 2),
2
array_y : temporary, array_y_higher : temporary,
3 1, 3
temporary 2.0
temporary : -------------, array_y_higher : temporary, 0)), kkk : 3,
glob_h 2, 2
- ats(3, array_tmp3, array_tmp3, 2)
-----------------------------------
array_tmp3
1
array_tmp3 : 0.0, array_tmp3 : -----------------------------------,
3 3 2.0
array_tmp4 : att(2, array_tmp4_g, array_tmp3, 1),
3
array_tmp4_g : att(2, array_tmp4, array_tmp3, 1), array_tmp5 : array_tmp4 ,
3 3 3
if not array_y_set_initial then (if 3 <= glob_max_terms
1, 4
then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(2, 3),
3
array_y : temporary, array_y_higher : temporary,
4 1, 4
temporary 3.0
temporary : -------------, array_y_higher : temporary, 0)), kkk : 4,
glob_h 2, 3
- ats(4, array_tmp3, array_tmp3, 2)
-----------------------------------
array_tmp3
1
array_tmp3 : 0.0, array_tmp3 : -----------------------------------,
4 4 2.0
array_tmp4 : att(3, array_tmp4_g, array_tmp3, 1),
4
array_tmp4_g : att(3, array_tmp4, array_tmp3, 1), array_tmp5 : array_tmp4 ,
4 4 4
if not array_y_set_initial then (if 4 <= glob_max_terms
1, 5
then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(3, 4),
4
array_y : temporary, array_y_higher : temporary,
5 1, 5
temporary 4.0
temporary : -------------, array_y_higher : temporary, 0)), kkk : 5,
glob_h 2, 4
- ats(5, array_tmp3, array_tmp3, 2)
-----------------------------------
array_tmp3
1
array_tmp3 : 0.0, array_tmp3 : -----------------------------------,
5 5 2.0
array_tmp4 : att(4, array_tmp4_g, array_tmp3, 1),
5
array_tmp4_g : att(4, array_tmp4, array_tmp3, 1), array_tmp5 : array_tmp4 ,
5 5 5
if not array_y_set_initial then (if 5 <= glob_max_terms
1, 6
then (temporary : array_tmp5 expt(glob_h, 1) factorial_3(4, 5),
5
array_y : temporary, array_y_higher : temporary,
6 1, 6
temporary 5.0
temporary : -------------, array_y_higher : temporary, 0)), kkk : 6,
glob_h 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(20.0 sqrt(0.2 + 0.1 x) cosh(sqrt(0.2 + 0.1 x))
- 20.0 sinh(sqrt(0.2 + 0.1 x)))
(%o56) exact_soln_y(x) := block(20.0 sqrt(0.2 + 0.1 x) cosh(sqrt(0.2 + 0.1 x))
- 20.0 sinh(sqrt(0.2 + 0.1 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/sinh_sqrtpostode.ode#################"),
omniout_str(ALWAYS, "diff ( y , x , 1 ) = sinh(sqrt(0.1 * x + 0.2));"),
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, " (20.\
0 * sqrt(0.1 * x + 0.2) * cosh( sqrt(0.1 * x + 0.2)) - 20.0 * sinh( sqrt(0.1 *\
x + 0.2))) "), 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_0D1, 1 + 1 + max_terms), term : 1,
1
while term <= 1 + max_terms do (array_const_0D1 : 0.0, term : 1 + term),
term
array_const_0D1 : 0.1, array(array_const_0D2, 1 + 1 + max_terms), term : 1,
1
while term <= 1 + max_terms do (array_const_0D2 : 0.0, term : 1 + term),
term
array_const_0D2 : 0.2, 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 ) = sinh(sqrt(0.1 * x + 0.2));"),
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:24:57-06:00"), logitem_str(html_log_file, "Maxima"),
logitem_str(html_log_file, "sinh_sqrt"),
logitem_str(html_log_file, "diff ( y , x , 1 ) = sinh(sqrt(0.1 * x + 0.2));"),
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, "sinh_sqrt diffeq.max"),
logitem_str(html_log_file,
"sinh_sqrt 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/sinh_sqrtpostode.ode#################"),
omniout_str(ALWAYS, "diff ( y , x , 1 ) = sinh(sqrt(0.1 * x + 0.2));"),
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, " (20.\
0 * sqrt(0.1 * x + 0.2) * cosh( sqrt(0.1 * x + 0.2)) - 20.0 * sinh( sqrt(0.1 *\
x + 0.2))) "), 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_0D1, 1 + 1 + max_terms), term : 1,
1
while term <= 1 + max_terms do (array_const_0D1 : 0.0, term : 1 + term),
term
array_const_0D1 : 0.1, array(array_const_0D2, 1 + 1 + max_terms), term : 1,
1
while term <= 1 + max_terms do (array_const_0D2 : 0.0, term : 1 + term),
term
array_const_0D2 : 0.2, 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 ) = sinh(sqrt(0.1 * x + 0.2));"),
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:24:57-06:00"), logitem_str(html_log_file, "Maxima"),
logitem_str(html_log_file, "sinh_sqrt"),
logitem_str(html_log_file, "diff ( y , x , 1 ) = sinh(sqrt(0.1 * x + 0.2));"),
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, "sinh_sqrt diffeq.max"),
logitem_str(html_log_file,
"sinh_sqrt 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/sinh_sqrtpostode.ode#################"
"diff ( y , x , 1 ) = sinh(sqrt(0.1 * x + 0.2));"
"!"
"/* 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("
" (20.0 * sqrt(0.1 * x + 0.2) * cosh( sqrt(0.1 * x + 0.2)) - 20.0 * sinh( sqrt(0.1 * x + 0.2))) "
"));"
"/* 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 = 3.5455006639164294000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-91 ""
max_value3 = 3.5455006639164294000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-91 ""
value3 = 3.5455006639164294000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-91 ""
best_h = 1.000E-3 ""
"START of Soultion"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1 " "
y[1] (analytic) = 0.655134809526178 " "
y[1] (numeric) = 0.655134809526178 " "
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) = 0.6556093357445629 " "
y[1] (numeric) = 0.6556093357445618 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.69342162183260790000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.10200000000000001 " "
y[1] (analytic) = 0.6560839827071323 " "
y[1] (numeric) = 0.6560839827071311 " "
absolute error = 1.2212453270876722000000000000000E-15 " "
relative error = 1.86141615902368520000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.10300000000000001 " "
y[1] (analytic) = 0.6565587503908095 " "
y[1] (numeric) = 0.656558750390807 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.72014028100528470000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.10400000000000001 " "
y[1] (analytic) = 0.657033638772532 " "
y[1] (numeric) = 0.6570336387725287 " "
absolute error = 3.219646771412954000000000000000E-15 " "
relative error = 4.9002769134132730000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.10500000000000001 " "
y[1] (analytic) = 0.6575086478292533 " "
y[1] (numeric) = 0.6575086478292531 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 3.37705984032461700000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.10600000000000001 " "
y[1] (analytic) = 0.6579837775379573 " "
y[1] (numeric) = 0.657983777537955 " "
absolute error = 2.3314683517128287000000000000000E-15 " "
relative error = 3.5433523307165920000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.10700000000000001 " "
y[1] (analytic) = 0.6584590278756277 " "
y[1] (numeric) = 0.6584590278756269 " "
absolute error = 7.7715611723760960000000000000000E-16 " "
relative error = 1.18026495854257130000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.10800000000000001 " "
y[1] (analytic) = 0.6589343988192802 " "
y[1] (numeric) = 0.6589343988192795 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 1.01092584628866570000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.10900000000000001 " "
y[1] (analytic) = 0.6594098903459429 " "
y[1] (numeric) = 0.6594098903459409 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 3.0305906441240520000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11000000000000001 " "
y[1] (analytic) = 0.6598855024326582 " "
y[1] (numeric) = 0.6598855024326571 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.68244797094698360000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11100000000000002 " "
y[1] (analytic) = 0.6603612350564951 " "
y[1] (numeric) = 0.6603612350564919 " "
absolute error = 3.219646771412954000000000000000E-15 " "
relative error = 4.8755841507527425000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11200000000000002 " "
y[1] (analytic) = 0.660837088194528 " "
y[1] (numeric) = 0.6608370881945268 " "
absolute error = 1.2212453270876722000000000000000E-15 " "
relative error = 1.84802782547243940000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11300000000000002 " "
y[1] (analytic) = 0.6613130618238614 " "
y[1] (numeric) = 0.661313061823861 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 6.71526445622125600000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11400000000000002 " "
y[1] (analytic) = 0.6617891559216122 " "
y[1] (numeric) = 0.6617891559216112 " "
absolute error = 9.9920072216264090000000000000000E-16 " "
relative error = 1.50984752956724870000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11500000000000002 " "
y[1] (analytic) = 0.6622653704649135 " "
y[1] (numeric) = 0.6622653704649122 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 2.01168245987998650000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11600000000000002 " "
y[1] (analytic) = 0.6627417054309177 " "
y[1] (numeric) = 0.662741705430916 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.51279574424085300000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11700000000000002 " "
y[1] (analytic) = 0.6632181607967933 " "
y[1] (numeric) = 0.6632181607967926 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 1.00439622156123970000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11800000000000002 " "
y[1] (analytic) = 0.6636947365397301 " "
y[1] (numeric) = 0.6636947365397293 " "
absolute error = 7.7715611723760960000000000000000E-16 " "
relative error = 1.1709541668047979000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11900000000000002 " "
y[1] (analytic) = 0.6641714326369339 " "
y[1] (numeric) = 0.664171432636931 " "
absolute error = 2.886579864025407000000000000000E-15 " "
relative error = 4.3461367384696620000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12000000000000002 " "
y[1] (analytic) = 0.6646482490656211 " "
y[1] (numeric) = 0.6646482490656204 " "
absolute error = 7.7715611723760960000000000000000E-16 " "
relative error = 1.1692743016026219000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12100000000000002 " "
y[1] (analytic) = 0.6651251858030403 " "
y[1] (numeric) = 0.6651251858030375 " "
absolute error = 2.7755575615628914000000000000000E-15 " "
relative error = 4.17298520760692070000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12200000000000003 " "
y[1] (analytic) = 0.6656022428264432 " "
y[1] (numeric) = 0.6656022428264399 " "
absolute error = 3.3306690738754696000000000000000E-15 " "
relative error = 5.0039931652453080000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12300000000000003 " "
y[1] (analytic) = 0.6660794201131033 " "
y[1] (numeric) = 0.6660794201131026 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 1.00008166392827650000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12400000000000003 " "
y[1] (analytic) = 0.6665567176403204 " "
y[1] (numeric) = 0.6665567176403183 " "
absolute error = 2.1094237467877974000000000000000E-15 " "
relative error = 3.16465754670566600000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12500000000000003 " "
y[1] (analytic) = 0.6670341353853981 " "
y[1] (numeric) = 0.667034135385397 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.66441710510616260000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12600000000000003 " "
y[1] (analytic) = 0.6675116733256665 " "
y[1] (numeric) = 0.6675116733256662 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 4.989679142660473600000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12700000000000003 " "
y[1] (analytic) = 0.6679893314384717 " "
y[1] (numeric) = 0.6679893314384707 " "
absolute error = 9.9920072216264090000000000000000E-16 " "
relative error = 1.4958333541209810000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12800000000000003 " "
y[1] (analytic) = 0.6684671097011758 " "
y[1] (numeric) = 0.6684671097011727 " "
absolute error = 3.1086244689504383000000000000000E-15 " "
relative error = 4.6503775935065580000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12900000000000003 " "
y[1] (analytic) = 0.6689450080911552 " "
y[1] (numeric) = 0.668945008091152 " "
absolute error = 3.219646771412954000000000000000E-15 " "
relative error = 4.8130215973959733000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13000000000000003 " "
y[1] (analytic) = 0.6694230265858057 " "
y[1] (numeric) = 0.6694230265858054 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 3.316954991188519300000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13100000000000003 " "
y[1] (analytic) = 0.6699011651625497 " "
y[1] (numeric) = 0.6699011651625474 " "
absolute error = 2.3314683517128287000000000000000E-15 " "
relative error = 3.48031690786372100000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13200000000000003 " "
y[1] (analytic) = 0.6703794237988117 " "
y[1] (numeric) = 0.6703794237988094 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 3.31222285533139150000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13300000000000003 " "
y[1] (analytic) = 0.6708578024720406 " "
y[1] (numeric) = 0.6708578024720404 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 3.30986095871316100000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13400000000000004 " "
y[1] (analytic) = 0.6713363011597071 " "
y[1] (numeric) = 0.6713363011597065 " "
absolute error = 5.5511151231257830000000000000000E-16 " "
relative error = 8.2687545922013300000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13500000000000004 " "
y[1] (analytic) = 0.671814919839294 " "
y[1] (numeric) = 0.6718149198392913 " "
absolute error = 2.6645352591003757000000000000000E-15 " "
relative error = 3.96617458233551000000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13600000000000004 " "
y[1] (analytic) = 0.6722936584883001 " "
y[1] (numeric) = 0.6722936584882954 " "
absolute error = 4.773959005888173000000000000000E-15 " "
relative error = 7.1010025836369750000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13700000000000004 " "
y[1] (analytic) = 0.6727725170842387 " "
y[1] (numeric) = 0.6727725170842365 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 3.30044107460514550000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13800000000000004 " "
y[1] (analytic) = 0.6732514956046529 " "
y[1] (numeric) = 0.6732514956046497 " "
absolute error = 3.219646771412954000000000000000E-15 " "
relative error = 4.7822348593839530000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13900000000000004 " "
y[1] (analytic) = 0.6737305940270897 " "
y[1] (numeric) = 0.6737305940270872 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.6253224594950423000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14000000000000004 " "
y[1] (analytic) = 0.6742098123291189 " "
y[1] (numeric) = 0.6742098123291185 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 6.58681024406803200000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14100000000000004 " "
y[1] (analytic) = 0.6746891504883301 " "
y[1] (numeric) = 0.6746891504883299 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 3.29106529672692500000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14200000000000004 " "
y[1] (analytic) = 0.675168608482327 " "
y[1] (numeric) = 0.6751686084823251 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.79541897853529950000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14300000000000004 " "
y[1] (analytic) = 0.6756481862887256 " "
y[1] (numeric) = 0.6756481862887246 " "
absolute error = 9.9920072216264090000000000000000E-16 " "
relative error = 1.47887723587502000000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14400000000000004 " "
y[1] (analytic) = 0.6761278838851688 " "
y[1] (numeric) = 0.6761278838851663 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.61246845809744530000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14500000000000005 " "
y[1] (analytic) = 0.6766077012493046 " "
y[1] (numeric) = 0.6766077012493049 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 4.922600005476796500000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14600000000000005 " "
y[1] (analytic) = 0.6770876383588131 " "
y[1] (numeric) = 0.6770876383588121 " "
absolute error = 9.9920072216264090000000000000000E-16 " "
relative error = 1.4757332220458122000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14700000000000005 " "
y[1] (analytic) = 0.677567695191378 " "
y[1] (numeric) = 0.6775676951913769 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.63854184977277520000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14800000000000005 " "
y[1] (analytic) = 0.6780478717247078 " "
y[1] (numeric) = 0.6780478717247049 " "
absolute error = 2.886579864025407000000000000000E-15 " "
relative error = 4.25719183615014540000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14900000000000005 " "
y[1] (analytic) = 0.6785281679365216 " "
y[1] (numeric) = 0.6785281679365189 " "
absolute error = 2.6645352591003757000000000000000E-15 " "
relative error = 3.92693389163712800000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15000000000000005 " "
y[1] (analytic) = 0.6790085838045599 " "
y[1] (numeric) = 0.6790085838045586 " "
absolute error = 1.2212453270876722000000000000000E-15 " "
relative error = 1.79857126436443580000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15100000000000005 " "
y[1] (analytic) = 0.6794891193065826 " "
y[1] (numeric) = 0.6794891193065807 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.7776443922881840000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15200000000000005 " "
y[1] (analytic) = 0.6799697744203606 " "
y[1] (numeric) = 0.6799697744203587 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.7756809388647610000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15300000000000005 " "
y[1] (analytic) = 0.6804505491236856 " "
y[1] (numeric) = 0.6804505491236829 " "
absolute error = 2.7755575615628914000000000000000E-15 " "
relative error = 4.07899966446845730000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15400000000000005 " "
y[1] (analytic) = 0.6809314433943623 " "
y[1] (numeric) = 0.6809314433943605 " "
absolute error = 1.7763568394002505000000000000000E-15 " "
relative error = 2.60871612940257600000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15500000000000005 " "
y[1] (analytic) = 0.681412457210218 " "
y[1] (numeric) = 0.6814124572102158 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 3.25859327306852850000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15600000000000006 " "
y[1] (analytic) = 0.681893590549091 " "
y[1] (numeric) = 0.6818935905490896 " "
absolute error = 1.4432899320127035000000000000000E-15 " "
relative error = 2.11659113975613430000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15700000000000006 " "
y[1] (analytic) = 0.6823748433888408 " "
y[1] (numeric) = 0.6823748433888397 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.62699876084457740000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15800000000000006 " "
y[1] (analytic) = 0.6828562157073428 " "
y[1] (numeric) = 0.6828562157073407 " "
absolute error = 2.1094237467877974000000000000000E-15 " "
relative error = 3.0891184677915420000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15900000000000006 " "
y[1] (analytic) = 0.6833377074824849 " "
y[1] (numeric) = 0.6833377074824837 " "
absolute error = 1.2212453270876722000000000000000E-15 " "
relative error = 1.78717684347746130000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16000000000000006 " "
y[1] (analytic) = 0.6838193186921782 " "
y[1] (numeric) = 0.6838193186921768 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 1.94827433670371230000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16100000000000006 " "
y[1] (analytic) = 0.684301049314346 " "
y[1] (numeric) = 0.6843010493143449 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.62241900072720130000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16200000000000006 " "
y[1] (analytic) = 0.6847828993269314 " "
y[1] (numeric) = 0.6847828993269294 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 2.91829928330496760000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16300000000000006 " "
y[1] (analytic) = 0.6852648687078915 " "
y[1] (numeric) = 0.6852648687078884 " "
absolute error = 3.1086244689504383000000000000000E-15 " "
relative error = 4.53638382894476800000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16400000000000006 " "
y[1] (analytic) = 0.6857469574351978 " "
y[1] (numeric) = 0.6857469574351966 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.61899810504091270000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16500000000000006 " "
y[1] (analytic) = 0.6862291654868482 " "
y[1] (numeric) = 0.6862291654868458 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.55929298406095700000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16600000000000006 " "
y[1] (analytic) = 0.6867114928408462 " "
y[1] (numeric) = 0.6867114928408438 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.55679303410380100000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16700000000000007 " "
y[1] (analytic) = 0.6871939394752165 " "
y[1] (numeric) = 0.6871939394752153 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.61558908024274940000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16800000000000007 " "
y[1] (analytic) = 0.6876765053680014 " "
y[1] (numeric) = 0.6876765053680018 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 6.45782146668532600000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16900000000000007 " "
y[1] (analytic) = 0.688159190497263 " "
y[1] (numeric) = 0.6881591904972612 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.7426490380793260000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17000000000000007 " "
y[1] (analytic) = 0.6886419948410687 " "
y[1] (numeric) = 0.6886419948410676 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.61219186884091230000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17100000000000007 " "
y[1] (analytic) = 0.6891249183775141 " "
y[1] (numeric) = 0.6891249183775122 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.73880553660204250000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17200000000000007 " "
y[1] (analytic) = 0.6896079610847039 " "
y[1] (numeric) = 0.6896079610847025 " "
absolute error = 1.4432899320127035000000000000000E-15 " "
relative error = 2.09291367481099250000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17300000000000007 " "
y[1] (analytic) = 0.690091122940764 " "
y[1] (numeric) = 0.6900911229407622 " "
absolute error = 1.7763568394002505000000000000000E-15 " "
relative error = 2.57409026192143800000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17400000000000007 " "
y[1] (analytic) = 0.6905744039238364 " "
y[1] (numeric) = 0.690574403923832 " "
absolute error = 4.440892098500626000000000000000E-15 " "
relative error = 6.4307221253315000000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17500000000000007 " "
y[1] (analytic) = 0.6910578040120701 " "
y[1] (numeric) = 0.6910578040120685 " "
absolute error = 1.5543122344752192000000000000000E-15 " "
relative error = 2.24917832553421430000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17600000000000007 " "
y[1] (analytic) = 0.6915413231836478 " "
y[1] (numeric) = 0.6915413231836453 " "
absolute error = 2.55351295663786000000000000000E-15 " "
relative error = 3.69249511349843240000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17700000000000007 " "
y[1] (analytic) = 0.6920249614167542 " "
y[1] (numeric) = 0.6920249614167518 " "
absolute error = 2.3314683517128287000000000000000E-15 " "
relative error = 3.3690523921849720000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17800000000000007 " "
y[1] (analytic) = 0.6925087186895968 " "
y[1] (numeric) = 0.6925087186895945 " "
absolute error = 2.3314683517128287000000000000000E-15 " "
relative error = 3.366698914815920000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17900000000000008 " "
y[1] (analytic) = 0.6929925949803977 " "
y[1] (numeric) = 0.6929925949803957 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 2.883726981789480000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18000000000000008 " "
y[1] (analytic) = 0.6934765902673963 " "
y[1] (numeric) = 0.6934765902673942 " "
absolute error = 2.1094237467877974000000000000000E-15 " "
relative error = 3.0418095958717640000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18100000000000008 " "
y[1] (analytic) = 0.6939607045288465 " "
y[1] (numeric) = 0.6939607045288453 " "
absolute error = 1.2212453270876722000000000000000E-15 " "
relative error = 1.75981913546072760000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18200000000000008 " "
y[1] (analytic) = 0.6944449377430235 " "
y[1] (numeric) = 0.6944449377430205 " "
absolute error = 2.9976021664879227000000000000000E-15 " "
relative error = 4.3165440534857390000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18300000000000008 " "
y[1] (analytic) = 0.6949292898882096 " "
y[1] (numeric) = 0.6949292898882077 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.71592976339561250000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18400000000000008 " "
y[1] (analytic) = 0.6954137609427136 " "
y[1] (numeric) = 0.6954137609427109 " "
absolute error = 2.6645352591003757000000000000000E-15 " "
relative error = 3.8315825897495770000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18500000000000008 " "
y[1] (analytic) = 0.6958983508848515 " "
y[1] (numeric) = 0.6958983508848505 " "
absolute error = 9.9920072216264090000000000000000E-16 " "
relative error = 1.43584292288109760000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18600000000000008 " "
y[1] (analytic) = 0.6963830596929661 " "
y[1] (numeric) = 0.6963830596929632 " "
absolute error = 2.886579864025407000000000000000E-15 " "
relative error = 4.1451035085461363000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18700000000000008 " "
y[1] (analytic) = 0.6968678873454053 " "
y[1] (numeric) = 0.6968678873454017 " "
absolute error = 3.552713678800501000000000000000E-15 " "
relative error = 5.0981165057467840000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18800000000000008 " "
y[1] (analytic) = 0.6973528338205384 " "
y[1] (numeric) = 0.6973528338205353 " "
absolute error = 3.1086244689504383000000000000000E-15 " "
relative error = 4.4577498192979790000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18900000000000008 " "
y[1] (analytic) = 0.6978378990967506 " "
y[1] (numeric) = 0.697837899096749 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.38642031207142450000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.19000000000000009 " "
y[1] (analytic) = 0.698323083152447 " "
y[1] (numeric) = 0.6983230831524443 " "
absolute error = 2.6645352591003757000000000000000E-15 " "
relative error = 3.81561962275661470000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1910000000000001 " "
y[1] (analytic) = 0.6988083859660392 " "
y[1] (numeric) = 0.6988083859660387 " "
absolute error = 5.5511151231257830000000000000000E-16 " "
relative error = 7.9436870458442900000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1920000000000001 " "
y[1] (analytic) = 0.6992938075159696 " "
y[1] (numeric) = 0.6992938075159659 " "
absolute error = 3.6637359812630166000000000000000E-15 " "
relative error = 5.2391940867849730000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1930000000000001 " "
y[1] (analytic) = 0.6997793477806784 " "
y[1] (numeric) = 0.6997793477806759 " "
absolute error = 2.55351295663786000000000000000E-15 " "
relative error = 3.6490258889980420000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1940000000000001 " "
y[1] (analytic) = 0.7002650067386362 " "
y[1] (numeric) = 0.7002650067386343 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.69523555182760000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1950000000000001 " "
y[1] (analytic) = 0.7007507843683243 " "
y[1] (numeric) = 0.7007507843683234 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 1.26746689338457650000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1960000000000001 " "
y[1] (analytic) = 0.7012366806482451 " "
y[1] (numeric) = 0.701236680648241 " "
absolute error = 4.107825191113079000000000000000E-15 " "
relative error = 5.8579724998351170000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1970000000000001 " "
y[1] (analytic) = 0.7017226955569029 " "
y[1] (numeric) = 0.7017226955569013 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.37320888647628540000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1980000000000001 " "
y[1] (analytic) = 0.7022088290728377 " "
y[1] (numeric) = 0.7022088290728343 " "
absolute error = 3.3306690738754696000000000000000E-15 " "
relative error = 4.7431318661616990000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1990000000000001 " "
y[1] (analytic) = 0.7026950811745891 " "
y[1] (numeric) = 0.7026950811745862 " "
absolute error = 2.886579864025407000000000000000E-15 " "
relative error = 4.1078697451536844000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2000000000000001 " "
y[1] (analytic) = 0.7031814518407202 " "
y[1] (numeric) = 0.7031814518407191 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.5788570954465910000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2010000000000001 " "
y[1] (analytic) = 0.7036679410498152 " "
y[1] (numeric) = 0.703667941049811 " "
absolute error = 4.218847493575595000000000000000E-15 " "
relative error = 5.9955090284224380000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2020000000000001 " "
y[1] (analytic) = 0.7041545487804584 " "
y[1] (numeric) = 0.7041545487804559 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.46868547310466240000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2030000000000001 " "
y[1] (analytic) = 0.7046412750112658 " "
y[1] (numeric) = 0.7046412750112637 " "
absolute error = 2.1094237467877974000000000000000E-15 " "
relative error = 2.99361366072981140000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2040000000000001 " "
y[1] (analytic) = 0.7051281197208628 " "
y[1] (numeric) = 0.7051281197208603 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.46389625638847950000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2050000000000001 " "
y[1] (analytic) = 0.7056150828878902 " "
y[1] (numeric) = 0.7056150828878874 " "
absolute error = 2.7755575615628914000000000000000E-15 " "
relative error = 3.9335292411881145000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2060000000000001 " "
y[1] (analytic) = 0.7061021644910035 " "
y[1] (numeric) = 0.7061021644910026 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 1.25786106368951880000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2070000000000001 " "
y[1] (analytic) = 0.706589364508881 " "
y[1] (numeric) = 0.7065893645088794 " "
absolute error = 1.5543122344752192000000000000000E-15 " "
relative error = 2.1997390741304929000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2080000000000001 " "
y[1] (analytic) = 0.7070766829202082 " "
y[1] (numeric) = 0.7070766829202071 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.57015929310518970000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2090000000000001 " "
y[1] (analytic) = 0.7075641197036937 " "
y[1] (numeric) = 0.7075641197036907 " "
absolute error = 2.9976021664879227000000000000000E-15 " "
relative error = 4.23650957279069930000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2100000000000001 " "
y[1] (analytic) = 0.7080516748380532 " "
y[1] (numeric) = 0.7080516748380513 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.66559519443895200000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2110000000000001 " "
y[1] (analytic) = 0.708539348302029 " "
y[1] (numeric) = 0.7085393483020256 " "
absolute error = 3.4416913763379850000000000000000E-15 " "
relative error = 4.8574456515164427000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2120000000000001 " "
y[1] (analytic) = 0.7090271400743688 " "
y[1] (numeric) = 0.709027140074366 " "
absolute error = 2.886579864025407000000000000000E-15 " "
relative error = 4.0711838812300440000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2130000000000001 " "
y[1] (analytic) = 0.7095150501338416 " "
y[1] (numeric) = 0.7095150501338406 " "
absolute error = 9.9920072216264090000000000000000E-16 " "
relative error = 1.40828686012249270000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2140000000000001 " "
y[1] (analytic) = 0.7100030784592359 " "
y[1] (numeric) = 0.7100030784592336 " "
absolute error = 2.3314683517128287000000000000000E-15 " "
relative error = 3.2837440040010857000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2150000000000001 " "
y[1] (analytic) = 0.7104912250293474 " "
y[1] (numeric) = 0.7104912250293445 " "
absolute error = 2.886579864025407000000000000000E-15 " "
relative error = 4.0627945319186380000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2160000000000001 " "
y[1] (analytic) = 0.7109794898229911 " "
y[1] (numeric) = 0.7109794898229886 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.4353883468332380000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2170000000000001 " "
y[1] (analytic) = 0.7114678728189983 " "
y[1] (numeric) = 0.7114678728189971 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.5604682474644980000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2180000000000001 " "
y[1] (analytic) = 0.7119563739962178 " "
y[1] (numeric) = 0.7119563739962166 " "
absolute error = 1.2212453270876722000000000000000E-15 " "
relative error = 1.71533730393171520000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2190000000000001 " "
y[1] (analytic) = 0.7124449933335111 " "
y[1] (numeric) = 0.7124449933335093 " "
absolute error = 1.7763568394002505000000000000000E-15 " "
relative error = 2.49332489668953160000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2200000000000001 " "
y[1] (analytic) = 0.7129337308097554 " "
y[1] (numeric) = 0.7129337308097533 " "
absolute error = 2.1094237467877974000000000000000E-15 " "
relative error = 2.958793581546350000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2210000000000001 " "
y[1] (analytic) = 0.7134225864038442 " "
y[1] (numeric) = 0.7134225864038422 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 2.8011468692050280000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.22200000000000011 " "
y[1] (analytic) = 0.7139115600946866 " "
y[1] (numeric) = 0.7139115600946849 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.33269025188058340000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.22300000000000011 " "
y[1] (analytic) = 0.714400651861208 " "
y[1] (numeric) = 0.7144006518612064 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.33109324942395450000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.22400000000000012 " "
y[1] (analytic) = 0.7148898616823498 " "
y[1] (numeric) = 0.7148898616823468 " "
absolute error = 2.9976021664879227000000000000000E-15 " "
relative error = 4.19309648542737450000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.22500000000000012 " "
y[1] (analytic) = 0.7153791895370638 " "
y[1] (numeric) = 0.7153791895370619 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.63829192890574160000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.22600000000000012 " "
y[1] (analytic) = 0.7158686354043251 " "
y[1] (numeric) = 0.715868635404323 " "
absolute error = 2.1094237467877974000000000000000E-15 " "
relative error = 2.94666317598393960000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.22700000000000012 " "
y[1] (analytic) = 0.7163581992631194 " "
y[1] (numeric) = 0.7163581992631168 " "
absolute error = 2.55351295663786000000000000000E-15 " "
relative error = 3.56457559816377700000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.22800000000000012 " "
y[1] (analytic) = 0.7168478810924501 " "
y[1] (numeric) = 0.7168478810924458 " "
absolute error = 4.3298697960381105000000000000000E-15 " "
relative error = 6.040151488541120000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.22900000000000012 " "
y[1] (analytic) = 0.7173376808713297 " "
y[1] (numeric) = 0.7173376808713275 " "
absolute error = 2.1094237467877974000000000000000E-15 " "
relative error = 2.940628664906520000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.23000000000000012 " "
y[1] (analytic) = 0.7178275985787987 " "
y[1] (numeric) = 0.7178275985787953 " "
absolute error = 3.4416913763379850000000000000000E-15 " "
relative error = 4.7945932744186310000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.23100000000000012 " "
y[1] (analytic) = 0.7183176341938982 " "
y[1] (numeric) = 0.7183176341938977 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 6.18235149340894500000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.23200000000000012 " "
y[1] (analytic) = 0.7188077876957006 " "
y[1] (numeric) = 0.7188077876956988 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.6257076984560540000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.23300000000000012 " "
y[1] (analytic) = 0.7192980590632807 " "
y[1] (numeric) = 0.7192980590632779 " "
absolute error = 2.7755575615628914000000000000000E-15 " "
relative error = 3.8587029765900010000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.23400000000000012 " "
y[1] (analytic) = 0.7197884482757306 " "
y[1] (numeric) = 0.71978844827573 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 9.25457773559484600000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.23500000000000013 " "
y[1] (analytic) = 0.7202789553121658 " "
y[1] (numeric) = 0.720278955312165 " "
absolute error = 7.7715611723760960000000000000000E-16 " "
relative error = 1.07896546401358280000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.23600000000000013 " "
y[1] (analytic) = 0.7207695801517104 " "
y[1] (numeric) = 0.7207695801517086 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.61856104063867830000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.23700000000000013 " "
y[1] (analytic) = 0.721260322773503 " "
y[1] (numeric) = 0.7212603227735014 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.3089229843309970000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.23800000000000013 " "
y[1] (analytic) = 0.7217511831567016 " "
y[1] (numeric) = 0.7217511831566996 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 2.7688232329387160000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.23900000000000013 " "
y[1] (analytic) = 0.7222421612804748 " "
y[1] (numeric) = 0.7222421612804746 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 3.07437888327323400000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.24000000000000013 " "
y[1] (analytic) = 0.7227332571240144 " "
y[1] (numeric) = 0.722733257124013 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 1.84337390927837570000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.24100000000000013 " "
y[1] (analytic) = 0.7232244706665192 " "
y[1] (numeric) = 0.723224470666517 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 3.07020315173235750000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.24200000000000013 " "
y[1] (analytic) = 0.7237158018872059 " "
y[1] (numeric) = 0.7237158018872034 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.37493066726767000000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.24300000000000013 " "
y[1] (analytic) = 0.724207250765307 " "
y[1] (numeric) = 0.7242072507653048 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 3.06603675522974100000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.24400000000000013 " "
y[1] (analytic) = 0.7246988172800712 " "
y[1] (numeric) = 0.7246988172800687 " "
absolute error = 2.55351295663786000000000000000E-15 " "
relative error = 3.5235506057836090000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.24500000000000013 " "
y[1] (analytic) = 0.7251905014107614 " "
y[1] (numeric) = 0.7251905014107579 " "
absolute error = 3.4416913763379850000000000000000E-15 " "
relative error = 4.7459134801719460000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.24600000000000014 " "
y[1] (analytic) = 0.7256823031366526 " "
y[1] (numeric) = 0.7256823031366504 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 3.0598045999644320000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.24700000000000014 " "
y[1] (analytic) = 0.7261742224370415 " "
y[1] (numeric) = 0.7261742224370392 " "
absolute error = 2.3314683517128287000000000000000E-15 " "
relative error = 3.2106184434479350000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.24800000000000014 " "
y[1] (analytic) = 0.7266662592912336 " "
y[1] (numeric) = 0.7266662592912325 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.52783070691631050000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.24900000000000014 " "
y[1] (analytic) = 0.7271584136785556 " "
y[1] (numeric) = 0.7271584136785537 " "
absolute error = 1.887379141862766000000000000000E-15 " "
relative error = 2.5955542923788444000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2500000000000001 " "
y[1] (analytic) = 0.7276506855783431 " "
y[1] (numeric) = 0.7276506855783411 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 2.74637471513812240000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2510000000000001 " "
y[1] (analytic) = 0.7281430749699496 " "
y[1] (numeric) = 0.7281430749699483 " "
absolute error = 1.2212453270876722000000000000000E-15 " "
relative error = 1.67720516622103830000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2520000000000001 " "
y[1] (analytic) = 0.7286355818327461 " "
y[1] (numeric) = 0.7286355818327439 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 3.0474027135282050000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2530000000000001 " "
y[1] (analytic) = 0.7291282061461128 " "
y[1] (numeric) = 0.7291282061461115 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 1.82720626951470540000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2540000000000001 " "
y[1] (analytic) = 0.7296209478894511 " "
y[1] (numeric) = 0.7296209478894498 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 1.8259722852036960000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2550000000000001 " "
y[1] (analytic) = 0.7301138070421747 " "
y[1] (numeric) = 0.7301138070421723 " "
absolute error = 2.3314683517128287000000000000000E-15 " "
relative error = 3.19329442783452600000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2560000000000001 " "
y[1] (analytic) = 0.730606783583708 " "
y[1] (numeric) = 0.7306067835837079 " "
absolute error = 1.11022302462515650000000000000000E-16 " "
relative error = 1.519590359097664500000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2570000000000001 " "
y[1] (analytic) = 0.7310998774935022 " "
y[1] (numeric) = 0.7310998774935 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 3.037130927805480000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2580000000000001 " "
y[1] (analytic) = 0.7315930887510085 " "
y[1] (numeric) = 0.7315930887510074 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.51754170685312700000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2590000000000001 " "
y[1] (analytic) = 0.7320864173357045 " "
y[1] (numeric) = 0.7320864173357036 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 1.21321526894664870000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2600000000000001 " "
y[1] (analytic) = 0.7325798632270768 " "
y[1] (numeric) = 0.732579863227077 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 3.03099520026261560000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2610000000000001 " "
y[1] (analytic) = 0.7330734264046317 " "
y[1] (numeric) = 0.7330734264046311 " "
absolute error = 5.5511151231257830000000000000000E-16 " "
relative error = 7.5723862346931600000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2620000000000001 " "
y[1] (analytic) = 0.7335671068478842 " "
y[1] (numeric) = 0.7335671068478843 " "
absolute error = 1.11022302462515650000000000000000E-16 " "
relative error = 1.51345802485031180000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2630000000000001 " "
y[1] (analytic) = 0.7340609045363724 " "
y[1] (numeric) = 0.7340609045363695 " "
absolute error = 2.886579864025407000000000000000E-15 " "
relative error = 3.932343823498610000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2640000000000001 " "
y[1] (analytic) = 0.7345548194496381 " "
y[1] (numeric) = 0.734554819449635 " "
absolute error = 3.1086244689504383000000000000000E-15 " "
relative error = 4.2319843075559170000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2650000000000001 " "
y[1] (analytic) = 0.7350488515672442 " "
y[1] (numeric) = 0.7350488515672434 " "
absolute error = 7.7715611723760960000000000000000E-16 " "
relative error = 1.05728498939980080000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2660000000000001 " "
y[1] (analytic) = 0.7355430008687751 " "
y[1] (numeric) = 0.7355430008687727 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.3206633076386216000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2670000000000001 " "
y[1] (analytic) = 0.7360372673338187 " "
y[1] (numeric) = 0.7360372673338152 " "
absolute error = 3.4416913763379850000000000000000E-15 " "
relative error = 4.6759743413604320000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2680000000000001 " "
y[1] (analytic) = 0.7365316509419806 " "
y[1] (numeric) = 0.7365316509419785 " "
absolute error = 2.1094237467877974000000000000000E-15 " "
relative error = 2.86399606057658000000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.26900000000000013 " "
y[1] (analytic) = 0.7370261516728878 " "
y[1] (numeric) = 0.7370261516728844 " "
absolute error = 3.3306690738754696000000000000000E-15 " "
relative error = 4.5190649834006313000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27000000000000013 " "
y[1] (analytic) = 0.7375207695061725 " "
y[1] (numeric) = 0.73752076950617 " "
absolute error = 2.55351295663786000000000000000E-15 " "
relative error = 3.46229294443820950000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27100000000000013 " "
y[1] (analytic) = 0.7380155044214884 " "
y[1] (numeric) = 0.7380155044214868 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.25650345685237100000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27200000000000013 " "
y[1] (analytic) = 0.7385103563985034 " "
y[1] (numeric) = 0.7385103563985012 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 3.0066552621939820000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27300000000000013 " "
y[1] (analytic) = 0.7390053254168958 " "
y[1] (numeric) = 0.7390053254168941 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.2534811044809020000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27400000000000013 " "
y[1] (analytic) = 0.7395004114563637 " "
y[1] (numeric) = 0.7395004114563615 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 3.00262990371755400000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27500000000000013 " "
y[1] (analytic) = 0.7399956144966158 " "
y[1] (numeric) = 0.7399956144966137 " "
absolute error = 2.1094237467877974000000000000000E-15 " "
relative error = 2.85058952440243760000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27600000000000013 " "
y[1] (analytic) = 0.7404909345173767 " "
y[1] (numeric) = 0.7404909345173758 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 1.19944536563301150000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27700000000000014 " "
y[1] (analytic) = 0.7409863714983889 " "
y[1] (numeric) = 0.7409863714983875 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 1.79796509193028340000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27800000000000014 " "
y[1] (analytic) = 0.7414819254194054 " "
y[1] (numeric) = 0.7414819254194034 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 2.6951451894055590000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27900000000000014 " "
y[1] (analytic) = 0.7419775962601936 " "
y[1] (numeric) = 0.7419775962601923 " "
absolute error = 1.2212453270876722000000000000000E-15 " "
relative error = 1.64593288698087730000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28000000000000014 " "
y[1] (analytic) = 0.7424733840005402 " "
y[1] (numeric) = 0.7424733840005379 " "
absolute error = 2.3314683517128287000000000000000E-15 " "
relative error = 3.14013727892922370000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28100000000000014 " "
y[1] (analytic) = 0.7429692886202393 " "
y[1] (numeric) = 0.7429692886202383 " "
absolute error = 9.9920072216264090000000000000000E-16 " "
relative error = 1.34487486557923090000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28200000000000014 " "
y[1] (analytic) = 0.7434653100991078 " "
y[1] (numeric) = 0.7434653100991063 " "
absolute error = 1.4432899320127035000000000000000E-15 " "
relative error = 1.94130097585898860000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28300000000000014 " "
y[1] (analytic) = 0.7439614484169716 " "
y[1] (numeric) = 0.7439614484169693 " "
absolute error = 2.3314683517128287000000000000000E-15 " "
relative error = 3.1338564070407310000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28400000000000014 " "
y[1] (analytic) = 0.744457703553671 " "
y[1] (numeric) = 0.744457703553669 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 2.68437203992370140000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28500000000000014 " "
y[1] (analytic) = 0.744954075489062 " "
y[1] (numeric) = 0.7449540754890618 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 2.98064823364123650000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28600000000000014 " "
y[1] (analytic) = 0.7454505642030185 " "
y[1] (numeric) = 0.7454505642030186 " "
absolute error = 1.11022302462515650000000000000000E-16 " "
relative error = 1.48933152369684800000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28700000000000014 " "
y[1] (analytic) = 0.745947169675425 " "
y[1] (numeric) = 0.7459471696754246 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 4.465020056748393300000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28800000000000014 " "
y[1] (analytic) = 0.746443891886182 " "
y[1] (numeric) = 0.7464438918861799 " "
absolute error = 2.1094237467877974000000000000000E-15 " "
relative error = 2.8259642415420060000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28900000000000015 " "
y[1] (analytic) = 0.7469407308152007 " "
y[1] (numeric) = 0.7469407308151985 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 2.9727205354392033000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.29000000000000015 " "
y[1] (analytic) = 0.7474376864424119 " "
y[1] (numeric) = 0.7474376864424093 " "
absolute error = 2.6645352591003757000000000000000E-15 " "
relative error = 3.56489284315164250000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.29100000000000015 " "
y[1] (analytic) = 0.747934758747757 " "
y[1] (numeric) = 0.7479347587477553 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.2265772749028950000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.29200000000000015 " "
y[1] (analytic) = 0.7484319477111949 " "
y[1] (numeric) = 0.748431947711194 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 1.18671900954561550000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.29300000000000015 " "
y[1] (analytic) = 0.7489292533126992 " "
y[1] (numeric) = 0.7489292533126976 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.22362062847932360000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.29400000000000015 " "
y[1] (analytic) = 0.7494266755322521 " "
y[1] (numeric) = 0.7494266755322521 " "
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.29500000000000015 " "
y[1] (analytic) = 0.7499242143498588 " "
y[1] (numeric) = 0.7499242143498582 " "
absolute error = 5.5511151231257830000000000000000E-16 " "
relative error = 7.40223480840431300000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.29600000000000015 " "
y[1] (analytic) = 0.7504218697455336 " "
y[1] (numeric) = 0.7504218697455312 " "
absolute error = 2.4424906541753444000000000000000E-15 " "
relative error = 3.25482339021327700000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.29700000000000015 " "
y[1] (analytic) = 0.7509196416993031 " "
y[1] (numeric) = 0.7509196416993001 " "
absolute error = 2.9976021664879227000000000000000E-15 " "
relative error = 3.9919080551741337000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.29800000000000015 " "
y[1] (analytic) = 0.75141753019121 " "
y[1] (numeric) = 0.7514175301912088 " "
absolute error = 1.2212453270876722000000000000000E-15 " "
relative error = 1.6252553048328630000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.29900000000000015 " "
y[1] (analytic) = 0.7519155352013183 " "
y[1] (numeric) = 0.751915535201315 " "
absolute error = 3.219646771412954000000000000000E-15 " "
relative error = 4.2819261215967880000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30000000000000016 " "
y[1] (analytic) = 0.7524136567096935 " "
y[1] (numeric) = 0.7524136567096912 " "
absolute error = 2.3314683517128287000000000000000E-15 " "
relative error = 3.09865235820990350000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30100000000000016 " "
y[1] (analytic) = 0.7529118946964246 " "
y[1] (numeric) = 0.7529118946964236 " "
absolute error = 9.9920072216264090000000000000000E-16 " "
relative error = 1.3271150704366550000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30200000000000016 " "
y[1] (analytic) = 0.7534102491416146 " "
y[1] (numeric) = 0.7534102491416131 " "
absolute error = 1.4432899320127035000000000000000E-15 " "
relative error = 1.9156759994400022000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30300000000000016 " "
y[1] (analytic) = 0.7539087200253753 " "
y[1] (numeric) = 0.7539087200253747 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 8.83573564121493200000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30400000000000016 " "
y[1] (analytic) = 0.7544073073278401 " "
y[1] (numeric) = 0.7544073073278375 " "
absolute error = 2.6645352591003757000000000000000E-15 " "
relative error = 3.5319584436931470000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30500000000000016 " "
y[1] (analytic) = 0.7549060110291457 " "
y[1] (numeric) = 0.7549060110291449 " "
absolute error = 7.7715611723760960000000000000000E-16 " "
relative error = 1.02947400853005650000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30600000000000016 " "
y[1] (analytic) = 0.7554048311094572 " "
y[1] (numeric) = 0.7554048311094546 " "
absolute error = 2.6645352591003757000000000000000E-15 " "
relative error = 3.527294437853930000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30700000000000016 " "
y[1] (analytic) = 0.7559037675489382 " "
y[1] (numeric) = 0.7559037675489381 " "
absolute error = 1.11022302462515650000000000000000E-16 " "
relative error = 1.468735932121517400000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30800000000000016 " "
y[1] (analytic) = 0.7564028203277822 " "
y[1] (numeric) = 0.7564028203277815 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 8.80660141492372000000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30900000000000016 " "
y[1] (analytic) = 0.7569019894261864 " "
y[1] (numeric) = 0.7569019894261848 " "
absolute error = 1.5543122344752192000000000000000E-15 " "
relative error = 2.05351849537818760000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.31000000000000016 " "
y[1] (analytic) = 0.7574012748243621 " "
y[1] (numeric) = 0.7574012748243621 " "
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.31100000000000017 " "
y[1] (analytic) = 0.757900676502544 " "
y[1] (numeric) = 0.7579006765025418 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 2.92973224340809750000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.31200000000000017 " "
y[1] (analytic) = 0.7584001944409664 " "
y[1] (numeric) = 0.7584001944409661 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 4.3917038765141400000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.31300000000000017 " "
y[1] (analytic) = 0.7588998286198922 " "
y[1] (numeric) = 0.7588998286198915 " "
absolute error = 7.7715611723760960000000000000000E-16 " "
relative error = 1.02405625608180410000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.31400000000000017 " "
y[1] (analytic) = 0.7593995790195915 " "
y[1] (numeric) = 0.7593995790195884 " "
absolute error = 3.1086244689504383000000000000000E-15 " "
relative error = 4.09352935507782230000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.31500000000000017 " "
y[1] (analytic) = 0.759899445620345 " "
y[1] (numeric) = 0.7598994456203416 " "
absolute error = 3.3306690738754696000000000000000E-15 " "
relative error = 4.38303922061223900000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.31600000000000017 " "
y[1] (analytic) = 0.7603994284024509 " "
y[1] (numeric) = 0.7603994284024495 " "
absolute error = 1.4432899320127035000000000000000E-15 " "
relative error = 1.89806814432378070000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.31700000000000017 " "
y[1] (analytic) = 0.7608995273462238 " "
y[1] (numeric) = 0.7608995273462247 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 1.1672742428922381000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.31800000000000017 " "
y[1] (analytic) = 0.7613997424319958 " "
y[1] (numeric) = 0.7613997424319938 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 2.6246416080233550000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3190000000000002 " "
y[1] (analytic) = 0.7619000736400974 " "
y[1] (numeric) = 0.7619000736400974 " "
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.3200000000000002 " "
y[1] (analytic) = 0.7624005209508926 " "
y[1] (numeric) = 0.7624005209508901 " "
absolute error = 2.55351295663786000000000000000E-15 " "
relative error = 3.3493064163348540000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3210000000000002 " "
y[1] (analytic) = 0.7629010843447404 " "
y[1] (numeric) = 0.7629010843447402 " "
absolute error = 1.11022302462515650000000000000000E-16 " "
relative error = 1.455264709157849400000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3220000000000002 " "
y[1] (analytic) = 0.763401763802035 " "
y[1] (numeric) = 0.7634017638020304 " "
absolute error = 4.551914400963142000000000000000E-15 " "
relative error = 5.9626721037332340000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3230000000000002 " "
y[1] (analytic) = 0.7639025593031601 " "
y[1] (numeric) = 0.763902559303157 " "
absolute error = 3.1086244689504383000000000000000E-15 " "
relative error = 4.06939920686501900000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3240000000000002 " "
y[1] (analytic) = 0.7644034708285332 " "
y[1] (numeric) = 0.7644034708285301 " "
absolute error = 3.1086244689504383000000000000000E-15 " "
relative error = 4.06673254057966950000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3250000000000002 " "
y[1] (analytic) = 0.7649044983585753 " "
y[1] (numeric) = 0.7649044983585741 " "
absolute error = 1.2212453270876722000000000000000E-15 " "
relative error = 1.59659843772440630000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3260000000000002 " "
y[1] (analytic) = 0.7654056418737305 " "
y[1] (numeric) = 0.765405641873727 " "
absolute error = 3.552713678800501000000000000000E-15 " "
relative error = 4.6416089514357073000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3270000000000002 " "
y[1] (analytic) = 0.7659069013544411 " "
y[1] (numeric) = 0.7659069013544405 " "
absolute error = 5.5511151231257830000000000000000E-16 " "
relative error = 7.24776746796393800000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3280000000000002 " "
y[1] (analytic) = 0.7664082767811813 " "
y[1] (numeric) = 0.7664082767811806 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 8.69163127481833100000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3290000000000002 " "
y[1] (analytic) = 0.766909768134429 " "
y[1] (numeric) = 0.7669097681344268 " "
absolute error = 2.220446049250313000000000000000E-15 " "
relative error = 2.8953159048315820000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3300000000000002 " "
y[1] (analytic) = 0.7674113753946745 " "
y[1] (numeric) = 0.7674113753946725 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 2.60408108141154060000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3310000000000002 " "
y[1] (analytic) = 0.7679130985424276 " "
y[1] (numeric) = 0.767913098542425 " "
absolute error = 2.6645352591003757000000000000000E-15 " "
relative error = 3.46983957450122670000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3320000000000002 " "
y[1] (analytic) = 0.7684149375582088 " "
y[1] (numeric) = 0.7684149375582051 " "
absolute error = 3.6637359812630166000000000000000E-15 " "
relative error = 4.7679135349779450000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3330000000000002 " "
y[1] (analytic) = 0.7689168924225491 " "
y[1] (numeric) = 0.7689168924225478 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 1.73265491066628300000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3340000000000002 " "
y[1] (analytic) = 0.7694189631160029 " "
y[1] (numeric) = 0.7694189631160016 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 1.73152429744485780000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3350000000000002 " "
y[1] (analytic) = 0.7699211496191314 " "
y[1] (numeric) = 0.7699211496191286 " "
absolute error = 2.7755575615628914000000000000000E-15 " "
relative error = 3.60498937188037900000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3360000000000002 " "
y[1] (analytic) = 0.7704234519125066 " "
y[1] (numeric) = 0.7704234519125049 " "
absolute error = 1.6653345369377348000000000000000E-15 " "
relative error = 2.16158339002232140000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3370000000000002 " "
y[1] (analytic) = 0.7709258699767236 " "
y[1] (numeric) = 0.7709258699767203 " "
absolute error = 3.3306690738754696000000000000000E-15 " "
relative error = 4.3203493404314370000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3380000000000002 " "
y[1] (analytic) = 0.7714284037923793 " "
y[1] (numeric) = 0.7714284037923782 " "
absolute error = 1.1102230246251565000000000000000E-15 " "
relative error = 1.43917830762679530000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3390000000000002 " "
y[1] (analytic) = 0.7719310533400972 " "
y[1] (numeric) = 0.7719310533400956 " "
absolute error = 1.5543122344752192000000000000000E-15 " "
relative error = 2.01353764400305950000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3400000000000002 " "
y[1] (analytic) = 0.772433818600506 " "
y[1] (numeric) = 0.7724338186005033 " "
absolute error = 2.6645352591003757000000000000000E-15 " "
relative error = 3.4495321086898750000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3410000000000002 " "
y[1] (analytic) = 0.772936699554247 " "
y[1] (numeric) = 0.7729366995542457 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 1.72364390294639570000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3420000000000002 " "
y[1] (analytic) = 0.7734396961819812 " "
y[1] (numeric) = 0.7734396961819809 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 2.870871588581961000000000000000E-14 "%"
Correct digits = 16
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3430000000000002 " "
y[1] (analytic) = 0.7739428084643816 " "
y[1] (numeric) = 0.7739428084643807 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 1.1476021354373771000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3440000000000002 " "
y[1] (analytic) = 0.7744460363821322 " "
y[1] (numeric) = 0.7744460363821302 " "
absolute error = 1.9984014443252818000000000000000E-15 " "
relative error = 2.5804269767599630000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3450000000000002 " "
y[1] (analytic) = 0.7749493799159328 " "
y[1] (numeric) = 0.7749493799159283 " "
absolute error = 4.551914400963142000000000000000E-15 " "
relative error = 5.8738215926528490000000000000E-13 "%"
Correct digits = 15
h = 1.000E-3 " "
"NO POLE for equation 1"
"Finished!"
"Maximum Time Reached before Solution Completed!"
"diff ( y , x , 1 ) = sinh(sqrt(0.1 * x + 0.2));"
Iterations = 246
"Total Elapsed Time "= 0 Years 0 Days 0 Hours 3 Minutes 0 Seconds
"Elapsed Time(since restart) "= 0 Years 0 Days 0 Hours 2 Minutes 59 Seconds
"Expected Time Remaining "= 0 Years 0 Days 0 Hours 56 Minutes 44 Seconds
"Optimized Time Remaining "= 0 Years 0 Days 0 Hours 56 Minutes 24 Seconds
"Expected Total Time "= 0 Years 0 Days 0 Hours 59 Minutes 25 Seconds
"Time to Timeout " Unknown
Percent Done = 5.040816326530616 "%"
(%o58) true
(%o58) diffeq.max