(%i1) batch("diffeq.max")
read and interpret file: /home/dennis/mastersource/mine/omnisode/diffeq.max
(%i2) load("stringproc")
(%o2) /usr/share/maxima/5.31.3/share/stringproc/stringproc.mac
(%i3) alias(convfloat,float)
(%o3) [convfloat]
(%i4) alias(int_trunc,truncate)
(%o4) [truncate]
(%i5) alias(elapsed_time_seconds,elapsed_real_time)
(%o5) [elapsed_time_seconds]
(%i6) alias(ln,log)
(%o6) [log]
(%i7) alias(arcsin,asin)
(%o7) [asin]
(%i8) alias(arccos,acos)
(%o8) [acos]
(%i9) alias(arctan,atan)
(%o9) [atan]
(%i10) alias(float_abs,abs)
(%o10) [mabs]
(%i11) keepfloat:true
(%o11) true
(%i12) mode_declare(display_poles(),fixnum)
(%o12) [display_poles()]
(%i13) mode_declare(est_size_answer(),convfloat)
(%o13) [est_size_answer()]
(%i14) mode_declare(test_suggested_h(),convfloat)
(%o14) [test_suggested_h()]
(%i15) mode_declare(reached_interval(),boolean)
(%o15) [reached_interval()]
(%i16) mode_declare(display_alot([iter],fixnum),fixnum)
(%o16) [display_alot([iter], fixnum)]
(%i17) mode_declare(adjust_for_pole([h_param],convfloat),convfloat)
(%o17) [adjust_for_pole([h_param], convfloat)]
(%i18) mode_declare(prog_report([x_start],convfloat,[x_end],convfloat),fixnum)
(%o18) [prog_report([x_start], convfloat, [x_end], convfloat)]
(%i19) mode_declare(check_for_pole(),fixnum)
(%o19) [check_for_pole()]
(%i20) mode_declare(atomall(),fixnum)
(%o20) [atomall()]
(%i21) mode_declare(log10([x],convfloat),convfloat)
(%o21) [log10([x], convfloat)]
(%i22) mode_declare(logitem_timestr([fd],fixnum,[secs_in],number),fixnum)
(%o22) [logitem_timestr([fd], fixnum, [secs_in], number)]
(%i23) mode_declare(omniout_timestr(secs_in,number),fixnum)
(%o23) [omniout_timestr(secs_in, number)]
(%i24) mode_declare(zero_ats_ar(ar,array([MAX_TERMS],convfloat)),fixnum)
(%o24) [zero_ats_ar(ar, array([MAX_TERMS], convfloat))]
(%i25) mode_declare(ats([mmm_ats],fixnum,[arr_a],
completearray([MAX_TERMS],convfloat),[arr_b],
completearray([MAX_TERMS],convfloat),[jjj_ats],
fixnum),convfloat)
(%o25) [ats([mmm_ats], fixnum, [arr_a], completearray([MAX_TERMS], convfloat),
[arr_b], completearray([MAX_TERMS], convfloat), [jjj_ats], fixnum)]
(%i26) mode_declare(att([mmm_att],fixnum,[arr_a],
completearray([MAX_TERMS],convfloat),[arr_b],
completearray([MAX_TERMS],convfloat),[jjj_att],
fixnum),convfloat)
(%o26) [att([mmm_att], fixnum, [arr_a], completearray([MAX_TERMS], convfloat),
[arr_b], completearray([MAX_TERMS], convfloat), [jjj_att], fixnum)]
(%i27) mode_declare(logitem_ditto([file],fixnum),fixnum)
(%o27) [logitem_ditto([file], fixnum)]
(%i28) mode_declare(logitem_integer([file],fixnum,[n],fixnum),fixnum)
(%o28) [logitem_integer([file], fixnum, [n], fixnum)]
(%i29) mode_declare(logitem_good_digits([file],fixnum,[relerror],convfloat),fixnum)
(%o29) [logitem_good_digits([file], fixnum, [relerror], convfloat)]
(%i30) mode_declare(logitem_number([file],fixnum,[x],number),fixnum)
(%o30) [logitem_number([file], fixnum, [x], number)]
(%i31) mode_declare(logitem_pole([file],fixnum,[pole],fixnum),fixnum)
(%o31) [logitem_pole([file], fixnum, [pole], fixnum)]
(%i32) mode_declare(logstart([file],fixnum),fixnum)
(%o32) [logstart([file], fixnum)]
(%i33) mode_declare(logend([file],fixnum),fixnum)
(%o33) [logend([file], fixnum)]
(%i34) mode_declare(chk_data(),fixnum)
(%o34) [chk_data()]
(%i35) mode_declare(comp_expect_sec([t_end2],convfloat,[t_start2],convfloat,
[t2],convfloat,[clock_sec2],convfloat),
convfloat)
(%o35) [comp_expect_sec([t_end2], convfloat, [t_start2], convfloat, [t2],
convfloat, [clock_sec2], convfloat)]
(%i36) mode_declare(comp_percent([t_end2],convfloat,[start2],convfloat,[t2],
convfloat),convfloat)
(%o36) [comp_percent([t_end2], convfloat, [start2], convfloat, [t2],
convfloat)]
(%i37) mode_declare(comp_rad_from_ratio([term1],convfloat,[term2],convfloat,
[last_no],fixnum),convfloat)
(%o37) [comp_rad_from_ratio([term1], convfloat, [term2], convfloat, [last_no],
fixnum)]
(%i38) mode_declare(comp_ord_from_ratio([term1],convfloat,[term2],convfloat,
[last_no],fixnum),convfloat)
(%o38) [comp_ord_from_ratio([term1], convfloat, [term2], convfloat, [last_no],
fixnum)]
(%i39) mode_declare(comp_rad_from_three_terms([term1],convfloat,[term2],
convfloat,[term3],convfloat,
[last_no],fixnum),convfloat)
(%o39) [comp_rad_from_three_terms([term1], convfloat, [term2], convfloat,
[term3], convfloat, [last_no], fixnum)]
(%i40) mode_declare(comp_ord_from_three_terms([term1],convfloat,[term2],
convfloat,[term3],convfloat,
[last_no],fixnum),convfloat)
(%o40) [comp_ord_from_three_terms([term1], convfloat, [term2], convfloat,
[term3], convfloat, [last_no], fixnum)]
(%i41) mode_declare(comp_rad_from_six_terms([term1],convfloat,[term2],
convfloat,[term3],convfloat,
[term4],convfloat,[term5],
convfloat,[term6],convfloat,
[last_no],fixnum),convfloat)
(%o41) [comp_rad_from_six_terms([term1], convfloat, [term2], convfloat,
[term3], convfloat, [term4], convfloat, [term5], convfloat, [term6],
convfloat, [last_no], fixnum)]
(%i42) mode_declare(comp_ord_from_six_terms([term1],convfloat,[term2],
convfloat,[term3],convfloat,
[term4],convfloat,[term5],
convfloat,[term6],convfloat,
[last_no],fixnum),convfloat)
(%o42) [comp_ord_from_six_terms([term1], convfloat, [term2], convfloat,
[term3], convfloat, [term4], convfloat, [term5], convfloat, [term6],
convfloat, [last_no], fixnum)]
(%i43) mode_declare(factorial_2([nnn],fixnum),fixnum)
(%o43) [factorial_2([nnn], fixnum)]
(%i44) mode_declare(factorial_1([nnn],fixnum),fixnum)
(%o44) [factorial_1([nnn], fixnum)]
(%i45) mode_declare(factorial_3([mmm],fixnum,[nnn],fixnum),fixnum)
(%o45) [factorial_3([mmm], fixnum, [nnn], fixnum)]
(%i46) mode_declare(convfloat([mmm],fixnum),convfloat)
(%o46) [convfloat([mmm], fixnum)]
(%i47) mode_declare(elaped_time_seconds(),convfloat)
(%o47) [elaped_time_seconds()]
(%i48) mode_declare(Si([x],convfloat),convfloat)
(%o48) [Si([x], convfloat)]
(%i49) mode_declare(Ci([x],convfloat),convfloat)
(%o49) [Ci([x], convfloat)]
(%i50) mode_declare(estimated_needed_step_error([x_start],convfloat,[x_end],
convfloat,[estimated_h],
convfloat,[estimated_answer],
convfloat),convfloat)
(%o50) [estimated_needed_step_error([x_start], convfloat, [x_end], convfloat,
[estimated_h], convfloat, [estimated_answer], convfloat)]
(%i51) mode_declare(my_check_sign([x0],convfloat,[xf],convfloat),convfloat)
(%o51) [my_check_sign([x0], convfloat, [xf], convfloat)]
(%i52) mode_declare(main_prog(),fixnum)
(%o52) [main_prog()]
(%i53) define_variable(MAX_TERMS,20,fixnum)
(%o53) 20
(%i54) define_variable(glob_iolevel,5,fixnum)
(%o54) 5
(%i55) define_variable(glob_yes_pole,4,fixnum)
(%o55) 4
(%i56) define_variable(glob_no_pole,3,fixnum)
(%o56) 3
(%i57) define_variable(glob_not_given,0,fixnum)
(%o57) 0
(%i58) define_variable(glob_no_sing_tests,4,fixnum)
(%o58) 4
(%i59) define_variable(glob_ratio_test,1,fixnum)
(%o59) 1
(%i60) define_variable(glob_three_term_test,2,fixnum)
(%o60) 2
(%i61) define_variable(glob_six_term_test,3,fixnum)
(%o61) 3
(%i62) define_variable(glob_log_10,log(10.0),convfloat)
(%o62) 2.302585092994046
(%i63) define_variable(ALWAYS,1,fixnum)
(%o63) 1
(%i64) define_variable(INFO,2,fixnum)
(%o64) 2
(%i65) define_variable(DEBUGL,3,fixnum)
(%o65) 3
(%i66) define_variable(DEBUGMASSIVE,4,fixnum)
(%o66) 4
(%i67) define_variable(MAX_UNCHANGED,10,fixnum)
(%o67) 10
(%i68) define_variable(glob_check_sign,1.0,convfloat)
(%o68) 1.0
(%i69) define_variable(glob_desired_digits_correct,8.0,convfloat)
(%o69) 8.0
(%i70) define_variable(glob_max_estimated_step_error,0.0,convfloat)
(%o70) 0.0
(%i71) define_variable(glob_ratio_of_radius,0.1,convfloat)
(%o71) 0.1
(%i72) define_variable(glob_percent_done,0.0,convfloat)
(%o72) 0.0
(%i73) define_variable(glob_subiter_method,3,fixnum)
(%o73) 3
(%i74) define_variable(glob_total_exp_sec,0.1,convfloat)
(%o74) 0.1
(%i75) define_variable(glob_optimal_expect_sec,0.1,convfloat)
(%o75) 0.1
(%i76) define_variable(glob_estimated_size_answer,100.0,convfloat)
(%o76) 100.0
(%i77) define_variable(glob_html_log,true,boolean)
(%o77) true
(%i78) define_variable(glob_good_digits,0,fixnum)
(%o78) 0
(%i79) define_variable(glob_max_opt_iter,10,fixnum)
(%o79) 10
(%i80) define_variable(glob_dump,false,boolean)
(%o80) false
(%i81) define_variable(glob_djd_debug,true,boolean)
(%o81) true
(%i82) define_variable(glob_display_flag,true,boolean)
(%o82) true
(%i83) define_variable(glob_djd_debug2,true,boolean)
(%o83) true
(%i84) define_variable(glob_sec_in_minute,60,fixnum)
(%o84) 60
(%i85) define_variable(glob_min_in_hour,60.0,convfloat)
(%o85) 60.0
(%i86) define_variable(glob_hours_in_day,24.0,convfloat)
(%o86) 24.0
(%i87) define_variable(glob_days_in_year,365,fixnum)
(%o87) 365
(%i88) define_variable(glob_sec_in_hour,3600,fixnum)
(%o88) 3600
(%i89) define_variable(glob_sec_in_day,86400,fixnum)
(%o89) 86400
(%i90) define_variable(glob_sec_in_year,31536000,fixnum)
(%o90) 31536000
(%i91) define_variable(glob_almost_1,0.999,convfloat)
(%o91) 0.999
(%i92) define_variable(glob_clock_sec,0.0,convfloat)
(%o92) 0.0
(%i93) define_variable(glob_clock_start_sec,0.0,convfloat)
(%o93) 0.0
(%i94) define_variable(glob_not_yet_finished,true,boolean)
(%o94) true
(%i95) define_variable(glob_initial_pass,true,boolean)
(%o95) true
(%i96) define_variable(glob_not_yet_start_msg,true,boolean)
(%o96) true
(%i97) define_variable(glob_reached_optimal_h,false,boolean)
(%o97) false
(%i98) define_variable(glob_optimal_done,false,boolean)
(%o98) false
(%i99) define_variable(glob_disp_incr,0.1,convfloat)
(%o99) 0.1
(%i100) define_variable(glob_h,0.1,convfloat)
(%o100) 0.1
(%i101) define_variable(glob_diff_rc_fm,0.1,convfloat)
(%o101) 0.1
(%i102) define_variable(glob_diff_rc_fmm1,0.1,convfloat)
(%o102) 0.1
(%i103) define_variable(glob_diff_rc_fmm2,0.1,convfloat)
(%o103) 0.1
(%i104) define_variable(glob_diff_ord_fm,0.1,convfloat)
(%o104) 0.1
(%i105) define_variable(glob_diff_ord_fmm1,0.1,convfloat)
(%o105) 0.1
(%i106) define_variable(glob_diff_ord_fmm2,0.1,convfloat)
(%o106) 0.1
(%i107) define_variable(glob_six_term_ord_save,0.1,convfloat)
(%o107) 0.1
(%i108) define_variable(glob_guess_error_rc,0.1,convfloat)
(%o108) 0.1
(%i109) define_variable(glob_guess_error_ord,0.1,convfloat)
(%o109) 0.1
(%i110) define_variable(glob_max_h,0.1,convfloat)
(%o110) 0.1
(%i111) define_variable(glob_min_h,1.0E-6,convfloat)
(%o111) 1.0E-6
(%i112) define_variable(glob_type_given_pole,0,fixnum)
(%o112) 0
(%i113) define_variable(glob_large_float,1.0E+100,convfloat)
(%o113) 1.0E+100
(%i114) define_variable(glob_larger_float,1.1E+100,convfloat)
(%o114) 1.1E+100
(%i115) define_variable(glob_least_given_sing,9.9E+100,convfloat)
(%o115) 9.9E+100
(%i116) define_variable(glob_least_ratio_sing,9.9E+100,convfloat)
(%o116) 9.9E+100
(%i117) define_variable(glob_least_3_sing,9.9E+100,convfloat)
(%o117) 9.9E+100
(%i118) define_variable(glob_least_6_sing,9.9E+100,convfloat)
(%o118) 9.9E+100
(%i119) define_variable(glob_last_good_h,0.1,convfloat)
(%o119) 0.1
(%i120) define_variable(glob_look_poles,false,boolean)
(%o120) false
(%i121) define_variable(glob_neg_h,false,boolean)
(%o121) false
(%i122) define_variable(glob_display_interval,0.0,convfloat)
(%o122) 0.0
(%i123) define_variable(glob_next_display,0.0,convfloat)
(%o123) 0.0
(%i124) define_variable(glob_dump_analytic,false,boolean)
(%o124) false
(%i125) define_variable(glob_abserr,1.0E-11,convfloat)
(%o125) 1.0E-11
(%i126) define_variable(glob_relerr,1.0E-11,convfloat)
(%o126) 1.0E-11
(%i127) define_variable(glob_min_pole_est,1.0E+9,convfloat)
(%o127) 1.0E+9
(%i128) define_variable(glob_max_hours,0.0,convfloat)
(%o128) 0.0
(%i129) define_variable(glob_max_iter,1000,fixnum)
(%o129) 1000
(%i130) define_variable(glob_max_rel_trunc_err,1.0E-11,convfloat)
(%o130) 1.0E-11
(%i131) define_variable(glob_max_trunc_err,1.0E-11,convfloat)
(%o131) 1.0E-11
(%i132) define_variable(glob_no_eqs,0,fixnum)
(%o132) 0
(%i133) define_variable(glob_optimal_clock_start_sec,0.0,convfloat)
(%o133) 0.0
(%i134) define_variable(glob_optimal_start,0.0,convfloat)
(%o134) 0.0
(%i135) define_variable(glob_upper_ratio_limit,1.0001,convfloat)
(%o135) 1.0001
(%i136) define_variable(glob_lower_ratio_limit,0.9999,convfloat)
(%o136) 0.9999
(%i137) define_variable(glob_small_float,0.0,convfloat)
(%o137) 0.0
(%i138) define_variable(glob_smallish_float,0.0,convfloat)
(%o138) 0.0
(%i139) define_variable(glob_unchanged_h_cnt,0,fixnum)
(%o139) 0
(%i140) define_variable(glob_warned,false,boolean)
(%o140) false
(%i141) define_variable(glob_warned2,false,boolean)
(%o141) false
(%i142) define_variable(glob_max_sec,10000.0,convfloat)
(%o142) 10000.0
(%i143) define_variable(glob_orig_start_sec,0.0,convfloat)
(%o143) 0.0
(%i144) define_variable(glob_start,0,fixnum)
(%o144) 0
(%i145) define_variable(glob_curr_iter_when_opt,0,fixnum)
(%o145) 0
(%i146) define_variable(glob_current_iter,0,fixnum)
(%o146) 0
(%i147) define_variable(glob_iter,0,fixnum)
(%o147) 0
(%i148) define_variable(glob_normmax,0.0,convfloat)
(%o148) 0.0
(%i149) define_variable(glob_max_minutes,0.0,convfloat)
(%o149) 0.0
(%i150) array(array_y_init,MAX_TERMS)
(%o150) array_y_init
(%i151) array(array_norms,MAX_TERMS)
(%o151) array_norms
(%i152) array(array_fact_1,MAX_TERMS)
(%o152) array_fact_1
(%i153) array(array_1st_rel_error,2)
(%o153) array_1st_rel_error
(%i154) array(array_last_rel_error,2)
(%o154) array_last_rel_error
(%i155) array(array_type_pole,2)
(%o155) array_type_pole
(%i156) array(array_type_real_pole,2)
(%o156) array_type_real_pole
(%i157) array(array_type_complex_pole,2)
(%o157) array_type_complex_pole
(%i158) array(array_y,MAX_TERMS)
(%o158) array_y
(%i159) array(array_x,MAX_TERMS)
(%o159) array_x
(%i160) array(array_tmp0,MAX_TERMS)
(%o160) array_tmp0
(%i161) array(array_tmp1_g,MAX_TERMS)
(%o161) array_tmp1_g
(%i162) array(array_tmp1_a1,MAX_TERMS)
(%o162) array_tmp1_a1
(%i163) array(array_tmp1_a2,MAX_TERMS)
(%o163) array_tmp1_a2
(%i164) array(array_tmp1,MAX_TERMS)
(%o164) array_tmp1
(%i165) array(array_tmp2,MAX_TERMS)
(%o165) array_tmp2
(%i166) array(array_m1,MAX_TERMS)
(%o166) array_m1
(%i167) array(array_y_higher,2,MAX_TERMS)
(%o167) array_y_higher
(%i168) array(array_y_higher_work,2,MAX_TERMS)
(%o168) array_y_higher_work
(%i169) array(array_y_higher_work2,2,MAX_TERMS)
(%o169) array_y_higher_work2
(%i170) array(array_y_set_initial,2,MAX_TERMS)
(%o170) array_y_set_initial
(%i171) array(array_given_rad_poles,2,3)
(%o171) array_given_rad_poles
(%i172) array(array_given_ord_poles,2,3)
(%o172) array_given_ord_poles
(%i173) array(array_rad_test_poles,2,3)
(%o173) array_rad_test_poles
(%i174) array(array_ord_test_poles,2,3)
(%o174) array_ord_test_poles
(%i175) array(array_fact_2,MAX_TERMS,MAX_TERMS)
(%o175) array_fact_2
(%i176) omniout_str(iolevel,str):=if glob_iolevel >= iolevel
then printf(true,"~a~%",string(str))
(%o176) omniout_str(iolevel, str) := if glob_iolevel >= iolevel
then printf(true, "~a~%", string(str))
(%i177) omniout_str_noeol(iolevel,str):=if glob_iolevel >= iolevel
then printf(true,"~a",string(str))
(%o177) omniout_str_noeol(iolevel, str) :=
if glob_iolevel >= iolevel then printf(true, "~a", string(str))
(%i178) omniout_labstr(iolevel,label,str):=if glob_iolevel >= iolevel
then printf(true,"~a = ~a~%",string(label),
string(str))
(%o178) omniout_labstr(iolevel, label, str) :=
if glob_iolevel >= iolevel then printf(true, "~a = ~a~%", string(label),
string(str))
(%i179) 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))
(%o179) 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))
(%i180) omniout_int(iolevel,prelabel,prelen,value,vallen,postlabel):=if
glob_iolevel >= iolevel
then (printf(true,"~a = ~d ~a~%",prelabel,value,
postlabel),newline())
(%o180) omniout_int(iolevel, prelabel, prelen, value, vallen, postlabel) :=
if glob_iolevel >= iolevel then (printf(true, "~a = ~d ~a~%", prelabel, value,
postlabel), newline())
(%i181) omniout_float_arr(iolevel,prelabel,elemnt,prelen,value,vallen,
postlabel):=if glob_iolevel >= iolevel
then (sprint(prelabel,"[",elemnt,"]=",value,
postlabel),newline())
(%o181) omniout_float_arr(iolevel, prelabel, elemnt, prelen, value, vallen,
postlabel) := if glob_iolevel >= iolevel
then (sprint(prelabel, "[", elemnt, "]=", value, postlabel), newline())
(%i182) logitem_time(fd,secs_in):=(
block(mode_declare(
[[days_int,hours_int,minutes_int,sec_int,
years_int],fixnum,[secs,secs_temp],convfloat]),
secs:secs_in,printf(fd,"
~%"),
if secs >= 0
then (years_int
:truncate(secs/glob_sec_in_year),
sec_temp
:mod(truncate(secs),
truncate(glob_sec_in_year)),
days_int
:truncate(sec_temp/glob_sec_in_day),
sec_temp
:mod(sec_temp,
truncate(glob_sec_in_day)),
hours_int
:truncate(sec_temp/glob_sec_in_hour),
sec_temp
:mod(sec_temp,
truncate(glob_sec_in_hour)),
minutes_int
:truncate(sec_temp/glob_sec_in_minute),
sec_int
:mod(sec_temp,
truncate(glob_sec_in_minute)),
if truncate(years_int) > 0.1
then printf(fd,
"~d Years ~f Days ~f Hours ~f Minutes ~f Seconds~%",
years_int,days_int,
hours_int,minutes_int,
sec_int)
elseif days_int > 0.1
then printf(fd,
"~d Days ~d Hours ~d Minutes ~d Seconds~%",
days_int,hours_int,
minutes_int,sec_int)
elseif hours_int > 0.1
then printf(fd,
"~d Hours ~d Minutes ~d Seconds~%",
hours_int,minutes_int,
sec_int)
elseif minutes_int > 0.1
then printf(fd,
"~d Minutes ~d Seconds~%",
minutes_int,sec_int)
else printf(fd,"~d Seconds~%",
sec_int))
else printf(fd," 0.0 Seconds~%"),
printf(fd," | ~%")),0)
(%o182) logitem_time(fd, secs_in) := (block(mode_declare([[days_int,
hours_int, minutes_int, sec_int, years_int], fixnum, [secs, secs_temp],
convfloat]), secs : secs_in, printf(fd, "~%"),
secs
if secs >= 0 then (years_int : truncate(----------------),
glob_sec_in_year
sec_temp : mod(truncate(secs), truncate(glob_sec_in_year)),
sec_temp
days_int : truncate(---------------), sec_temp :
glob_sec_in_day
mod(sec_temp, truncate(glob_sec_in_day)),
sec_temp
hours_int : truncate(----------------),
glob_sec_in_hour
sec_temp : mod(sec_temp, truncate(glob_sec_in_hour)),
sec_temp
minutes_int : truncate(------------------),
glob_sec_in_minute
sec_int : mod(sec_temp, truncate(glob_sec_in_minute)),
if truncate(years_int) > 0.1 then printf(fd,
"~d Years ~f Days ~f Hours ~f Minutes ~f Seconds~%", years_int, days_int,
hours_int, minutes_int, sec_int) elseif days_int > 0.1
then printf(fd, "~d Days ~d Hours ~d Minutes ~d Seconds~%", days_int,
hours_int, minutes_int, sec_int) elseif hours_int > 0.1
then printf(fd, "~d Hours ~d Minutes ~d Seconds~%", hours_int, minutes_int,
sec_int) elseif minutes_int > 0.1 then printf(fd, "~d Minutes ~d Seconds~%",
minutes_int, sec_int) else printf(fd, "~d Seconds~%", sec_int))
else printf(fd, " 0.0 Seconds~%"), printf(fd, " | ~%")), 0)
(%i183) omniout_timestr(secs_in):=(
block(mode_declare(
[[days_int,hours_int,minutes_int,sec_int,
years_int],fixnum,[secs,secs_temp],
convfloat]),secs:secs_in,
if secs >= 0
then (
years_int:truncate(secs/glob_sec_in_year),
sec_temp
:mod(truncate(secs),
truncate(glob_sec_in_year)),
days_int:truncate(sec_temp/glob_sec_in_day),
sec_temp
:mod(sec_temp,truncate(glob_sec_in_day)),
hours_int
:truncate(sec_temp/glob_sec_in_hour),
sec_temp
:mod(sec_temp,truncate(glob_sec_in_hour)),
minutes_int
:truncate(sec_temp/glob_sec_in_minute),
sec_int
:mod(sec_temp,
truncate(glob_sec_in_minute)),
if years_int > 0
then printf(true,
"= ~f Years ~f Days ~f Hours ~f Minutes ~f Seconds~%",
years_int,days_int,
hours_int,minutes_int,
sec_int)
elseif days_int > 0.1
then printf(true,
"= ~d Days ~d Hours ~d Minutes ~d Seconds~%",
days_int,hours_int,
minutes_int,sec_int)
elseif hours_int > 0.1
then printf(true,
"= ~d Hours ~d Minutes ~d Seconds~%",
hours_int,minutes_int,
sec_int)
elseif minutes_int > 0.1
then printf(true,
"= ~d Minutes ~d Seconds~%",
minutes_int,sec_int)
else printf(true,"= ~d Seconds~%",
sec_int))
else printf(true,"= 0.0 Seconds~%")),0)
(%o183) omniout_timestr(secs_in) := (block(mode_declare([[days_int, hours_int,
minutes_int, sec_int, years_int], fixnum, [secs, secs_temp], convfloat]),
secs
secs : secs_in, if secs >= 0 then (years_int : truncate(----------------),
glob_sec_in_year
sec_temp : mod(truncate(secs), truncate(glob_sec_in_year)),
sec_temp
days_int : truncate(---------------), sec_temp :
glob_sec_in_day
mod(sec_temp, truncate(glob_sec_in_day)),
sec_temp
hours_int : truncate(----------------),
glob_sec_in_hour
sec_temp : mod(sec_temp, truncate(glob_sec_in_hour)),
sec_temp
minutes_int : truncate(------------------),
glob_sec_in_minute
sec_int : mod(sec_temp, truncate(glob_sec_in_minute)),
if years_int > 0 then printf(true,
"= ~f Years ~f Days ~f Hours ~f Minutes ~f Seconds~%", years_int, days_int,
hours_int, minutes_int, sec_int) elseif days_int > 0.1
then printf(true, "= ~d Days ~d Hours ~d Minutes ~d Seconds~%", days_int,
hours_int, minutes_int, sec_int) elseif hours_int > 0.1
then printf(true, "= ~d Hours ~d Minutes ~d Seconds~%", hours_int,
minutes_int, sec_int) elseif minutes_int > 0.1
then printf(true, "= ~d Minutes ~d Seconds~%", minutes_int, sec_int)
else printf(true, "= ~d Seconds~%", sec_int))
else printf(true, "= 0.0 Seconds~%")), 0)
(%i184) zero_ats_ar(arr_a):=(
block(modedcclare([iii],fixnum),iii:1,
while iii <= MAX_TERMS do
(arr_a[iii]:0.0,iii:1+iii)),0)
(%o184) zero_ats_ar(arr_a) := (block(modedcclare([iii], fixnum), iii : 1,
while iii <= MAX_TERMS do (arr_a : 0.0, iii : 1 + iii)), 0)
iii
(%i185) ats(mmm_ats,arr_a,arr_b,jjj_ats):=block(
mode_declare([[iii_ats,lll_ats,ma_ats],fixnum,[ret_ats],
convfloat]),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,
if lll_ats <= MAX_TERMS and iii_ats <= MAX_TERMS
then ret_ats
:arr_a[iii_ats]*arr_b[lll_ats]+ret_ats,
iii_ats:1+iii_ats)),ret_ats)
(%o185) ats(mmm_ats, arr_a, arr_b, jjj_ats) :=
block(mode_declare([[iii_ats, lll_ats, ma_ats], fixnum, [ret_ats],
convfloat]), 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,
if (lll_ats <= MAX_TERMS) and (iii_ats <= MAX_TERMS)
then ret_ats : arr_a arr_b + ret_ats, iii_ats : 1 + iii_ats)),
iii_ats lll_ats
ret_ats)
(%i186) att(mmm_att,arr_aa,arr_bb,jjj_att):=block(
mode_declare([[al_att,iii_att,lll_att,ma_att],convfloat,[ret_att],
fixnum]),ret_att:0.0,
if jjj_att < mmm_att
then (ma_att:2+mmm_att,iii_att:jjj_att,
while iii_att < mmm_att and iii_att <= MAX_TERMS do
(lll_att:ma_att-iii_att,al_att:lll_att-1,
if lll_att <= MAX_TERMS and iii_att <= MAX_TERMS
then ret_att
:arr_aa[iii_att]*arr_bb[lll_att]*al_att
+ret_att,iii_att:1+iii_att),
ret_att:ret_att/mmm_att),ret_att)
(%o186) att(mmm_att, arr_aa, arr_bb, jjj_att) :=
block(mode_declare([[al_att, iii_att, lll_att, ma_att], convfloat, [ret_att],
fixnum]), ret_att : 0.0, if jjj_att < mmm_att
then (ma_att : 2 + mmm_att, iii_att : jjj_att,
while (iii_att < mmm_att) and (iii_att <= MAX_TERMS) do (lll_att :
ma_att - iii_att, al_att : lll_att - 1,
if (lll_att <= MAX_TERMS) and (iii_att <= MAX_TERMS)
then ret_att : arr_aa arr_bb al_att + ret_att,
iii_att lll_att
ret_att
iii_att : 1 + iii_att), ret_att : -------), ret_att)
mmm_att
(%i187) logditto(file):=(printf(file,""),printf(file,"ditto"),
printf(file," | "),0)
(%o187) logditto(file) := (printf(file, ""), printf(file, "ditto"),
printf(file, " | "), 0)
(%i188) logitem_integer(file,n):=(printf(file,""),printf(file,"~d",n),
printf(file," | "),0)
(%o188) logitem_integer(file, n) := (printf(file, ""),
printf(file, "~d", n), printf(file, " | "), 0)
(%i189) logitem_str(file,str):=(printf(file,""),printf(file,str),
printf(file," | "),0)
(%o189) logitem_str(file, str) := (printf(file, ""), printf(file, str),
printf(file, " | "), 0)
(%i190) logitem_good_digits(file,rel_error):=(
block(mode_declare([[good_digits],fixnum]),
printf(file,""),
if rel_error # -1.0
then (if rel_error > +1.0E-34
then (
good_digits
:3-floor(log10(rel_error)),
printf(file,"~d",good_digits))
else (good_digits:16,
printf(file,"~d",
good_digits)))
else printf(file,"Unknown"),
printf(file," | ")),0)
(%o190) logitem_good_digits(file, rel_error) :=
(block(mode_declare([[good_digits], fixnum]), printf(file, ""),
if rel_error # - 1.0 then (if rel_error > + 1.0E-34
then (good_digits : 3 - floor(log10(rel_error)),
printf(file, "~d", good_digits)) else (good_digits : 16,
printf(file, "~d", good_digits))) else printf(file, "Unknown"),
printf(file, " | ")), 0)
(%i191) log_revs(file,revs):=printf(file,revs)
(%o191) log_revs(file, revs) := printf(file, revs)
(%i192) logitem_float(file,x):=(printf(file,""),printf(file,"~g",x),
printf(file," | "),0)
(%o192) logitem_float(file, x) := (printf(file, ""),
printf(file, "~g", x), printf(file, " | "), 0)
(%i193) 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") elseif pole = 4
then printf(file,"Yes") else printf(file,"No"),
printf(file," | "),0)
(%o193) 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") elseif pole = 4
then printf(file, "Yes") else printf(file, "No"), printf(file, " | "), 0)
(%i194) logstart(file):=(printf(file,""),0)
(%o194) logstart(file) := (printf(file, "
"), 0)
(%i195) logend(file):=(printf(file,"
~%"),0)
(%o195) logend(file) := (printf(file, "~%"), 0)
(%i196) chk_data():=(
block(mode_declare([[errflag],boolean]),errflag:false,
if glob_max_iter < 2
then (omniout_str(ALWAYS,"Illegal max_iter"),
errflag:true),if errflag then quit()),0)
(%o196) chk_data() := (block(mode_declare([[errflag], boolean]),
errflag : false, if glob_max_iter < 2 then (omniout_str(ALWAYS,
"Illegal max_iter"), errflag : true), if errflag then quit()), 0)
(%i197) comp_expect_sec(t_end2,t_start2,t2,clock_sec2):=block(
mode_declare([[ms2,rrr,sec_left,sub1,sub2],
convfloat]),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
then (rrr:sub1/sub2,
sec_left:rrr*ms2-ms2)
else sec_left:0.0),sec_left)
(%o197) comp_expect_sec(t_end2, t_start2, t2, clock_sec2) :=
block(mode_declare([[ms2, rrr, sec_left, sub1, sub2], convfloat]),
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
(%i198) comp_percent(t_end2,t_start2,t2):=block(
mode_declare([[rrr,sub1,sub2],convfloat]),
sub1:t_end2-t_start2,sub2:t2-t_start2,
if sub2 > glob_small_float then rrr:100.0*sub2/sub1
else rrr:0.0,rrr)
(%o198) comp_percent(t_end2, t_start2, t2) :=
block(mode_declare([[rrr, sub1, sub2], convfloat]), sub1 : t_end2 - t_start2,
100.0 sub2
sub2 : t2 - t_start2, if sub2 > glob_small_float then rrr : ----------
sub1
else rrr : 0.0, rrr)
(%i199) comp_rad_from_ratio(term1,term2,last_no):=(
if term2 > 0.0 then ret:abs(term1*glob_h/term2)
else ret:glob_larger_float,ret)
(%o199) comp_rad_from_ratio(term1, term2, last_no) :=
!term1 glob_h!
(if term2 > 0.0 then ret : !------------! else ret : glob_larger_float, ret)
! term2 !
(%i200) comp_ord_from_ratio(term1,term2,last_no):=(
if term2 > 0.0
then ret
:abs(term2)*convfloat(last_no)
*log(abs(term1*glob_h/term2))
/log(convfloat(last_no))
+1.0 else ret:glob_larger_float,ret)
(%o200) comp_ord_from_ratio(term1, term2, last_no) :=
!term1 glob_h!
mabs(term2) convfloat(last_no) log(!------------!)
! term2 !
(if term2 > 0.0 then ret : --------------------------------------------------
log(convfloat(last_no))
+ 1.0 else ret : glob_larger_float, ret)
(%i201) comp_rad_from_three_terms(term1,term2,term3,last_no):=(
temp:abs(
term1*term3
-term1*term3*convfloat(last_no)
-2.0*term2*term2
+term2*term2*convfloat(last_no)),
if temp > 0.0
then ret:abs(term2*glob_h*term1/temp)
else ret:glob_larger_float,ret)
(%o201) comp_rad_from_three_terms(term1, term2, term3, last_no) :=
(temp : mabs(term1 term3 - term1 term3 convfloat(last_no) - 2.0 term2 term2
+ term2 term2 convfloat(last_no)), if temp > 0.0
!term2 glob_h term1!
then ret : !------------------! else ret : glob_larger_float, ret)
! temp !
(%i202) comp_ord_from_three_terms(term1,term2,term3,last_no):=(
ret:abs(
(-term1*term3*convfloat(last_no*last_no)
+term2*term2*convfloat(last_no*last_no)
+4.0*term2*term2
-4.0*term2*term2*convfloat(last_no)
-3.0*term1*term3
+4.0*term1*term3*convfloat(last_no))
/(term1*term3
-term1*term3*convfloat(last_no)
-2.0*term2*term2
+term2*term2*convfloat(last_no))),ret)
(%o202) comp_ord_from_three_terms(term1, term2, term3, last_no) :=
(ret : mabs((- term1 term3 convfloat(last_no last_no)
+ term2 term2 convfloat(last_no last_no) + 4.0 term2 term2
- 4.0 term2 term2 convfloat(last_no) - 3.0 term1 term3
+ 4.0 term1 term3 convfloat(last_no))/(term1 term3
- term1 term3 convfloat(last_no) - 2.0 term2 term2
+ term2 term2 convfloat(last_no))), ret)
(%i203) comp_rad_from_six_terms(term1,term2,term3,term4,term5,term6,last_no):=
(
if term5 # 0.0 and term4 # 0.0 and term3 # 0.0
and term2 # 0.0 and term1 # 0.0
then (rm0:term6/term5,rm1:term5/term4,
rm2:term4/term3,rm3:term3/term2,
rm4:term2/term1,
nr1
:convfloat(last_no-3)*rm2
-2.0*convfloat(last_no-2)*rm1
+convfloat(last_no-1)*rm0,
nr2
:convfloat(last_no-4)*rm3
-2.0*convfloat(last_no-3)*rm2
+convfloat(last_no-2)*rm1,
dr1:(-1.0)/rm3+2.0/rm2+(-1.0)/rm1,
dr2:(-1.0)/rm4+2.0/rm3+(-1.0)/rm2,
ds1:5.0/rm3-8.0/rm2+3.0/rm1,
ds2:5.0/rm4-8.0/rm3+3.0/rm2,
if
abs(nr1*dr2-nr2*dr1) = 0.0
or abs(dr1) = 0.0
then (rad_c:glob_larger_float,
ord_no:glob_larger_float)
else (if
abs(nr1*dr2-nr2*dr1) # 0.0
then (
rcs
:(dr1*dr2-ds2*dr1+ds1*dr2)
/(nr1*dr2-nr2*dr1),
ord_no
:(rcs*nr1-ds1)/(2.0*dr1)
-convfloat(last_no)/2.0,
if abs(rcs) # 0.0
then (if rcs > 0.0
then rad_c
:sqrt(rcs)
*abs(glob_h)
else (
rad_c
:glob_larger_float,
ord_no
:glob_larger_float))
else (
rad_c:glob_larger_float,
ord_no:glob_larger_float))
else (rad_c:glob_larger_float,
ord_no:glob_larger_float)))
else (rad_c:glob_larger_float,
ord_no:glob_larger_float),
glob_six_term_ord_save:ord_no,rad_c)
(%o203) comp_rad_from_six_terms(term1, term2, term3, term4, term5, term6,
last_no) := (if (term5 # 0.0) and (term4 # 0.0) and (term3 # 0.0)
term6 term5
and (term2 # 0.0) and (term1 # 0.0) then (rm0 : -----, rm1 : -----,
term5 term4
term4 term3 term2
rm2 : -----, rm3 : -----, rm4 : -----,
term3 term2 term1
nr1 : convfloat(last_no - 3) rm2 - 2.0 convfloat(last_no - 2) rm1
+ convfloat(last_no - 1) rm0, nr2 : convfloat(last_no - 4) rm3
- 2.0 convfloat(last_no - 3) rm2 + convfloat(last_no - 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 (mabs(nr1 dr2 - nr2 dr1) = 0.0) or (mabs(dr1) = 0.0)
rm4 rm3 rm2
then (rad_c : glob_larger_float, ord_no : glob_larger_float)
else (if mabs(nr1 dr2 - nr2 dr1) # 0.0
dr1 dr2 - ds2 dr1 + ds1 dr2
then (rcs : ---------------------------,
nr1 dr2 - nr2 dr1
rcs nr1 - ds1 convfloat(last_no)
ord_no : ------------- - ------------------,
2.0 dr1 2.0
if mabs(rcs) # 0.0 then (if rcs > 0.0 then rad_c : sqrt(rcs) mabs(glob_h)
else (rad_c : glob_larger_float, ord_no : glob_larger_float))
else (rad_c : glob_larger_float, ord_no : glob_larger_float))
else (rad_c : glob_larger_float, ord_no : glob_larger_float)))
else (rad_c : glob_larger_float, ord_no : glob_larger_float),
glob_six_term_ord_save : ord_no, rad_c)
(%i204) comp_ord_from_six_terms(term1,term2,term3,term4,term5,term6,last_no):=glob_six_term_ord_save
(%o204) comp_ord_from_six_terms(term1, term2, term3, term4, term5, term6,
last_no) := glob_six_term_ord_save
(%i205) factorial_2(nnn):=nnn!
(%o205) factorial_2(nnn) := nnn!
(%i206) factorial_1(nnn):=block(mode_declare([[ret],convfloat]),
if nnn <= MAX_TERMS
then (if array_fact_1[nnn] = 0
then (ret:factorial_2(nnn),
array_fact_1[nnn]:ret)
else ret:array_fact_1[nnn])
else ret:factorial_2(nnn),ret)
(%o206) factorial_1(nnn) := block(mode_declare([[ret], convfloat]),
if nnn <= 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
(%i207) factorial_3(mmm,nnn):=block(mode_declare([[ret],convfloat]),
if nnn <= MAX_TERMS and mmm <= MAX_TERMS
then (if array_fact_2[mmm,nnn] = 0
then (ret:factorial_1(mmm)/factorial_1(nnn),
array_fact_2[mmm,nnn]:ret)
else ret:array_fact_2[mmm,nnn])
else ret:factorial_2(mmm)/factorial_2(nnn),ret)
(%o207) factorial_3(mmm, nnn) := block(mode_declare([[ret], convfloat]),
if (nnn <= MAX_TERMS) and (mmm <= 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)
(%i208) log10(x):=log(x)/glob_log_10
log(x)
(%o208) log10(x) := -----------
glob_log_10
(%i209) expt(x,y):=(if x <= 0.0 and y < 0.0
then print("expt error x = ",x,"y = ",y),x^y)
(%o209) expt(x, y) := (if (x <= 0.0) and (y < 0.0)
y
then print("expt error x = ", x, "y = ", y), x )
(%i210) 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)
*abs(estimated_answer),
omniout_float(ALWAYS,"estimated_h",32,
estimated_h,32,""),
omniout_float(ALWAYS,"estimated_answer",
32,estimated_answer,32,""),
omniout_float(ALWAYS,
"desired_abs_gbl_error",32,
desired_abs_gbl_error,32,
""),range:x_end-x_start,
omniout_float(ALWAYS,"range",32,range,32,
""),
estimated_steps:range/estimated_h,
omniout_float(ALWAYS,"estimated_steps",32,
estimated_steps,32,""),
step_error
:abs(
desired_abs_gbl_error/estimated_steps),
omniout_float(ALWAYS,"step_error",32,
step_error,32,""),
step_error)
(%o210) 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) mabs(estimated_answer),
omniout_float(ALWAYS, "estimated_h", 32, estimated_h, 32, ""),
omniout_float(ALWAYS, "estimated_answer", 32, estimated_answer, 32, ""),
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 : !---------------------!,
! estimated_steps !
omniout_float(ALWAYS, "step_error", 32, step_error, 32, ""), step_error)
(%i211) exact_soln_y(x):=block(-log(cos(x)))
(%o211) exact_soln_y(x) := block(- log(cos(x)))
(%i212) display_poles():=(
block(mode_declare([[rad_given],convfloat]),
if glob_type_given_pole = 4
then (rad_given
:sqrt(
array_given_rad_poles[1,2]
*array_given_rad_poles[1,2]
+(array_x[1]
-array_given_rad_poles[1,1])
*(array_x[1]
-array_given_rad_poles[1,1])),
if rad_given < glob_least_given_sing
then glob_least_given_sing
:rad_given,
omniout_float(ALWAYS,
"Radius of convergence (given) for eq 1 ",
4,rad_given,4," "),
omniout_float(ALWAYS,
"Order of pole (given) ",
4,
array_given_ord_poles[
1,1],4," "))
elseif glob_type_given_pole = 3
then omniout_str(ALWAYS,
"NO POLE (given) for Equation 1")
else omniout_str(ALWAYS,
"NO INFO (given) for Equation 1"),
if array_rad_test_poles[1,1] < glob_large_float
then (omniout_float(ALWAYS,
"Radius of convergence (ratio test) for eq 1 ",
4,
array_rad_test_poles[1,1],
4," "),
if
array_rad_test_poles[1,1]
< glob_least_ratio_sing
then glob_least_ratio_sing
:array_rad_test_poles[1,1],
omniout_float(ALWAYS,
"Order of pole (ratio test) ",
4,
array_ord_test_poles[1,1],
4," "))
else omniout_str(ALWAYS,
"NO POLE (ratio test) for Equation 1"),
if array_rad_test_poles[1,2] > 0.0
and array_rad_test_poles[1,2]
< glob_large_float
then (omniout_float(ALWAYS,
"Radius of convergence (three term test) for eq 1 ",
4,
array_rad_test_poles[1,2],
4," "),
if
array_rad_test_poles[1,2]
< glob_least_3_sing
then glob_least_3_sing
:array_rad_test_poles[1,2],
omniout_float(ALWAYS,
"Order of pole (three term test) ",
4,
array_ord_test_poles[1,2],
4," "))
else omniout_str(ALWAYS,
"NO REAL POLE (three term test) for Equation 1"),
if array_rad_test_poles[1,3] > 0.0
and array_rad_test_poles[1,3]
< glob_large_float
then (omniout_float(ALWAYS,
"Radius of convergence (six term test) for eq 1 ",
4,
array_rad_test_poles[1,3],
4," "),
if
array_rad_test_poles[1,3]
< glob_least_6_sing
then glob_least_6_sing
:array_rad_test_poles[1,3],
omniout_float(ALWAYS,
"Order of pole (six term test) ",
4,
array_ord_test_poles[1,3],
4," "))
else omniout_str(ALWAYS,
"NO COMPLEX POLE (six term test) for Equation 1")),
0)
(%o212) display_poles() := (block(mode_declare([[rad_given], convfloat]),
if glob_type_given_pole = 4 then (rad_given :
sqrt(array_given_rad_poles array_given_rad_poles
1, 2 1, 2
+ (array_x - array_given_rad_poles )
1 1, 1
(array_x - array_given_rad_poles )),
1 1, 1
if rad_given < glob_least_given_sing then glob_least_given_sing : rad_given,
omniout_float(ALWAYS, "Radius of convergence (given) for eq 1 ", 4,
rad_given, 4, " "), omniout_float(ALWAYS,
"Order of pole (given) ", 4,
array_given_ord_poles , 4, " ")) elseif glob_type_given_pole = 3
1, 1
then omniout_str(ALWAYS, "NO POLE (given) for Equation 1")
else omniout_str(ALWAYS, "NO INFO (given) for Equation 1"),
if array_rad_test_poles < glob_large_float then (omniout_float(ALWAYS, "Ra\
1, 1
dius of convergence (ratio test) for eq 1 ", 4,
array_rad_test_poles , 4, " "), if array_rad_test_poles <
1, 1 1, 1
glob_least_ratio_sing then glob_least_ratio_sing : array_rad_test_poles ,
1, 1
omniout_float(ALWAYS, "Order of pole (ratio test) ", 4,
array_ord_test_poles , 4, " ")) else omniout_str(ALWAYS,
1, 1
"NO POLE (ratio test) for Equation 1"),
if (array_rad_test_poles > 0.0) and (array_rad_test_poles < glob_large_float)
1, 2 1, 2
then (omniout_float(ALWAYS,
"Radius of convergence (three term test) for eq 1 ", 4,
array_rad_test_poles , 4, " "), if array_rad_test_poles <
1, 2 1, 2
glob_least_3_sing then glob_least_3_sing : array_rad_test_poles ,
1, 2
omniout_float(ALWAYS, "Order of pole (three term test) ", 4,
array_ord_test_poles , 4, " ")) else omniout_str(ALWAYS,
1, 2
"NO REAL POLE (three term test) for Equation 1"),
if (array_rad_test_poles > 0.0) and (array_rad_test_poles <
1, 3 1, 3
glob_large_float)
then (omniout_float(ALWAYS,
"Radius of convergence (six term test) for eq 1 ", 4,
array_rad_test_poles , 4, " "), if array_rad_test_poles <
1, 3 1, 3
glob_least_6_sing then glob_least_6_sing : array_rad_test_poles ,
1, 3
omniout_float(ALWAYS, "Order of pole (six term test) ", 4,
array_ord_test_poles , 4, " ")) else omniout_str(ALWAYS,
1, 3
"NO COMPLEX POLE (six term test) for Equation 1")), 0)
(%i213) my_check_sign(x0,xf):=block([ret],if xf > x0 then ret:1.0
else ret:-1.0,ret)
(%o213) my_check_sign(x0, xf) := block([ret],
if xf > x0 then ret : 1.0 else ret : - 1.0, ret)
(%i214) est_size_answer():=block([min_size],
min_size:glob_estimated_size_answer,
if abs(array_y[1]) < min_size
then (min_size:abs(array_y[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)
(%o214) est_size_answer() := block([min_size],
min_size : glob_estimated_size_answer,
if !array_y ! < min_size then (min_size : !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)
(%i215) test_suggested_h():=block(
[max_estimated_step_error,hn_div_ho,hn_div_ho_2,
hn_div_ho_3,no_terms,est_tmp],
max_estimated_step_error:0.0,no_terms:MAX_TERMS,
hn_div_ho:0.5,hn_div_ho_2:0.25,hn_div_ho_3:0.125,
omniout_float(ALWAYS,"hn_div_ho",32,hn_div_ho,32,""),
omniout_float(ALWAYS,"hn_div_ho_2",32,hn_div_ho_2,32,
""),
omniout_float(ALWAYS,"hn_div_ho_3",32,hn_div_ho_3,32,
""),
est_tmp:abs(array_y[no_terms]*hn_div_ho_3
+array_y[no_terms-1]*hn_div_ho_2
+array_y[no_terms-2]*hn_div_ho
+array_y[no_terms-3]),
if est_tmp >= max_estimated_step_error
then max_estimated_step_error:est_tmp,
omniout_float(ALWAYS,"max_estimated_step_error",32,
max_estimated_step_error,32,""),
max_estimated_step_error)
(%o215) test_suggested_h() := block([max_estimated_step_error, hn_div_ho,
hn_div_ho_2, hn_div_ho_3, no_terms, est_tmp], max_estimated_step_error : 0.0,
no_terms : MAX_TERMS, hn_div_ho : 0.5, hn_div_ho_2 : 0.25,
hn_div_ho_3 : 0.125, omniout_float(ALWAYS, "hn_div_ho", 32, hn_div_ho, 32,
""), omniout_float(ALWAYS, "hn_div_ho_2", 32, hn_div_ho_2, 32, ""),
omniout_float(ALWAYS, "hn_div_ho_3", 32, hn_div_ho_3, 32, ""),
est_tmp : mabs(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 est_tmp >= max_estimated_step_error then max_estimated_step_error :
est_tmp, omniout_float(ALWAYS, "max_estimated_step_error", 32,
max_estimated_step_error, 32, ""), max_estimated_step_error)
(%i216) reached_interval():=block(mode_declare([[ret],boolean]),
if glob_check_sign*array_x[1]
>= glob_check_sign*glob_next_display
then ret:true else ret:false,return(ret))
(%o216) reached_interval() := block(mode_declare([[ret], boolean]),
if glob_check_sign array_x >= glob_check_sign glob_next_display
1
then ret : true else ret : false, return(ret))
(%i217) display_alot(iter):=(
block(mode_declare(
[[abserr],convfloat,[analytic_val_y],convfloat,
[ind_var],convfloat,[numeric_val],convfloat,
[relerr],convfloat,[term_no],fixnum]),
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
:abs(
numeric_val-analytic_val_y),
omniout_float(ALWAYS,
"y[1] (numeric) ",
33,numeric_val,
20," "),
if abs(analytic_val_y) # 0.0
then (
relerr
:abserr*100.0
/abs(analytic_val_y),
if relerr > 1.0E-34
then glob_good_digits
:3-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[1]
:relerr
else array_last_rel_error[
1]
:relerr,
omniout_float(ALWAYS,
"absolute error ",
4,abserr,20," "),
omniout_float(ALWAYS,
"relative error ",
4,relerr,20,"%"),
omniout_int(INFO,
"Correct digits ",
32,
glob_good_digits,4,
" "),
omniout_float(ALWAYS,
"h ",
4,glob_h,20,
" ")))),0)
(%o217) display_alot(iter) := (block(mode_declare([[abserr], convfloat,
[analytic_val_y], convfloat, [ind_var], convfloat, [numeric_val], convfloat,
[relerr], convfloat, [term_no], fixnum]),
if reached_interval() then (if iter >= 0
then (ind_var : array_x , omniout_float(ALWAYS,
1
"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 : mabs(numeric_val - analytic_val_y),
omniout_float(ALWAYS, "y[1] (numeric) ", 33, numeric_val,
20, " "), if mabs(analytic_val_y) # 0.0
abserr 100.0
then (relerr : --------------------, if relerr > 1.0E-34
mabs(analytic_val_y)
then glob_good_digits : 3 - 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, " ")))), 0)
(%i218) adjust_for_pole(h_param):=(
block(mode_declare(
[[hnew],convfloat,[sz2],convfloat,[tmp],
convfloat]),hnew:h_param,
glob_normmax:glob_small_float,
if abs(array_y_higher[1,1]) > glob_small_float
then (tmp:abs(array_y_higher[1,1]),
if tmp < glob_normmax
then glob_normmax:tmp),
if glob_look_poles
and glob_min_pole_est > glob_small_float
and glob_min_pole_est < glob_large_float
then (sz2:glob_min_pole_est/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[1]),
hnew:sz2),hnew)
(%o218) adjust_for_pole(h_param) := (block(mode_declare([[hnew], convfloat,
[sz2], convfloat, [tmp], convfloat]), hnew : h_param,
glob_normmax : glob_small_float, if !array_y_higher ! > glob_small_float
! 1, 1!
then (tmp : !array_y_higher !, if tmp < glob_normmax
! 1, 1!
then glob_normmax : tmp), if glob_look_poles
and (glob_min_pole_est > glob_small_float)
and (glob_min_pole_est < glob_large_float)
glob_min_pole_est
then (sz2 : -----------------, if sz2 < hnew
10.0
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), hnew)
1
(%i219) prog_report(x_start,x_end):=(
block(mode_declare([[clock_sec],convfloat,[opt_clock_sec],
convfloat,[clock_sec1],convfloat,
[expect_sec],convfloat,[left_sec],
convfloat,[percent_done],convfloat,
[total_clock_sec],convfloat]),
clock_sec1:elapsed_time_seconds(),
total_clock_sec:clock_sec1-glob_orig_start_sec,
glob_clock_sec:clock_sec1-glob_clock_start_sec,
left_sec:-clock_sec1+glob_orig_start_sec
+glob_max_sec,
expect_sec:comp_expect_sec(x_end,x_start,
glob_h+array_x[1],
clock_sec1
-glob_orig_start_sec),
opt_clock_sec:clock_sec1
-glob_optimal_clock_start_sec,
glob_optimal_expect_sec
:comp_expect_sec(x_end,x_start,glob_h+array_x[1],
opt_clock_sec),
glob_total_exp_sec
:total_clock_sec+glob_optimal_expect_sec,
percent_done:comp_percent(x_end,x_start,
glob_h+array_x[1]),
glob_percent_done:percent_done,
omniout_str_noeol(INFO,
"Total Elapsed Time "),
omniout_timestr(total_clock_sec),
omniout_str_noeol(INFO,
"Elapsed Time(since restart) "),
omniout_timestr(glob_clock_sec),
if percent_done < 100.0
then (omniout_str_noeol(INFO,
"Expected Time Remaining "),
omniout_timestr(expect_sec),
omniout_str_noeol(INFO,
"Optimized Time Remaining "),
omniout_timestr(glob_optimal_expect_sec),
omniout_str_noeol(INFO,
"Expected Total Time "),
omniout_timestr(glob_total_exp_sec)),
omniout_str_noeol(INFO,
"Time to Timeout "),
omniout_timestr(left_sec),
omniout_float(INFO,
"Percent Done ",33,
percent_done,4,"%")),0)
(%o219) prog_report(x_start, x_end) :=
(block(mode_declare([[clock_sec], convfloat, [opt_clock_sec], convfloat,
[clock_sec1], convfloat, [expect_sec], convfloat, [left_sec], convfloat,
[percent_done], convfloat, [total_clock_sec], convfloat]),
clock_sec1 : elapsed_time_seconds(), total_clock_sec :
clock_sec1 - glob_orig_start_sec, glob_clock_sec :
clock_sec1 - glob_clock_start_sec, left_sec :
- clock_sec1 + glob_orig_start_sec + glob_max_sec,
expect_sec : comp_expect_sec(x_end, x_start, glob_h + array_x ,
1
clock_sec1 - glob_orig_start_sec), opt_clock_sec :
clock_sec1 - glob_optimal_clock_start_sec,
glob_optimal_expect_sec : comp_expect_sec(x_end, x_start, glob_h + array_x ,
1
opt_clock_sec), glob_total_exp_sec : total_clock_sec
+ glob_optimal_expect_sec, percent_done :
comp_percent(x_end, x_start, glob_h + array_x ),
1
glob_percent_done : percent_done, omniout_str_noeol(INFO,
"Total Elapsed Time "), omniout_timestr(total_clock_sec),
omniout_str_noeol(INFO, "Elapsed Time(since restart) "),
omniout_timestr(glob_clock_sec), if percent_done < 100.0
then (omniout_str_noeol(INFO, "Expected Time Remaining "),
omniout_timestr(expect_sec), omniout_str_noeol(INFO,
"Optimized Time Remaining "), omniout_timestr(glob_optimal_expect_sec),
omniout_str_noeol(INFO, "Expected Total Time "),
omniout_timestr(glob_total_exp_sec)), omniout_str_noeol(INFO,
"Time to Timeout "), omniout_timestr(left_sec),
omniout_float(INFO, "Percent Done ", 33, percent_done, 4,
"%")), 0)
(%i220) check_for_pole():=(
block(mode_declare([cnt],fixnum,[dr1,dr2,ds1,ds2,hdrc],
convfloat,[m,n],fixnum,[nr1,nr2],
convfloat,[ord_no],fixnum,
[term1,term2,term3,part1,part2,
part3,part4,part5,part6,part7,
part8,part9,part10,part11,part12,
part13,part14,rad_c,rcs,rm0,rm1,
rm2,rm3,rm4],convfloat,
[found_sing],fixnum,
[h_new,ratio,term,local_test,
tmp_rad,tmp_ord,tmp_ratio,
prev_tmp_rad],convfloat,[last_no],
fixnum),
glob_min_pole_est:glob_larger_float,
tmp_rad:glob_larger_float,
prev_tmp_rad:glob_larger_float,
tmp_ratio:glob_larger_float,
rad_c:glob_larger_float,
array_rad_test_poles[1,1]:glob_larger_float,
array_ord_test_poles[1,1]:glob_larger_float,
found_sing:1,last_no:-10-1+MAX_TERMS,cnt:0,
while last_no < MAX_TERMS-3 and found_sing = 1 do
(tmp_rad
:comp_rad_from_ratio(
array_y_higher[1,last_no-1],
array_y_higher[1,last_no],last_no),
tmp_ratio:tmp_rad/prev_tmp_rad,
if cnt > 0
and tmp_ratio
< glob_upper_ratio_limit
and tmp_ratio
> glob_lower_ratio_limit
then rad_c:tmp_rad elseif cnt = 0
then rad_c:tmp_rad elseif cnt > 0
then found_sing:0,
prev_tmp_rad:tmp_rad,cnt:1+cnt,
last_no:1+last_no),
if found_sing = 1
then (if rad_c < array_rad_test_poles[1,1]
then (
array_rad_test_poles[1,1]:rad_c,
last_no:last_no-1,
tmp_ord
:comp_ord_from_ratio(
array_y_higher[1,last_no-1],
array_y_higher[1,last_no],
last_no),
array_rad_test_poles[1,1]:rad_c,
array_ord_test_poles[1,1]
:tmp_ord)),
glob_min_pole_est:glob_larger_float,
tmp_rad:glob_larger_float,
prev_tmp_rad:glob_larger_float,
tmp_ratio:glob_larger_float,
rad_c:glob_larger_float,
array_rad_test_poles[1,2]:glob_larger_float,
array_ord_test_poles[1,2]:glob_larger_float,
found_sing:1,last_no:-10-1+MAX_TERMS,cnt:0,
while last_no < MAX_TERMS-4 and found_sing = 1 do
(tmp_rad
:comp_rad_from_three_terms(
array_y_higher[1,last_no-2],
array_y_higher[1,last_no-1],
array_y_higher[1,last_no],last_no),
tmp_ratio:tmp_rad/prev_tmp_rad,
if cnt > 0
and tmp_ratio
< glob_upper_ratio_limit
and tmp_ratio
> glob_lower_ratio_limit
then rad_c:tmp_rad elseif cnt = 0
then rad_c:tmp_rad elseif cnt > 0
then found_sing:0,
prev_tmp_rad:tmp_rad,cnt:1+cnt,
last_no:1+last_no),
if found_sing = 1
then (if rad_c < array_rad_test_poles[1,2]
then (
array_rad_test_poles[1,2]:rad_c,
last_no:last_no-1,
tmp_ord
:comp_ord_from_three_terms(
array_y_higher[1,last_no-2],
array_y_higher[1,last_no-1],
array_y_higher[1,last_no],
last_no),
array_rad_test_poles[1,2]:rad_c,
if rad_c < glob_min_pole_est
then glob_min_pole_est:rad_c,
array_ord_test_poles[1,2]
:tmp_ord)),
glob_min_pole_est:glob_larger_float,
tmp_rad:glob_larger_float,
prev_tmp_rad:glob_larger_float,
tmp_ratio:glob_larger_float,
rad_c:glob_larger_float,
array_rad_test_poles[1,3]:glob_larger_float,
array_ord_test_poles[1,3]:glob_larger_float,
found_sing:1,last_no:-10-1+MAX_TERMS,cnt:0,
while last_no < MAX_TERMS-7 and found_sing = 1 do
(tmp_rad
:comp_rad_from_six_terms(
array_y_higher[1,last_no-5],
array_y_higher[1,last_no-4],
array_y_higher[1,last_no-3],
array_y_higher[1,last_no-2],
array_y_higher[1,last_no-1],
array_y_higher[1,last_no],last_no),
tmp_ratio:tmp_rad/prev_tmp_rad,
if cnt > 0
and tmp_ratio
< glob_upper_ratio_limit
and tmp_ratio
> glob_lower_ratio_limit
then rad_c:tmp_rad elseif cnt = 0
then rad_c:tmp_rad elseif cnt > 0
then found_sing:0,
prev_tmp_rad:tmp_rad,cnt:1+cnt,
last_no:1+last_no),
if found_sing = 1
then (if rad_c < array_rad_test_poles[1,3]
then (
array_rad_test_poles[1,3]:rad_c,
last_no:last_no-1,
tmp_ord
:comp_ord_from_six_terms(
array_y_higher[1,last_no-5],
array_y_higher[1,last_no-4],
array_y_higher[1,last_no-3],
array_y_higher[1,last_no-2],
array_y_higher[1,last_no-1],
array_y_higher[1,last_no],
last_no),
array_rad_test_poles[1,3]:rad_c,
if rad_c < glob_min_pole_est
then glob_min_pole_est:rad_c,
array_ord_test_poles[1,3]
:tmp_ord)),
if abs(glob_min_pole_est)*glob_ratio_of_radius
< abs(glob_h)
then (h_new
:glob_check_sign*glob_min_pole_est
*glob_ratio_of_radius,
term:1,ratio:1.0,
while term <= MAX_TERMS do
(
array_y[term]
:array_y[term]*ratio,
array_y_higher[1,term]
:array_y_higher[1,term]*ratio,
array_x[term]
:array_x[term]*ratio,
ratio:ratio*h_new/abs(glob_h),
term:1+term),glob_h:h_new),
if reached_interval() then display_poles()),0)
(%o220) check_for_pole() := (block(mode_declare([cnt], fixnum,
[dr1, dr2, ds1, ds2, hdrc], convfloat, [m, n], fixnum, [nr1, nr2], convfloat,
[ord_no], fixnum, [term1, term2, term3, part1, part2, part3, part4, part5,
part6, part7, part8, part9, part10, part11, part12, part13, part14, rad_c,
rcs, rm0, rm1, rm2, rm3, rm4], convfloat, [found_sing], fixnum,
[h_new, ratio, term, local_test, tmp_rad, tmp_ord, tmp_ratio, prev_tmp_rad],
convfloat, [last_no], fixnum), glob_min_pole_est : glob_larger_float,
tmp_rad : glob_larger_float, prev_tmp_rad : glob_larger_float,
tmp_ratio : glob_larger_float, rad_c : glob_larger_float,
array_rad_test_poles : glob_larger_float,
1, 1
array_ord_test_poles : glob_larger_float, found_sing : 1,
1, 1
last_no : - 10 - 1 + MAX_TERMS, cnt : 0,
while (last_no < MAX_TERMS - 3) and (found_sing = 1) do (tmp_rad :
comp_rad_from_ratio(array_y_higher , array_y_higher ,
1, last_no - 1 1, last_no
tmp_rad
last_no), tmp_ratio : ------------, if (cnt > 0)
prev_tmp_rad
and (tmp_ratio < glob_upper_ratio_limit)
and (tmp_ratio > glob_lower_ratio_limit) then rad_c : tmp_rad elseif cnt = 0
then rad_c : tmp_rad elseif cnt > 0 then found_sing : 0,
prev_tmp_rad : tmp_rad, cnt : 1 + cnt, last_no : 1 + last_no),
if found_sing = 1 then (if rad_c < array_rad_test_poles
1, 1
then (array_rad_test_poles : rad_c, last_no : last_no - 1,
1, 1
tmp_ord : comp_ord_from_ratio(array_y_higher ,
1, last_no - 1
array_y_higher , last_no), array_rad_test_poles : rad_c,
1, last_no 1, 1
array_ord_test_poles : tmp_ord)), glob_min_pole_est : glob_larger_float,
1, 1
tmp_rad : glob_larger_float, prev_tmp_rad : glob_larger_float,
tmp_ratio : glob_larger_float, rad_c : glob_larger_float,
array_rad_test_poles : glob_larger_float,
1, 2
array_ord_test_poles : glob_larger_float, found_sing : 1,
1, 2
last_no : - 10 - 1 + MAX_TERMS, cnt : 0,
while (last_no < MAX_TERMS - 4) and (found_sing = 1) do (tmp_rad :
comp_rad_from_three_terms(array_y_higher ,
1, last_no - 2
array_y_higher , array_y_higher , last_no),
1, last_no - 1 1, last_no
tmp_rad
tmp_ratio : ------------, if (cnt > 0) and (tmp_ratio < glob_upper_ratio_limit)
prev_tmp_rad
and (tmp_ratio > glob_lower_ratio_limit) then rad_c : tmp_rad elseif cnt = 0
then rad_c : tmp_rad elseif cnt > 0 then found_sing : 0,
prev_tmp_rad : tmp_rad, cnt : 1 + cnt, last_no : 1 + last_no),
if found_sing = 1 then (if rad_c < array_rad_test_poles
1, 2
then (array_rad_test_poles : rad_c, last_no : last_no - 1,
1, 2
tmp_ord : comp_ord_from_three_terms(array_y_higher ,
1, last_no - 2
array_y_higher , array_y_higher , last_no),
1, last_no - 1 1, last_no
array_rad_test_poles : rad_c, if rad_c < glob_min_pole_est
1, 2
then glob_min_pole_est : rad_c, array_ord_test_poles : tmp_ord)),
1, 2
glob_min_pole_est : glob_larger_float, tmp_rad : glob_larger_float,
prev_tmp_rad : glob_larger_float, tmp_ratio : glob_larger_float,
rad_c : glob_larger_float, array_rad_test_poles : glob_larger_float,
1, 3
array_ord_test_poles : glob_larger_float, found_sing : 1,
1, 3
last_no : - 10 - 1 + MAX_TERMS, cnt : 0,
while (last_no < MAX_TERMS - 7) and (found_sing = 1) do (tmp_rad :
comp_rad_from_six_terms(array_y_higher ,
1, last_no - 5
array_y_higher , array_y_higher ,
1, last_no - 4 1, last_no - 3
array_y_higher , array_y_higher ,
1, last_no - 2 1, last_no - 1
tmp_rad
array_y_higher , last_no), tmp_ratio : ------------,
1, last_no prev_tmp_rad
if (cnt > 0) and (tmp_ratio < glob_upper_ratio_limit)
and (tmp_ratio > glob_lower_ratio_limit) then rad_c : tmp_rad elseif cnt = 0
then rad_c : tmp_rad elseif cnt > 0 then found_sing : 0,
prev_tmp_rad : tmp_rad, cnt : 1 + cnt, last_no : 1 + last_no),
if found_sing = 1 then (if rad_c < array_rad_test_poles
1, 3
then (array_rad_test_poles : rad_c, last_no : last_no - 1,
1, 3
tmp_ord : comp_ord_from_six_terms(array_y_higher ,
1, last_no - 5
array_y_higher , array_y_higher ,
1, last_no - 4 1, last_no - 3
array_y_higher , array_y_higher ,
1, last_no - 2 1, last_no - 1
array_y_higher , last_no), array_rad_test_poles : rad_c,
1, last_no 1, 3
if rad_c < glob_min_pole_est then glob_min_pole_est : rad_c,
array_ord_test_poles : tmp_ord)), if mabs(glob_min_pole_est)
1, 3
glob_ratio_of_radius < mabs(glob_h) then (h_new :
glob_check_sign glob_min_pole_est glob_ratio_of_radius, term : 1, ratio : 1.0,
while term <= MAX_TERMS do (array_y : array_y ratio,
term term
array_y_higher : array_y_higher ratio,
1, term 1, term
ratio h_new
array_x : array_x ratio, ratio : ------------, term : 1 + term),
term term mabs(glob_h)
glob_h : h_new), if reached_interval() then display_poles()), 0)
(%i221) atomall():=(
block(mode_declare([[kkk,order_d],fixnum,
[adj2,adj3,temporary,term,temp,temp2],
convfloat]),
array_tmp1_a1[1]:sin(array_x[1]),
array_tmp1_a2[1]:cos(array_x[1]),
array_tmp1[1]:array_tmp1_a1[1]/array_tmp1_a2[1],
array_tmp2[1]:array_tmp1[1]+array_const_0D0[1],
if not array_y_set_initial[1,2]
then (if 1 <= MAX_TERMS
then (
temporary
:array_tmp2[1]*expt(glob_h,1)
*factorial_3(0,1),
if 2 <= MAX_TERMS
then (array_y[2]:temporary,
array_y_higher[1,2]:temporary),
temporary:temporary*1.0/glob_h,
array_y_higher[2,1]:temporary,0)),kkk:2,
array_tmp1_a1[2]:array_tmp1_a2[1]*array_x[2]/1,
array_tmp1_a2[2]:(-array_tmp1_a1[1]*array_x[2])/1,
array_tmp1[2]:(array_tmp1_a1[2]
-ats(2,array_tmp1_a2,array_tmp1,2))
/array_tmp1_a2[1],
array_tmp2[2]:array_tmp1[2],
if not array_y_set_initial[1,3]
then (if 2 <= MAX_TERMS
then (
temporary
:array_tmp2[2]*expt(glob_h,1)
*factorial_3(1,2),
if 3 <= MAX_TERMS
then (array_y[3]:temporary,
array_y_higher[1,3]:temporary),
temporary:temporary*2.0/glob_h,
array_y_higher[2,2]:temporary,0)),kkk:3,
array_tmp1_a1[3]:array_tmp1_a2[2]*array_x[2]/2,
array_tmp1_a2[3]:(-array_tmp1_a1[2]*array_x[2])/2,
array_tmp1[3]:(array_tmp1_a1[3]
-ats(3,array_tmp1_a2,array_tmp1,2))
/array_tmp1_a2[1],
array_tmp2[3]:array_tmp1[3],
if not array_y_set_initial[1,4]
then (if 3 <= MAX_TERMS
then (
temporary
:array_tmp2[3]*expt(glob_h,1)
*factorial_3(2,3),
if 4 <= MAX_TERMS
then (array_y[4]:temporary,
array_y_higher[1,4]:temporary),
temporary:temporary*3.0/glob_h,
array_y_higher[2,3]:temporary,0)),kkk:4,
array_tmp1_a1[4]:array_tmp1_a2[3]*array_x[2]/3,
array_tmp1_a2[4]:(-array_tmp1_a1[3]*array_x[2])/3,
array_tmp1[4]:(array_tmp1_a1[4]
-ats(4,array_tmp1_a2,array_tmp1,2))
/array_tmp1_a2[1],
array_tmp2[4]:array_tmp1[4],
if not array_y_set_initial[1,5]
then (if 4 <= MAX_TERMS
then (
temporary
:array_tmp2[4]*expt(glob_h,1)
*factorial_3(3,4),
if 5 <= MAX_TERMS
then (array_y[5]:temporary,
array_y_higher[1,5]:temporary),
temporary:temporary*4.0/glob_h,
array_y_higher[2,4]:temporary,0)),kkk:5,
array_tmp1_a1[5]:array_tmp1_a2[4]*array_x[2]/4,
array_tmp1_a2[5]:(-array_tmp1_a1[4]*array_x[2])/4,
array_tmp1[5]:(array_tmp1_a1[5]
-ats(5,array_tmp1_a2,array_tmp1,2))
/array_tmp1_a2[1],
array_tmp2[5]:array_tmp1[5],
if not array_y_set_initial[1,6]
then (if 5 <= MAX_TERMS
then (
temporary
:array_tmp2[5]*expt(glob_h,1)
*factorial_3(4,5),
if 6 <= MAX_TERMS
then (array_y[6]:temporary,
array_y_higher[1,6]:temporary),
temporary:temporary*5.0/glob_h,
array_y_higher[2,5]:temporary,0)),kkk:6,
while kkk <= MAX_TERMS do
(array_tmp1_a1[kkk]
:array_tmp1_a2[kkk-1]*array_x[2]/(kkk-1),
array_tmp1_a2[kkk]
:(-array_tmp1_a1[kkk-1]*array_x[2])/(kkk-1),
array_tmp1[kkk]
:(array_tmp1_a1[kkk]
-ats(kkk,array_tmp1_a2,array_tmp1,2))
/array_tmp1_a2[1],
array_tmp2[kkk]:array_tmp1[kkk],order_d:1,
if order_d+kkk <= MAX_TERMS
then (if
not array_y_set_initial[1,order_d+kkk]
then (
temporary
:array_tmp2[kkk]*expt(glob_h,order_d)
*factorial_3(kkk-1,
-1+order_d
+kkk),
array_y[order_d+kkk]:temporary,
array_y_higher[1,order_d+kkk]:temporary,
term:-1+order_d+kkk,adj2:-1+order_d+kkk,
adj3:2,
while term >= 1 and term <= MAX_TERMS
and adj3 < 1+order_d do
(
if adj3 <= 1+order_d
then (
if adj2 > 0
then temporary
:temporary*adj2/glob_h
else temporary:temporary,
array_y_higher[adj3,term]
:temporary),term:term-1,
adj2:adj2-1,adj3:1+adj3))),
kkk:1+kkk)),0)
(%o221) atomall() := (block(mode_declare([[kkk, order_d], fixnum,
[adj2, adj3, temporary, term, temp, temp2], convfloat]),
array_tmp1_a1 : sin(array_x ), array_tmp1_a2 : cos(array_x ),
1 1 1 1
array_tmp1_a1
1
array_tmp1 : --------------, array_tmp2 : array_tmp1 + array_const_0D0 ,
1 array_tmp1_a2 1 1 1
1
if not array_y_set_initial then (if 1 <= MAX_TERMS
1, 2
then (temporary : array_tmp2 expt(glob_h, 1) factorial_3(0, 1),
1
if 2 <= MAX_TERMS then (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_a2 array_x
1 2
array_tmp1_a1 : -----------------------,
2 1
- array_tmp1_a1 array_x
1 2
array_tmp1_a2 : -------------------------,
2 1
array_tmp1_a1 - ats(2, array_tmp1_a2, array_tmp1, 2)
2
array_tmp1 : -----------------------------------------------------,
2 array_tmp1_a2
1
array_tmp2 : array_tmp1 , if not array_y_set_initial
2 2 1, 3
then (if 2 <= MAX_TERMS then (temporary :
array_tmp2 expt(glob_h, 1) factorial_3(1, 2),
2
if 3 <= MAX_TERMS then (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
array_tmp1_a2 array_x
2 2
array_tmp1_a1 : -----------------------,
3 2
- array_tmp1_a1 array_x
2 2
array_tmp1_a2 : -------------------------,
3 2
array_tmp1_a1 - ats(3, array_tmp1_a2, array_tmp1, 2)
3
array_tmp1 : -----------------------------------------------------,
3 array_tmp1_a2
1
array_tmp2 : array_tmp1 , if not array_y_set_initial
3 3 1, 4
then (if 3 <= MAX_TERMS then (temporary :
array_tmp2 expt(glob_h, 1) factorial_3(2, 3),
3
if 4 <= MAX_TERMS then (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
array_tmp1_a2 array_x
3 2
array_tmp1_a1 : -----------------------,
4 3
- array_tmp1_a1 array_x
3 2
array_tmp1_a2 : -------------------------,
4 3
array_tmp1_a1 - ats(4, array_tmp1_a2, array_tmp1, 2)
4
array_tmp1 : -----------------------------------------------------,
4 array_tmp1_a2
1
array_tmp2 : array_tmp1 , if not array_y_set_initial
4 4 1, 5
then (if 4 <= MAX_TERMS then (temporary :
array_tmp2 expt(glob_h, 1) factorial_3(3, 4),
4
if 5 <= MAX_TERMS then (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
array_tmp1_a2 array_x
4 2
array_tmp1_a1 : -----------------------,
5 4
- array_tmp1_a1 array_x
4 2
array_tmp1_a2 : -------------------------,
5 4
array_tmp1_a1 - ats(5, array_tmp1_a2, array_tmp1, 2)
5
array_tmp1 : -----------------------------------------------------,
5 array_tmp1_a2
1
array_tmp2 : array_tmp1 , if not array_y_set_initial
5 5 1, 6
then (if 5 <= MAX_TERMS then (temporary :
array_tmp2 expt(glob_h, 1) factorial_3(4, 5),
5
if 6 <= MAX_TERMS then (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
array_tmp1_a2 array_x
kkk - 1 2
while kkk <= MAX_TERMS do (array_tmp1_a1 : -----------------------------,
kkk kkk - 1
- array_tmp1_a1 array_x
kkk - 1 2
array_tmp1_a2 : -------------------------------,
kkk kkk - 1
array_tmp1_a1 - ats(kkk, array_tmp1_a2, array_tmp1, 2)
kkk
array_tmp1 : ---------------------------------------------------------,
kkk array_tmp1_a2
1
array_tmp2 : array_tmp1 , order_d : 1,
kkk kkk
if order_d + kkk <= MAX_TERMS then (if not array_y_set_initial
1, order_d + kkk
then (temporary : array_tmp2 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)
and (term <= MAX_TERMS) and (adj3 < 1 + order_d) do (if adj3 <= 1 + order_d
temporary adj2
then (if adj2 > 0 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)), 0)
(%i222) exact_soln_y(x):=block(-log(cos(x)))
(%o222) exact_soln_y(x) := block(- log(cos(x)))
(%i223) main_prog():=block(
mode_declare([[d1,d2,d3,d4,est_err_2],convfloat,
[niii,done_once,term,ord,order_diff,term_no,
html_log_file,iiif,jjjf,rows,r_order,
sub_iter,calc_term,iii],fixnum,[temp_sum],
convfloat,[current_iter],fixnum,
[x_start,x_end],convfloat,[it,opt_iter],
fixnum,[tmp],convfloat,[subiter],fixnum,
[est_needed_step_err,estimated_step_error,
min_value,est_answer,best_h,found_h],
convfloat,[repeat_it],fixnum]),Digits:32,
max_terms:20,glob_html_log:true,term:1,
while term <= MAX_TERMS do
(array_y_init[term]:0.0,term:1+term),term:1,
while term <= MAX_TERMS do
(array_norms[term]:0.0,term:1+term),term:1,
while term <= MAX_TERMS do
(array_fact_1[term]:0.0,term:1+term),term:1,
while term <= 2 do
(array_1st_rel_error[term]:0.0,term:1+term),term:1,
while term <= 2 do
(array_last_rel_error[term]:0.0,term:1+term),term:1,
while term <= 2 do (array_type_pole[term]:0,term:1+term),
term:1,
while term <= 2 do
(array_type_real_pole[term]:0,term:1+term),term:1,
while term <= 2 do
(array_type_complex_pole[term]:0,term:1+term),term:1,
while term <= MAX_TERMS do (array_y[term]:0.0,term:1+term),
term:1,
while term <= MAX_TERMS do (array_x[term]:0.0,term:1+term),
term:1,
while term <= MAX_TERMS do
(array_tmp0[term]:0.0,term:1+term),term:1,
while term <= MAX_TERMS do
(array_tmp1_g[term]:0.0,term:1+term),term:1,
while term <= MAX_TERMS do
(array_tmp1_a1[term]:0.0,term:1+term),term:1,
while term <= MAX_TERMS do
(array_tmp1_a2[term]:0.0,term:1+term),term:1,
while term <= MAX_TERMS do
(array_tmp1[term]:0.0,term:1+term),term:1,
while term <= MAX_TERMS do
(array_tmp2[term]:0.0,term:1+term),term:1,
while term <= MAX_TERMS do (array_m1[term]:0.0,term:1+term),
ord:1,
while ord <= 2 do
(term:1,
while term <= MAX_TERMS do
(array_y_higher[ord,term]:0.0,term:1+term),
ord:1+ord),ord:1,
while ord <= 2 do
(term:1,
while term <= MAX_TERMS do
(array_y_higher_work[ord,term]:0.0,
term:1+term),ord:1+ord),ord:1,
while ord <= 2 do
(term:1,
while term <= MAX_TERMS do
(array_y_higher_work2[ord,term]:0.0,
term:1+term),ord:1+ord),ord:1,
while ord <= 2 do
(term:1,
while term <= MAX_TERMS do
(array_y_set_initial[ord,term]:0.0,
term:1+term),ord:1+ord),ord:1,
while ord <= 2 do
(term:1,
while term <= 3 do
(array_given_rad_poles[ord,term]:0.0,
term:1+term),ord:1+ord),ord:1,
while ord <= 2 do
(term:1,
while term <= 3 do
(array_given_ord_poles[ord,term]:0.0,
term:1+term),ord:1+ord),ord:1,
while ord <= 2 do
(term:1,
while term <= 3 do
(array_rad_test_poles[ord,term]:0.0,
term:1+term),ord:1+ord),ord:1,
while ord <= 2 do
(term:1,
while term <= 3 do
(array_ord_test_poles[ord,term]:0.0,
term:1+term),ord:1+ord),ord:1,
while ord <= MAX_TERMS do
(term:1,
while term <= MAX_TERMS do
(array_fact_2[ord,term]:0.0,term:1+term),
ord:1+ord),zero_ats_ar(array_y),zero_ats_ar(array_x),
zero_ats_ar(array_tmp0),zero_ats_ar(array_tmp1_g),
zero_ats_ar(array_tmp1_a1),zero_ats_ar(array_tmp1_a2),
zero_ats_ar(array_tmp1),zero_ats_ar(array_tmp2),
zero_ats_ar(array_m1),zero_ats_ar(array_const_1),
array_const_1[1]:1,zero_ats_ar(array_const_0D0),
array_const_0D0[1]:0.0,zero_ats_ar(array_m1),
array_m1[1]:-1.0,iiif:0,
while iiif <= MAX_TERMS do
(jjjf:0,
while jjjf <= MAX_TERMS do
(array_fact_1[iiif]:0,
array_fact_2[iiif,jjjf]:0,jjjf:1+jjjf),
iiif:1+iiif),array_y_set_initial[1,1]:true,
array_y_set_initial[1,2]:false,
array_y_set_initial[1,3]:false,
array_y_set_initial[1,4]:false,
array_y_set_initial[1,5]:false,
array_y_set_initial[1,6]:false,
array_y_set_initial[1,7]:false,
array_y_set_initial[1,8]:false,
array_y_set_initial[1,9]:false,
array_y_set_initial[1,10]:false,
array_y_set_initial[1,11]:false,
array_y_set_initial[1,12]:false,
array_y_set_initial[1,13]:false,
array_y_set_initial[1,14]:false,
array_y_set_initial[1,15]:false,
array_y_set_initial[1,16]:false,
array_y_set_initial[1,17]:false,
array_y_set_initial[1,18]:false,
array_y_set_initial[1,19]:false,
array_y_set_initial[1,20]:false,ALWAYS:1,INFO:2,DEBUGL:3,
DEBUGMASSIVE:4,MAX_TERMS:20,glob_iolevel:INFO,
glob_orig_start_sec:elapsed_time_seconds(),
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/tanpostode.ode#################"),
omniout_str(ALWAYS,
"diff ( y , x , 1 ) = tan ( x ) ; "),
omniout_str(ALWAYS,"!"),
omniout_str(ALWAYS,"/* BEGIN FIRST INPUT BLOCK */"),
omniout_str(ALWAYS,"Digits:32,"),
omniout_str(ALWAYS,"max_terms:20,"),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:1.5,"),
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:10000,"),
omniout_str(ALWAYS,"glob_max_h:0.5,"),
omniout_str(ALWAYS,""),omniout_str(ALWAYS,""),
omniout_str(ALWAYS,""),omniout_str(ALWAYS,""),
omniout_str(ALWAYS,"glob_type_given_pole:4,"),
omniout_str(ALWAYS,""),
omniout_str(ALWAYS,
"array_given_rad_poles[1,1]:1.570796327,"),
omniout_str(ALWAYS,""),
omniout_str(ALWAYS,"array_given_rad_poles[1,2]:0.0,"),
omniout_str(ALWAYS,""),
omniout_str(ALWAYS,"array_given_ord_poles[1,1]:0.0,"),
omniout_str(ALWAYS,""),
omniout_str(ALWAYS,"array_given_ord_poles[1,2]:0.0,"),
omniout_str(ALWAYS,""),
omniout_str(ALWAYS,"/* END SECOND INPUT BLOCK */"),
omniout_str(ALWAYS,"/* BEGIN OVERRIDE BLOCK */"),
omniout_str(ALWAYS,"glob_desired_digits_correct:10,"),
omniout_str(ALWAYS,"glob_display_interval:0.01,"),
omniout_str(ALWAYS,"glob_look_poles:true,"),
omniout_str(ALWAYS,"glob_max_iter:1000000000,"),
omniout_str(ALWAYS,"glob_max_minutes:10.0,"),
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," (-ln(cos(x))) "),
omniout_str(ALWAYS,"));"),
omniout_str(ALWAYS,"/* END USER DEF BLOCK */"),
omniout_str(ALWAYS,
"#######END OF ECHO OF PROBLEM#################"),
glob_unchanged_h_cnt:0,glob_warned:false,glob_warned2:false,
glob_small_float:0.0,glob_smallish_float:0.0,
glob_large_float:1.0E+100,glob_larger_float:1.1E+100,
glob_almost_1:0.99,x_start:0.1,x_end:1.5,
array_y_init[1+0]:exact_soln_y(x_start),
glob_look_poles:true,glob_max_iter:10000,glob_max_h:0.5,
glob_type_given_pole:4,
array_given_rad_poles[1,1]:1.570796327,
array_given_rad_poles[1,2]:0.0,
array_given_ord_poles[1,1]:0.0,
array_given_ord_poles[1,2]:0.0,
glob_desired_digits_correct:10,glob_display_interval:0.01,
glob_look_poles:true,glob_max_iter:1000000000,
glob_max_minutes:10.0,glob_subiter_method:3,
glob_last_good_h:glob_h,
glob_max_sec:3600.0*glob_max_hours+60.0*glob_max_minutes,
omniout_str(ALWAYS,"START of Optimize"),
glob_check_sign:my_check_sign(x_start,x_end),found_h:false,
glob_h:glob_min_h*glob_check_sign,
if abs(glob_max_h) < abs(glob_h)
then glob_h:abs(glob_max_h)*glob_check_sign,
if abs(glob_display_interval) < abs(glob_h)
then glob_h:abs(glob_display_interval),
if glob_h > 0.0
then (glob_neg_h:false,
glob_display_interval:abs(glob_display_interval))
else (glob_neg_h:true,
glob_display_interval
:-abs(glob_display_interval)),chk_data(),
best_h:glob_h,min_value:glob_larger_float,
est_answer:est_size_answer(),opt_iter:1,
est_needed_step_err:estimated_needed_step_error(
x_start,x_end,glob_h,est_answer),
omniout_float(ALWAYS,"est_needed_step_err",32,
est_needed_step_err,16,""),
estimated_step_error:0.0,
while opt_iter <= 100 and not found_h do
(omniout_int(ALWAYS,"opt_iter",32,opt_iter,4,""),
array_x[1]:x_start,array_x[2]:glob_h,
glob_next_display:x_start,order_diff:1,term_no:1,
while term_no <= order_diff do
(array_y[term_no]
:array_y_init[term_no]*expt(glob_h,term_no-1)
/factorial_1(term_no-1),term_no: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,
if term_no < MAX_TERMS
then array_y_higher[
r_order,term_no]
:array_y_init[it]
*expt(glob_h,term_no-1)
/factorial_1(term_no-1),
term_no:1+term_no),r_order:1+r_order),
atomall(),estimated_step_error:test_suggested_h(),
omniout_float(ALWAYS,"estimated_step_error",32,
estimated_step_error,32,""),
if estimated_step_error > est_needed_step_err
and opt_iter = 1
or glob_check_sign*glob_h
>= glob_check_sign*glob_max_h
then (found_h:true,
glob_h:glob_check_sign*glob_max_h,
best_h:glob_h)
elseif estimated_step_error > est_needed_step_err
and not found_h
then (glob_h:glob_h/2.0,best_h:glob_h,
found_h:true)
else (glob_h:glob_h*2.0,best_h:glob_h),
omniout_float(ALWAYS,"best_h",32,best_h,32,""),
opt_iter:1+opt_iter),
if not found_h and opt_iter = 1
then (omniout_str(ALWAYS,"Beginning glob_h too large."),
found_h:false),
if opt_iter > 100
then (glob_h:glob_check_sign*glob_max_h,found_h:false),
if glob_check_sign*glob_display_interval
< glob_check_sign*glob_h
then glob_h:glob_check_sign*glob_display_interval,
if glob_html_log then html_log_file:openw("entry.html"),
if found_h
then (omniout_str(ALWAYS,"START of Soultion"),
array_x[1]:x_start,array_x[2]:glob_h,
glob_next_display:x_start,order_diff:1,term_no:1,
while term_no <= order_diff do
(array_y[term_no]
:array_y_init[term_no]
*expt(glob_h,term_no-1)
/factorial_1(term_no-1),
term_no: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,
if term_no < MAX_TERMS
then array_y_higher[
r_order,term_no]
:array_y_init[it]
*expt(glob_h,term_no-1)
/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[1]
< glob_check_sign*x_end
and glob_clock_sec-glob_orig_start_sec
< 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[1]:glob_h+array_x[1],
array_x[2]:glob_h,order_diff:2,ord:2,
calc_term:1,iii:MAX_TERMS,
while iii >= calc_term do
(
array_y_higher_work[2,iii]
:array_y_higher[2,iii]
/expt(glob_h,calc_term-1)
/factorial_3(iii-calc_term,iii-1),
iii:iii-1),temp_sum:0.0,ord:2,
calc_term:1,iii:MAX_TERMS,
while iii >= calc_term do
(
temp_sum
:array_y_higher_work[ord,iii]
+temp_sum,iii:iii-1),
array_y_higher_work2[ord,calc_term]
:temp_sum*expt(glob_h,calc_term-1)
/factorial_1(calc_term-1),ord:1,
calc_term:2,iii:MAX_TERMS,
while iii >= calc_term do
(
array_y_higher_work[1,iii]
:array_y_higher[1,iii]
/expt(glob_h,calc_term-1)
/factorial_3(iii-calc_term,iii-1),
iii:iii-1),temp_sum:0.0,ord:1,
calc_term:2,iii:MAX_TERMS,
while iii >= calc_term do
(
temp_sum
:array_y_higher_work[ord,iii]
+temp_sum,iii:iii-1),
array_y_higher_work2[ord,calc_term]
:temp_sum*expt(glob_h,calc_term-1)
/factorial_1(calc_term-1),ord:1,
calc_term:1,iii:MAX_TERMS,
while iii >= calc_term do
(
array_y_higher_work[1,iii]
:array_y_higher[1,iii]
/expt(glob_h,calc_term-1)
/factorial_3(iii-calc_term,iii-1),
iii:iii-1),temp_sum:0.0,ord:1,
calc_term:1,iii:MAX_TERMS,
while iii >= calc_term do
(
temp_sum
:array_y_higher_work[ord,iii]
+temp_sum,iii:iii-1),
array_y_higher_work2[ord,calc_term]
:temp_sum*expt(glob_h,calc_term-1)
/factorial_1(calc_term-1),
term_no:MAX_TERMS,
while term_no >= 1 do
(
array_y[term_no]
:array_y_higher_work2[1,term_no],
ord:1,
while ord <= order_diff do
(
array_y_higher[ord,term_no]
:array_y_higher_work2[
ord,term_no],ord:1+ord),
term_no:term_no-1)),
omniout_str(ALWAYS,"Finished!"),
if glob_iter >= glob_max_iter
then omniout_str(ALWAYS,
"Maximum Iterations Reached before Solution Completed!"),
if elapsed_time_seconds()-glob_orig_start_sec
>= 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 ) = tan ( x ) ; "),
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,
"2014-01-09T01:09:56-06:00"),
logitem_str(html_log_file,"Maxima"),
logitem_str(html_log_file,
"tan"),
logitem_str(html_log_file,
"diff ( y , x , 1 ) = tan ( x ) ; "),
logitem_float(html_log_file,x_start),
logitem_float(html_log_file,x_end),
logitem_float(html_log_file,array_x[1]),
logitem_float(html_log_file,glob_h),
logitem_str(html_log_file,"16"),
logitem_good_digits(html_log_file,
array_last_rel_error[
1]),
logitem_integer(html_log_file,
MAX_TERMS),
if
glob_least_given_sing
< glob_large_float
then (
logitem_float(html_log_file,
glob_least_given_sing),
0)
else (
logitem_str(html_log_file,
"NOT GIVEN"),0),
if
glob_least_ratio_sing
< glob_large_float
then (
logitem_float(html_log_file,
glob_least_ratio_sing),
0)
else (
logitem_str(html_log_file,"NONE"),0),
if glob_least_3_sing < glob_large_float
then (
logitem_float(html_log_file,
glob_least_3_sing),0)
else (
logitem_str(html_log_file,"NONE"),
0),
if glob_least_6_sing < glob_large_float
then (
logitem_float(html_log_file,
glob_least_6_sing),0)
else (
logitem_str(html_log_file,"NONE"),
0),
logitem_integer(html_log_file,
glob_iter),
logitem_time(html_log_file,
glob_clock_sec),
if glob_percent_done < 100.0
then (
logitem_time(html_log_file,
glob_total_exp_sec),0)
else (
logitem_str(html_log_file,"Done"),
0),
log_revs(html_log_file,
" 225 | "),
logitem_str(html_log_file,
"tan diffeq.max"),
logitem_str(html_log_file,
"tan maxima results"),
logitem_str(html_log_file,
"All Tests - Maxima only - to save time"),
logend(html_log_file)),
if glob_html_log then close(html_log_file)))
(%o223) main_prog() := block(mode_declare([[d1, d2, d3, d4, est_err_2],
convfloat, [niii, done_once, term, ord, order_diff, term_no, html_log_file,
iiif, jjjf, rows, r_order, sub_iter, calc_term, iii], fixnum, [temp_sum],
convfloat, [current_iter], fixnum, [x_start, x_end], convfloat,
[it, opt_iter], fixnum, [tmp], convfloat, [subiter], fixnum,
[est_needed_step_err, estimated_step_error, min_value, est_answer, best_h,
found_h], convfloat, [repeat_it], fixnum]), Digits : 32, max_terms : 20,
glob_html_log : true, term : 1, while term <=
MAX_TERMS do (array_y_init : 0.0, term : 1 + term), term : 1,
term
while term <= MAX_TERMS do (array_norms : 0.0, term : 1 + term),
term
term : 1, while term <= MAX_TERMS do (array_fact_1 : 0.0,
term
term : 1 + term), term : 1, while term <=
2 do (array_1st_rel_error : 0.0, term : 1 + term), term : 1,
term
while term <= 2 do (array_last_rel_error : 0.0, term : 1 + term),
term
term : 1, while term <= 2 do (array_type_pole : 0, term : 1 + term),
term
term : 1, while term <= 2 do (array_type_real_pole : 0, term : 1 + term),
term
term : 1, while term <= 2 do (array_type_complex_pole : 0,
term
term : 1 + term), term : 1, while term <= MAX_TERMS do (array_y : 0.0,
term
term : 1 + term), term : 1, while term <= MAX_TERMS do (array_x : 0.0,
term
term : 1 + term), term : 1, while term <= MAX_TERMS do (array_tmp0 : 0.0,
term
term : 1 + term), term : 1, while term <=
MAX_TERMS do (array_tmp1_g : 0.0, term : 1 + term), term : 1,
term
while term <= MAX_TERMS do (array_tmp1_a1 : 0.0, term : 1 + term),
term
term : 1, while term <= MAX_TERMS do (array_tmp1_a2 : 0.0,
term
term : 1 + term), term : 1, while term <= MAX_TERMS do (array_tmp1 : 0.0,
term
term : 1 + term), term : 1, while term <= MAX_TERMS do (array_tmp2 : 0.0,
term
term : 1 + term), term : 1, while term <= MAX_TERMS do (array_m1 : 0.0,
term
term : 1 + 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 <= 2 do (term : 1, while term <=
3 do (array_given_rad_poles : 0.0, term : 1 + term), ord : 1 + ord),
ord, term
ord : 1, while ord <= 2 do (term : 1,
while term <= 3 do (array_given_ord_poles : 0.0, term : 1 + term),
ord, term
ord : 1 + ord), ord : 1, while ord <= 2 do (term : 1,
while term <= 3 do (array_rad_test_poles : 0.0, term : 1 + term),
ord, term
ord : 1 + ord), ord : 1, while ord <= 2 do (term : 1,
while term <= 3 do (array_ord_test_poles : 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), zero_ats_ar(array_y), zero_ats_ar(array_x),
zero_ats_ar(array_tmp0), zero_ats_ar(array_tmp1_g),
zero_ats_ar(array_tmp1_a1), zero_ats_ar(array_tmp1_a2),
zero_ats_ar(array_tmp1), zero_ats_ar(array_tmp2), zero_ats_ar(array_m1),
zero_ats_ar(array_const_1), array_const_1 : 1, zero_ats_ar(array_const_0D0),
1
array_const_0D0 : 0.0, zero_ats_ar(array_m1), array_m1 : - 1.0, iiif : 0,
1 1
while iiif <= MAX_TERMS do (jjjf : 0,
while jjjf <= MAX_TERMS do (array_fact_1 : 0, array_fact_2 : 0,
iiif iiif, jjjf
jjjf : 1 + jjjf), iiif : 1 + iiif), 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, ALWAYS : 1, INFO : 2, DEBUGL : 3,
1, 20
DEBUGMASSIVE : 4, MAX_TERMS : 20, glob_iolevel : INFO,
glob_orig_start_sec : elapsed_time_seconds(), 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/tanpostode.ode#################"),
omniout_str(ALWAYS, "diff ( y , x , 1 ) = tan ( x ) ; "),
omniout_str(ALWAYS, "!"), omniout_str(ALWAYS,
"/* BEGIN FIRST INPUT BLOCK */"), omniout_str(ALWAYS, "Digits:32,"),
omniout_str(ALWAYS, "max_terms:20,"), 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:1.5,"),
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:10000,"),
omniout_str(ALWAYS, "glob_max_h:0.5,"), omniout_str(ALWAYS, ""),
omniout_str(ALWAYS, ""), omniout_str(ALWAYS, ""), omniout_str(ALWAYS, ""),
omniout_str(ALWAYS, "glob_type_given_pole:4,"), omniout_str(ALWAYS, ""),
omniout_str(ALWAYS, "array_given_rad_poles[1,1]:1.570796327,"),
omniout_str(ALWAYS, ""), omniout_str(ALWAYS,
"array_given_rad_poles[1,2]:0.0,"), omniout_str(ALWAYS, ""),
omniout_str(ALWAYS, "array_given_ord_poles[1,1]:0.0,"),
omniout_str(ALWAYS, ""), omniout_str(ALWAYS,
"array_given_ord_poles[1,2]:0.0,"), omniout_str(ALWAYS, ""),
omniout_str(ALWAYS, "/* END SECOND INPUT BLOCK */"),
omniout_str(ALWAYS, "/* BEGIN OVERRIDE BLOCK */"),
omniout_str(ALWAYS, "glob_desired_digits_correct:10,"),
omniout_str(ALWAYS, "glob_display_interval:0.01,"),
omniout_str(ALWAYS, "glob_look_poles:true,"),
omniout_str(ALWAYS, "glob_max_iter:1000000000,"),
omniout_str(ALWAYS, "glob_max_minutes:10.0,"),
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, " (-ln(cos(x))) "), omniout_str(ALWAYS, "));"),
omniout_str(ALWAYS, "/* END USER DEF BLOCK */"),
omniout_str(ALWAYS, "#######END OF ECHO OF PROBLEM#################"),
glob_unchanged_h_cnt : 0, glob_warned : false, glob_warned2 : false,
glob_small_float : 0.0, glob_smallish_float : 0.0,
glob_large_float : 1.0E+100, glob_larger_float : 1.1E+100,
glob_almost_1 : 0.99, x_start : 0.1, x_end : 1.5,
array_y_init : exact_soln_y(x_start), glob_look_poles : true,
1 + 0
glob_max_iter : 10000, glob_max_h : 0.5, glob_type_given_pole : 4,
array_given_rad_poles : 1.570796327, array_given_rad_poles : 0.0,
1, 1 1, 2
array_given_ord_poles : 0.0, array_given_ord_poles : 0.0,
1, 1 1, 2
glob_desired_digits_correct : 10, glob_display_interval : 0.01,
glob_look_poles : true, glob_max_iter : 1000000000, glob_max_minutes : 10.0,
glob_subiter_method : 3, glob_last_good_h : glob_h,
glob_max_sec : 3600.0 glob_max_hours + 60.0 glob_max_minutes,
omniout_str(ALWAYS, "START of Optimize"),
glob_check_sign : my_check_sign(x_start, x_end), found_h : false,
glob_h : glob_min_h glob_check_sign, if mabs(glob_max_h) < mabs(glob_h)
then glob_h : mabs(glob_max_h) glob_check_sign,
if mabs(glob_display_interval) < mabs(glob_h)
then glob_h : mabs(glob_display_interval),
if glob_h > 0.0 then (glob_neg_h : false,
glob_display_interval : mabs(glob_display_interval))
else (glob_neg_h : true, glob_display_interval :
- mabs(glob_display_interval)), chk_data(), best_h : glob_h,
min_value : glob_larger_float, est_answer : est_size_answer(), opt_iter : 1,
est_needed_step_err : estimated_needed_step_error(x_start, x_end, glob_h,
est_answer), omniout_float(ALWAYS, "est_needed_step_err", 32,
est_needed_step_err, 16, ""), estimated_step_error : 0.0,
while (opt_iter <= 100) and (not found_h) do (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,
if term_no < MAX_TERMS then array_y_higher :
r_order, term_no
array_y_init expt(glob_h, term_no - 1)
it
----------------------------------------, term_no : 1 + term_no),
factorial_1(term_no - 1)
r_order : 1 + r_order), atomall(), estimated_step_error : test_suggested_h(),
omniout_float(ALWAYS, "estimated_step_error", 32, estimated_step_error, 32,
""), if ((estimated_step_error > est_needed_step_err) and (opt_iter = 1))
or (glob_check_sign glob_h >= glob_check_sign glob_max_h)
then (found_h : true, glob_h : glob_check_sign glob_max_h, best_h : glob_h)
elseif (estimated_step_error > est_needed_step_err) and (not found_h)
glob_h
then (glob_h : ------, best_h : glob_h, found_h : true)
2.0
else (glob_h : glob_h 2.0, best_h : glob_h),
omniout_float(ALWAYS, "best_h", 32, best_h, 32, ""), opt_iter : 1 + opt_iter),
if (not found_h) and (opt_iter = 1) then (omniout_str(ALWAYS,
"Beginning glob_h too large."), found_h : false),
if opt_iter > 100 then (glob_h : glob_check_sign glob_max_h, found_h : false),
if glob_check_sign glob_display_interval < glob_check_sign glob_h
then glob_h : glob_check_sign glob_display_interval,
if glob_html_log then html_log_file : openw("entry.html"),
if found_h then (omniout_str(ALWAYS, "START of Soultion"), array_x : x_start,
1
array_x : glob_h, glob_next_display : x_start, order_diff : 1, term_no : 1,
2
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,
if term_no < MAX_TERMS then array_y_higher :
r_order, term_no
array_y_init expt(glob_h, term_no - 1)
it
----------------------------------------, term_no : 1 + term_no),
factorial_1(term_no - 1)
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 (glob_clock_sec - glob_orig_start_sec < 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, iii : MAX_TERMS,
2
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 : 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, iii : MAX_TERMS,
factorial_1(calc_term - 1)
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 : 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, iii : MAX_TERMS,
factorial_1(calc_term - 1)
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 : 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 : 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() - glob_orig_start_sec >= 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 ) = tan ( x ) ; "),
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,
"2014-01-09T01:09:56-06:00"), logitem_str(html_log_file, "Maxima"),
logitem_str(html_log_file, "tan"),
logitem_str(html_log_file,
"diff ( y , x , 1 ) = tan ( x ) ; "),
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, MAX_TERMS),
1
if glob_least_given_sing < glob_large_float
then (logitem_float(html_log_file, glob_least_given_sing), 0)
else (logitem_str(html_log_file, "NOT GIVEN"), 0),
if glob_least_ratio_sing < glob_large_float
then (logitem_float(html_log_file, glob_least_ratio_sing), 0)
else (logitem_str(html_log_file, "NONE"), 0),
if glob_least_3_sing < glob_large_float
then (logitem_float(html_log_file, glob_least_3_sing), 0)
else (logitem_str(html_log_file, "NONE"), 0),
if glob_least_6_sing < glob_large_float
then (logitem_float(html_log_file, glob_least_6_sing), 0)
else (logitem_str(html_log_file, "NONE"), 0),
logitem_integer(html_log_file, glob_iter),
logitem_time(html_log_file, glob_clock_sec),
if glob_percent_done < 100.0 then (logitem_time(html_log_file,
glob_total_exp_sec), 0) else (logitem_str(html_log_file, "Done"), 0),
log_revs(html_log_file, " 225 | "),
logitem_str(html_log_file, "tan diffeq.max"),
logitem_str(html_log_file,
"tan maxima results"),
logitem_str(html_log_file, "All Tests - Maxima only - to save time"),
logend(html_log_file)), if glob_html_log then close(html_log_file)))
(%i224) main():=(alias(convfloat,convfloat),compile(all),main_prog())
(%o224) main() := (alias(convfloat, convfloat), compile(all), main_prog())
(%i225) main()
warning: encountered undefined variable glob_iolevel in translation.
warning: encountered undefined variable glob_iolevel in translation.
warning: encountered undefined variable glob_iolevel in translation.
warning: encountered undefined variable glob_iolevel in translation.
warning: encountered undefined variable glob_iolevel in translation.
warning: encountered undefined variable glob_iolevel in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable secs in translation.
warning: encountered undefined variable glob_sec_in_year in translation.
warning: encountered undefined variable sec_temp in translation.
warning: encountered undefined variable glob_sec_in_day in translation.
warning: encountered undefined variable glob_sec_in_hour in translation.
warning: encountered undefined variable glob_sec_in_minute in translation.
warning: encountered undefined variable years_int in translation.
warning: encountered undefined variable days_int in translation.
warning: encountered undefined variable hours_int in translation.
warning: encountered undefined variable minutes_int in translation.
warning: encountered undefined variable sec_int in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable glob_sec_in_year in translation.
warning: encountered undefined variable glob_sec_in_day in translation.
warning: encountered undefined variable glob_sec_in_hour in translation.
warning: encountered undefined variable glob_sec_in_minute in translation.
warning: encountered undefined variable iii in translation.
warning: encountered undefined variable fixnum in translation.
warning: encountered undefined variable MAX_TERMS in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable iii_ats in translation.
warning: encountered undefined variable ma_ats in translation.
warning: encountered undefined variable ret_ats in translation.
warning: encountered undefined variable lll_ats in translation.
warning: encountered undefined variable MAX_TERMS in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable iii_att in translation.
warning: encountered undefined variable MAX_TERMS in translation.
warning: encountered undefined variable ma_att in translation.
warning: encountered undefined variable lll_att in translation.
warning: encountered undefined variable ret_att in translation.
warning: encountered undefined variable al_att in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable good_digits in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable ALWAYS in translation.
warning: encountered undefined variable glob_max_iter in translation.
warning: encountered undefined variable errflag in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable sub1 in translation.
warning: encountered undefined variable sub2 in translation.
warning: encountered undefined variable rrr in translation.
warning: encountered undefined variable ms2 in translation.
warning: encountered undefined variable sec_left in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable glob_small_float in translation.
warning: encountered undefined variable glob_h in translation.
warning: encountered undefined variable glob_larger_float in translation.
warning: encountered undefined variable ret in translation.
warning: encountered undefined variable glob_h in translation.
warning: encountered undefined variable glob_larger_float in translation.
warning: encountered undefined variable glob_h in translation.
warning: encountered undefined variable temp in translation.
warning: encountered undefined variable glob_larger_float in translation.
warning: encountered undefined variable rm0 in translation.
warning: encountered undefined variable rm1 in translation.
warning: encountered undefined variable rm2 in translation.
warning: encountered undefined variable rm3 in translation.
warning: encountered undefined variable rm4 in translation.
warning: encountered undefined variable glob_larger_float in translation.
warning: encountered undefined variable nr1 in translation.
warning: encountered undefined variable dr2 in translation.
warning: encountered undefined variable nr2 in translation.
warning: encountered undefined variable dr1 in translation.
warning: encountered undefined variable ds1 in translation.
warning: encountered undefined variable ds2 in translation.
warning: encountered undefined variable rcs in translation.
warning: encountered undefined variable glob_h in translation.
warning: encountered undefined variable ord_no in translation.
warning: variable glob_six_term_ord_save (declared type convfloat) assigned type any.
warning: encountered undefined variable rad_c in translation.
warning: encountered undefined variable glob_six_term_ord_save in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable array_fact_1 in translation.
warning: encountered undefined variable MAX_TERMS in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable array_fact_2 in translation.
warning: encountered undefined variable MAX_TERMS in translation.
warning: encountered undefined variable glob_log_10 in translation.
warning: encountered undefined variable ALWAYS in translation.
warning: encountered undefined variable glob_desired_digits_correct in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable array_x in translation.
warning: encountered undefined variable array_given_rad_poles in translation.
warning: encountered undefined variable rad_given in translation.
warning: variable glob_least_given_sing (declared type convfloat) assigned type any.
warning: encountered undefined variable glob_least_given_sing in translation.
warning: encountered undefined variable ALWAYS in translation.
warning: encountered undefined variable array_given_ord_poles in translation.
warning: encountered undefined variable glob_type_given_pole in translation.
warning: encountered undefined variable array_rad_test_poles in translation.
warning: variable glob_least_ratio_sing (declared type convfloat) assigned type any.
warning: encountered undefined variable glob_least_ratio_sing in translation.
warning: encountered undefined variable array_ord_test_poles in translation.
warning: encountered undefined variable glob_large_float in translation.
warning: variable glob_least_3_sing (declared type convfloat) assigned type any.
warning: encountered undefined variable glob_least_3_sing in translation.
warning: variable glob_least_6_sing (declared type convfloat) assigned type any.
warning: encountered undefined variable glob_least_6_sing in translation.
warning: encountered undefined variable glob_estimated_size_answer in translation.
warning: encountered undefined variable array_y in translation.
warning: encountered undefined variable ALWAYS in translation.
warning: encountered undefined variable MAX_TERMS in translation.
warning: encountered undefined variable ALWAYS in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable glob_check_sign in translation.
warning: encountered undefined variable glob_next_display in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable ALWAYS in translation.
warning: encountered undefined variable ind_var in translation.
warning: encountered undefined variable analytic_val_y in translation.
warning: encountered undefined variable term_no in translation.
warning: encountered undefined variable numeric_val in translation.
warning: encountered undefined variable abserr in translation.
warning: encountered undefined variable relerr in translation.
warning: variable glob_good_digits (declared type fixnum) assigned type any.
warning: encountered undefined variable array_1st_rel_error in translation.
warning: encountered undefined variable glob_iter in translation.
warning: encountered undefined variable array_last_rel_error in translation.
warning: encountered undefined variable INFO in translation.
warning: encountered undefined variable glob_good_digits in translation.
warning: encountered undefined variable glob_h in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable glob_small_float in translation.
warning: encountered undefined variable array_y_higher in translation.
warning: encountered undefined variable tmp in translation.
warning: variable glob_normmax (declared type convfloat) assigned type any.
warning: encountered undefined variable glob_normmax in translation.
warning: encountered undefined variable glob_min_pole_est in translation.
warning: encountered undefined variable INFO in translation.
warning: encountered undefined variable hnew in translation.
warning: encountered undefined variable sz2 in translation.
warning: encountered undefined variable glob_look_poles in translation.
warning: encountered undefined variable glob_large_float in translation.
warning: encountered undefined variable glob_current_iter in translation.
warning: variable glob_optimal_clock_start_sec (declared type convfloat) assigned type any.
warning: variable glob_optimal_start (declared type convfloat) assigned type any.
warning: encountered undefined variable glob_reached_optimal_h in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable clock_sec1 in translation.
warning: encountered undefined variable glob_orig_start_sec in translation.
warning: encountered undefined variable glob_clock_start_sec in translation.
warning: variable glob_clock_sec (declared type convfloat) assigned type any.
warning: encountered undefined variable glob_max_sec in translation.
warning: encountered undefined variable glob_h in translation.
warning: encountered undefined variable glob_optimal_clock_start_sec in translation.
warning: encountered undefined variable opt_clock_sec in translation.
warning: variable glob_optimal_expect_sec (declared type convfloat) assigned type any.
warning: encountered undefined variable glob_optimal_expect_sec in translation.
warning: encountered undefined variable total_clock_sec in translation.
warning: variable glob_total_exp_sec (declared type convfloat) assigned type any.
warning: encountered undefined variable percent_done in translation.
warning: variable glob_percent_done (declared type convfloat) assigned type any.
warning: encountered undefined variable INFO in translation.
warning: encountered undefined variable glob_clock_sec in translation.
warning: encountered undefined variable expect_sec in translation.
warning: encountered undefined variable glob_total_exp_sec in translation.
warning: encountered undefined variable left_sec in translation.
warning: encountered undefined variable glob_larger_float in translation.
warning: encountered undefined variable MAX_TERMS in translation.
warning: encountered undefined variable last_no in translation.
warning: encountered undefined variable found_sing in translation.
warning: variable tmp_rad (declared type convfloat) assigned type any.
warning: encountered undefined variable tmp_rad in translation.
warning: encountered undefined variable prev_tmp_rad in translation.
warning: encountered undefined variable cnt in translation.
warning: encountered undefined variable tmp_ratio in translation.
warning: encountered undefined variable glob_upper_ratio_limit in translation.
warning: encountered undefined variable glob_lower_ratio_limit in translation.
warning: variable tmp_ord (declared type convfloat) assigned type any.
warning: encountered undefined variable tmp_ord in translation.
warning: encountered undefined variable glob_min_pole_est in translation.
warning: encountered undefined variable glob_check_sign in translation.
warning: encountered undefined variable glob_ratio_of_radius in translation.
warning: encountered undefined variable term in translation.
warning: encountered undefined variable ratio in translation.
warning: encountered undefined variable h_new in translation.
warning: encountered undefined variable glob_h in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable array_tmp1_a1 in translation.
warning: encountered undefined variable array_tmp1_a2 in translation.
warning: encountered undefined variable array_tmp1 in translation.
warning: encountered undefined variable array_const_0D0 in translation.
warning: encountered undefined variable array_tmp2 in translation.
warning: encountered undefined variable glob_h in translation.
warning: encountered undefined variable temporary in translation.
warning: encountered undefined variable MAX_TERMS in translation.
warning: encountered undefined variable array_y_set_initial in translation.
warning: encountered undefined variable kkk in translation.
warning: encountered undefined variable order_d in translation.
warning: encountered undefined variable adj3 in translation.
warning: encountered undefined variable adj2 in translation.
modedeclare: false
is not a built-in type; assuming it is a Maxima extension type.
warning: encountered undefined variable MAX_TERMS in translation.
warning: encountered undefined variable array_y_init in translation.
warning: encountered undefined variable array_norms in translation.
warning: encountered undefined variable array_type_pole in translation.
warning: encountered undefined variable array_type_real_pole in translation.
warning: encountered undefined variable array_type_complex_pole in translation.
warning: encountered undefined variable array_tmp0 in translation.
warning: encountered undefined variable array_tmp1_g in translation.
warning: encountered undefined variable array_m1 in translation.
warning: encountered undefined variable ord in translation.
warning: encountered undefined variable array_y_higher_work in translation.
warning: encountered undefined variable array_y_higher_work2 in translation.
warning: encountered undefined variable array_const_1 in translation.
warning: encountered undefined variable iiif in translation.
warning: encountered undefined variable jjjf in translation.
warning: encountered undefined variable INFO in translation.
warning: variable glob_orig_start_sec (declared type convfloat) assigned type any.
warning: encountered undefined variable ALWAYS in translation.
warning: encountered undefined variable x_start in translation.
warning: encountered undefined variable glob_h in translation.
warning: encountered undefined variable glob_max_minutes in translation.
warning: encountered undefined variable glob_max_hours in translation.
warning: encountered undefined variable x_end in translation.
warning: variable glob_check_sign (declared type convfloat) assigned type any.
warning: encountered undefined variable glob_min_h in translation.
warning: encountered undefined variable glob_check_sign in translation.
warning: encountered undefined variable glob_max_h in translation.
warning: encountered undefined variable glob_display_interval in translation.
warning: encountered undefined variable glob_larger_float in translation.
warning: encountered undefined variable est_answer in translation.
warning: encountered undefined variable est_needed_step_err in translation.
warning: encountered undefined variable opt_iter in translation.
warning: encountered undefined variable found_h in translation.
warning: variable glob_next_display (declared type convfloat) assigned type any.
warning: encountered undefined variable order_diff in translation.
warning: encountered undefined variable r_order in translation.
warning: encountered undefined variable rows in translation.
warning: encountered undefined variable it in translation.
warning: encountered undefined variable estimated_step_error in translation.
warning: encountered undefined variable best_h in translation.
warning: encountered undefined variable glob_html_log in translation.
warning: variable glob_clock_start_sec (declared type convfloat) assigned type any.
warning: variable glob_clock_sec (declared type convfloat) assigned type any.
warning: encountered undefined variable DEBUGL in translation.
warning: variable glob_optimal_clock_start_sec (declared type convfloat) assigned type any.
warning: encountered undefined variable glob_current_iter in translation.
warning: encountered undefined variable glob_max_iter in translation.
warning: encountered undefined variable glob_clock_sec in translation.
warning: encountered undefined variable glob_orig_start_sec in translation.
warning: encountered undefined variable glob_max_sec in translation.
warning: encountered undefined variable glob_iter in translation.
warning: encountered undefined variable current_iter in translation.
warning: encountered undefined variable glob_look_poles in translation.
warning: encountered undefined variable glob_next_display in translation.
warning: encountered undefined variable calc_term in translation.
warning: encountered undefined variable temp_sum in translation.
warning: encountered undefined variable html_log_file in translation.
warning: encountered undefined variable glob_least_given_sing in translation.
warning: encountered undefined variable glob_large_float in translation.
warning: encountered undefined variable glob_least_ratio_sing in translation.
warning: encountered undefined variable glob_least_3_sing in translation.
warning: encountered undefined variable glob_least_6_sing in translation.
warning: encountered undefined variable glob_total_exp_sec in translation.
warning: encountered undefined variable glob_percent_done in translation.
WARNING: in $ADJUST_FOR_POLE : $GLOB_CURR_ITER_WHEN_OPT is neither declared
nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $ADJUST_FOR_POLE : $GLOB_OPTIMAL_START is neither declared nor
bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : |$Digits| is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $MAX_TERMS is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : |$debugmassive| is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_CURR_ITER_WHEN_OPT is neither declared nor
bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_DISPLAY_FLAG is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_NO_EQS is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_UNCHANGED_H_CNT is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_WARNED is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_WARNED2 is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_SMALLISH_FLOAT is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_ALMOST_1 is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_SUBITER_METHOD is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_LAST_GOOD_H is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_NEG_H is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $GLOB_NEG_H is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
WARNING: in $MAIN_PROG : $MIN_VALUE is neither declared nor bound,
it will be treated as if it were declared SPECIAL.
Warning: modedcclare has a function or macro call which has not been translated properly.
The function was totaly undefined. Maybe you want to quote it."##############ECHO OF PROBLEM#################"
"##############temp/tanpostode.ode#################"
"diff ( y , x , 1 ) = tan ( x ) ; "
"!"
"/* BEGIN FIRST INPUT BLOCK */"
"Digits:32,"
"max_terms:20,"
"!"
"/* END FIRST INPUT BLOCK */"
"/* BEGIN SECOND INPUT BLOCK */"
"x_start:0.1,"
"x_end:1.5,"
"array_y_init[0 + 1] : exact_soln_y(x_start),"
"glob_look_poles:true,"
"glob_max_iter:10000,"
"glob_max_h:0.5,"
""
""
""
""
"glob_type_given_pole:4,"
""
"array_given_rad_poles[1,1]:1.570796327,"
""
"array_given_rad_poles[1,2]:0.0,"
""
"array_given_ord_poles[1,1]:0.0,"
""
"array_given_ord_poles[1,2]:0.0,"
""
"/* END SECOND INPUT BLOCK */"
"/* BEGIN OVERRIDE BLOCK */"
"glob_desired_digits_correct:10,"
"glob_display_interval:0.01,"
"glob_look_poles:true,"
"glob_max_iter:1000000000,"
"glob_max_minutes:10.0,"
"glob_subiter_method:3,"
"/* END OVERRIDE BLOCK */"
"!"
"/* BEGIN USER DEF BLOCK */"
"exact_soln_y (x) := (block("
" (-ln(cos(x))) "
"));"
"/* END USER DEF BLOCK */"
"#######END OF ECHO OF PROBLEM#################"
"START of Optimize"
min_size = 0.0 ""
min_size = 1. ""
glob_desired_digits_correct = 10. ""
estimated_h = 1.000000E-6 ""
estimated_answer = 1. ""
desired_abs_gbl_error = 1.0000000000E-10 ""
range = 1.4 ""
estimated_steps = 1400000. ""
step_error = 7.14285714285714300000000000000000E-17 ""
est_needed_step_err = 7.14285714285714300000000000000000E-17 ""
opt_iter = 1
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 1.4727597895213270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-100 ""
estimated_step_error = 1.4727597895213270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-100 ""
best_h = 2.000000E-6 ""
opt_iter = 2
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 9.65188097658524100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-96 ""
estimated_step_error = 9.65188097658524100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-96 ""
best_h = 4.000000E-6 ""
opt_iter = 3
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 6.3254598887326230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-91 ""
estimated_step_error = 6.3254598887326230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-91 ""
best_h = 8.000000E-6 ""
opt_iter = 4
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 4.1454575501857600000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-86 ""
estimated_step_error = 4.1454575501857600000000000000000000000000000000000000000000000000000000000000000000000000000000000000E-86 ""
best_h = 1.600000E-5 ""
opt_iter = 5
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 2.716772509442035000000000000000000000000000000000000000000000000000000000000000000000000000000000E-81 ""
estimated_step_error = 2.716772509442035000000000000000000000000000000000000000000000000000000000000000000000000000000000E-81 ""
best_h = 3.200000E-5 ""
opt_iter = 6
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 1.78047117443138750000000000000000000000000000000000000000000000000000000000000000000000000000E-76 ""
estimated_step_error = 1.78047117443138750000000000000000000000000000000000000000000000000000000000000000000000000000E-76 ""
best_h = 6.400000E-5 ""
opt_iter = 7
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 1.166858951060334600000000000000000000000000000000000000000000000000000000000000000000000E-71 ""
estimated_step_error = 1.166858951060334600000000000000000000000000000000000000000000000000000000000000000000000E-71 ""
best_h = 1.280000E-4 ""
opt_iter = 8
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 7.6472495384016750000000000000000000000000000000000000000000000000000000000000000000E-67 ""
estimated_step_error = 7.6472495384016750000000000000000000000000000000000000000000000000000000000000000000E-67 ""
best_h = 2.560000E-4 ""
opt_iter = 9
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 5.01186231708870700000000000000000000000000000000000000000000000000000000000000E-62 ""
estimated_step_error = 5.01186231708870700000000000000000000000000000000000000000000000000000000000000E-62 ""
best_h = 5.120000E-4 ""
opt_iter = 10
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 3.284784962340082700000000000000000000000000000000000000000000000000000000E-57 ""
estimated_step_error = 3.284784962340082700000000000000000000000000000000000000000000000000000000E-57 ""
best_h = 1.024000E-3 ""
opt_iter = 11
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 2.1529931547010173000000000000000000000000000000000000000000000000000E-52 ""
estimated_step_error = 2.1529931547010173000000000000000000000000000000000000000000000000000E-52 ""
best_h = 2.048000E-3 ""
opt_iter = 12
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 1.411348206296004000000000000000000000000000000000000000000000000E-47 ""
estimated_step_error = 1.411348206296004000000000000000000000000000000000000000000000000E-47 ""
best_h = 4.096000E-3 ""
opt_iter = 13
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 9.2541702696286890000000000000000000000000000000000000000000E-43 ""
estimated_step_error = 9.2541702696286890000000000000000000000000000000000000000000E-43 ""
best_h = 8.192000E-3 ""
opt_iter = 14
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 6.07106562036478600000000000000000000000000000000000000E-38 ""
estimated_step_error = 6.07106562036478600000000000000000000000000000000000000E-38 ""
best_h = 1.638400E-2 ""
opt_iter = 15
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 3.986969263894852300000000000000000000000000000000E-33 ""
estimated_step_error = 3.986969263894852300000000000000000000000000000000E-33 ""
best_h = 3.276800E-2 ""
opt_iter = 16
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 2.62380132009561450000000000000000000000000000E-28 ""
estimated_step_error = 2.62380132009561450000000000000000000000000000E-28 ""
best_h = 6.553600E-2 ""
opt_iter = 17
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 1.734106028935756500000000000000000000000E-23 ""
estimated_step_error = 1.734106028935756500000000000000000000000E-23 ""
best_h = 0.131072 ""
opt_iter = 18
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 1.15632756159041990000000000000000E-18 ""
estimated_step_error = 1.15632756159041990000000000000000E-18 ""
best_h = 0.262144 ""
opt_iter = 19
hn_div_ho = 0.5 ""
hn_div_ho_2 = 0.25 ""
hn_div_ho_3 = 0.125 ""
max_estimated_step_error = 7.8596649288484100000000000000E-14 ""
estimated_step_error = 7.8596649288484100000000000000E-14 ""
best_h = 0.131072 ""
"START of Soultion"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.1 " "
y[1] (analytic) = 5.008355623235254000E-3 " "
y[1] (numeric) = 5.008355623235254000E-3 " "
absolute error = 0.0 " "
relative error = 0.0 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.470796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.11 " "
y[1] (analytic) = 6.062240346532338000E-3 " "
y[1] (numeric) = 6.062240346532248000E-3 " "
absolute error = 9.02056207507939700000000000000000E-17 " "
relative error = 1.4879914948009687000000000000E-12 "%"
Correct digits = 15
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.460796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.12 " "
y[1] (analytic) = 7.217346646627739000E-3 " "
y[1] (numeric) = 7.2173466466276810000E-3 " "
absolute error = 5.72458747072346300000000000000000E-17 " "
relative error = 7.9317064165100650000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.450796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.13 " "
y[1] (analytic) = 8.473908649082244000E-3 " "
y[1] (numeric) = 8.473908649082238000E-3 " "
absolute error = 5.204170427930421000000000000000000E-18 " "
relative error = 6.14140492120369100000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.4407963270000002 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.14 " "
y[1] (analytic) = 9.832181658295606000E-3 " "
y[1] (numeric) = 9.832181658295495000E-3 " "
absolute error = 1.11022302462515650000000000000000E-16 " "
relative error = 1.1291726121520948000000000000E-12 "%"
Correct digits = 15
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.430796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.15000000000000002 " "
y[1] (analytic) = 1.129244236664183300E-2 " "
y[1] (numeric) = 1.129244236664173200E-2 " "
absolute error = 1.00613961606654810000000000000000E-16 " "
relative error = 8.9098494674518820000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.4207963270000001 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.16000000000000003 " "
y[1] (analytic) = 1.285498908200966800E-2 " "
y[1] (numeric) = 1.285498908200959400E-2 " "
absolute error = 7.4593109467002700000000000000000E-17 " "
relative error = 5.8026583290836440000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.410796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.17000000000000004 " "
y[1] (analytic) = 1.452014197414717700E-2 " "
y[1] (numeric) = 1.452014197414706000E-2 " "
absolute error = 1.16226472890446080000000000000000E-16 " "
relative error = 8.0044997560895050000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.4007963270000001 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.18000000000000005 " "
y[1] (analytic) = 1.628824334024881200E-2 " "
y[1] (numeric) = 1.628824334024879500E-2 " "
absolute error = 1.73472347597680700000000000000000E-17 " "
relative error = 1.06501569244747560000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.3907963269999999 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.19000000000000006 " "
y[1] (analytic) = 1.81596578902599200E-2 " "
y[1] (numeric) = 1.815965789025986000E-2 " "
absolute error = 6.24500451351650600000000000000000E-17 " "
relative error = 3.4389439224326274000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.380796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.20000000000000007 " "
y[1] (analytic) = 2.013477305240835300E-2 " "
y[1] (numeric) = 2.013477305240829700E-2 " "
absolute error = 5.55111512312578300000000000000000E-17 " "
relative error = 2.7569792362083790000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.3707963269999999 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.21000000000000008 " "
y[1] (analytic) = 2.22139992995190300E-2 " "
y[1] (numeric) = 2.221399929951900500E-2 " "
absolute error = 2.4286128663675300000000000000000E-17 " "
relative error = 1.09328033805246110000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.360796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.22000000000000008 " "
y[1] (analytic) = 2.439777049670312500E-2 " "
y[1] (numeric) = 2.4397770496703103E-2 " "
absolute error = 2.4286128663675300000000000000000E-17 " "
relative error = 9.95424096925458300000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.3507963269999999 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2300000000000001 " "
y[1] (analytic) = 2.668654427106085000E-2 " "
y[1] (numeric) = 2.66865442710607400E-2 " "
absolute error = 1.14491749414469270000000000000000E-16 " "
relative error = 4.29024261258979240000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.340796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2400000000000001 " "
y[1] (analytic) = 2.908080240408098500E-2 " "
y[1] (numeric) = 2.908080240408088500E-2 " "
absolute error = 1.04083408558608430000000000000000E-16 " "
relative error = 3.57911061436193830000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.3307963269999998 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2500000000000001 " "
y[1] (analytic) = 3.15810512474696600E-2 " "
y[1] (numeric) = 3.15810512474695600E-2 " "
absolute error = 1.04083408558608430000000000000000E-16 " "
relative error = 3.2957550318071760000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.320796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.2600000000000001 " "
y[1] (analytic) = 3.418782216318843600E-2 " "
y[1] (numeric) = 3.41878221631883750E-2 " "
absolute error = 6.24500451351650600000000000000000E-17 " "
relative error = 1.826675148743690000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.3107963269999998 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.27000000000000013 " "
y[1] (analytic) = 3.690167198853800400E-2 " "
y[1] (numeric) = 3.69016719885379700E-2 " "
absolute error = 3.46944695195361400000000000000000E-17 " "
relative error = 9.40186925142919300000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.300796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.28000000000000014 " "
y[1] (analytic) = 3.97231835271768860E-2 " "
y[1] (numeric) = 3.97231835271767750E-2 " "
absolute error = 1.11022302462515650000000000000000E-16 " "
relative error = 2.7948994165223184000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.2907963269999998 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.29000000000000015 " "
y[1] (analytic) = 4.265296606702417000E-2 " "
y[1] (numeric) = 4.26529660670240200E-2 " "
absolute error = 1.4571677198205180000000000000000E-16 " "
relative error = 3.41633385479159560000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.280796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.30000000000000016 " "
y[1] (analytic) = 4.56916559260580600E-2 " "
y[1] (numeric) = 4.56916559260579700E-2 " "
absolute error = 9.02056207507939700000000000000000E-17 " "
relative error = 1.97422524797026430000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.2707963269999998 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.31000000000000016 " "
y[1] (analytic) = 4.88399170270858500E-2 " "
y[1] (numeric) = 4.88399170270857900E-2 " "
absolute error = 6.24500451351650600000000000000000E-17 " "
relative error = 1.27866812510208070000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.260796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3200000000000002 " "
y[1] (analytic) = 5.20984415026303900E-2 " "
y[1] (numeric) = 5.20984415026303100E-2 " "
absolute error = 8.32667268468867400000000000000000E-17 " "
relative error = 1.59825753794732400000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.2507963269999998 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3300000000000002 " "
y[1] (analytic) = 5.54679503311527600E-2 " "
y[1] (numeric) = 5.54679503311526400E-2 " "
absolute error = 1.17961196366422880000000000000000E-16 " "
relative error = 2.12665504425844480000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.240796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3400000000000002 " "
y[1] (analytic) = 5.894919400590686000E-2 " "
y[1] (numeric) = 5.89491940059067800E-2 " "
absolute error = 7.63278329429795100000000000000000E-17 " "
relative error = 1.29480706615481940000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.2307963269999997 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3500000000000002 " "
y[1] (analytic) = 6.25429532378047900E-2 " "
y[1] (numeric) = 6.25429532378047200E-2 " "
absolute error = 6.93889390390722800000000000000000E-17 " "
relative error = 1.10946054586257320000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.220796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3600000000000002 " "
y[1] (analytic) = 6.6250039693758200E-2 " "
y[1] (numeric) = 6.62500396937581100E-2 " "
absolute error = 8.32667268468867400000000000000000E-17 " "
relative error = 1.25685550124631500000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.2107963269999997 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3700000000000002 " "
y[1] (analytic) = 7.00712967720552100E-2 " "
y[1] (numeric) = 7.00712967720551400E-2 " "
absolute error = 8.32667268468867400000000000000000E-17 " "
relative error = 1.18831434100266180000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.200796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.3800000000000002 " "
y[1] (analytic) = 7.40076004164300200E-2 " "
y[1] (numeric) = 7.40076004164298600E-2 " "
absolute error = 1.52655665885959020000000000000000E-16 " "
relative error = 2.06270254713012940000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.1907963269999997 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.39000000000000024 " "
y[1] (analytic) = 7.80598599705870200E-2 " "
y[1] (numeric) = 7.80598599705869400E-2 " "
absolute error = 8.32667268468867400000000000000000E-17 " "
relative error = 1.06670351289717500000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.180796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.40000000000000024 " "
y[1] (analytic) = 8.22290190750555300E-2 " "
y[1] (numeric) = 8.22290190750554200E-2 " "
absolute error = 1.11022302462515650000000000000000E-16 " "
relative error = 1.35015963599393900000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.1707963269999997 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.41000000000000025 " "
y[1] (analytic) = 8.65160566083661500E-2 " "
y[1] (numeric) = 8.65160566083660400E-2 " "
absolute error = 1.11022302462515650000000000000000E-16 " "
relative error = 1.28325662096554380000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.160796327 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.42000000000000026 " "
y[1] (analytic) = 9.09219876746725700E-2 " "
y[1] (numeric) = 9.09219876746724100E-2 " "
absolute error = 1.52655665885959020000000000000000E-16 " "
relative error = 1.67897413805091200000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.1507963269999997 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.43000000000000027 " "
y[1] (analytic) = 9.54478646400733900E-2 " "
y[1] (numeric) = 9.54478646400732200E-2 " "
absolute error = 1.66533453693773480000000000000000E-16 " "
relative error = 1.74475829628832870000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.1407963269999999 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.4400000000000003 " "
y[1] (analytic) = 0.10009477822003766 " "
y[1] (numeric) = 0.10009477822003748 " "
absolute error = 1.80411241501587940000000000000000E-16 " "
relative error = 1.8024041284650350000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.1307963269999997 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.4500000000000003 " "
y[1] (analytic) = 0.10486385862049037 " "
y[1] (numeric) = 0.10486385862049022 " "
absolute error = 1.52655665885959020000000000000000E-16 " "
relative error = 1.45575098889342360000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.1207963269999999 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.4600000000000003 " "
y[1] (analytic) = 0.10975627673528227 " "
y[1] (numeric) = 0.10975627673528209 " "
absolute error = 1.80411241501587940000000000000000E-16 " "
relative error = 1.64374418363986750000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.1107963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.4700000000000003 " "
y[1] (analytic) = 0.11477324540294474 " "
y[1] (numeric) = 0.11477324540294467 " "
absolute error = 6.93889390390722800000000000000000E-17 " "
relative error = 6.04574165307100100000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.1007963269999999 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.4800000000000003 " "
y[1] (analytic) = 0.11991602072582375 " "
y[1] (numeric) = 0.11991602072582361 " "
absolute error = 1.38777878078144570000000000000000E-16 " "
relative error = 1.15729222199131010000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.0907963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.4900000000000003 " "
y[1] (analytic) = 0.12518590345488673 " "
y[1] (numeric) = 0.1251859034548866 " "
absolute error = 1.38777878078144570000000000000000E-16 " "
relative error = 1.1085743222531119000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.0807963269999998 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.5000000000000003 " "
y[1] (analytic) = 0.1305842404437229 " "
y[1] (numeric) = 0.13058424044372274 " "
absolute error = 1.66533453693773480000000000000000E-16 " "
relative error = 1.27529518974032250000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.0707963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.5100000000000003 " "
y[1] (analytic) = 0.13611242617548622 " "
y[1] (numeric) = 0.13611242617548602 " "
absolute error = 1.9428902930940240000000000000000E-16 " "
relative error = 1.4274158118297780000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.0607963269999998 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.5200000000000004 " "
y[1] (analytic) = 0.1417719043667884 " "
y[1] (numeric) = 0.1417719043667883 " "
absolute error = 1.11022302462515650000000000000000E-16 " "
relative error = 7.83105107873008200000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.0507963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.5300000000000004 " "
y[1] (analytic) = 0.1475641696528218 " "
y[1] (numeric) = 0.1475641696528216 " "
absolute error = 1.9428902930940240000000000000000E-16 " "
relative error = 1.3166409553654620000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.0407963269999998 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.5400000000000004 " "
y[1] (analytic) = 0.15349076935828165 " "
y[1] (numeric) = 0.15349076935828146 " "
absolute error = 1.9428902930940240000000000000000E-16 " "
relative error = 1.26580269368439020000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.0307963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.5500000000000004 " "
y[1] (analytic) = 0.159553305358981 " "
y[1] (numeric) = 0.15955330535898082 " "
absolute error = 1.66533453693773480000000000000000E-16 " "
relative error = 1.04374806475546060000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.0207963269999998 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.5600000000000004 " "
y[1] (analytic) = 0.1657534360393848 " "
y[1] (numeric) = 0.16575343603938458 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 1.3396078550810320000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.0107963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.5700000000000004 " "
y[1] (analytic) = 0.17209287835166318 " "
y[1] (numeric) = 0.17209287835166293 " "
absolute error = 2.4980018054066022000000000000000E-16 " "
relative error = 1.45154281184260330000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 1.0007963269999998 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.5800000000000004 " "
y[1] (analytic) = 0.17857340998225993 " "
y[1] (numeric) = 0.17857340998225973 " "
absolute error = 1.9428902930940240000000000000000E-16 " "
relative error = 1.08800649172070860000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.9907963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.5900000000000004 " "
y[1] (analytic) = 0.18519687163240187 " "
y[1] (numeric) = 0.18519687163240162 " "
absolute error = 2.4980018054066022000000000000000E-16 " "
relative error = 1.348835854184890000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.9807963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.6000000000000004 " "
y[1] (analytic) = 0.19196516941943795 " "
y[1] (numeric) = 0.1919651694194378 " "
absolute error = 1.38777878078144570000000000000000E-16 " "
relative error = 7.22932595000706500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.9707963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.6100000000000004 " "
y[1] (analytic) = 0.19888027740640507 " "
y[1] (numeric) = 0.19888027740640485 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 1.11647372892230380000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.9607963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.6200000000000004 " "
y[1] (analytic) = 0.20594424026775485 " "
y[1] (numeric) = 0.20594424026775462 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 1.07817827114923840000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.9507963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.6300000000000004 " "
y[1] (analytic) = 0.21315917609977578 " "
y[1] (numeric) = 0.2131591760997756 " "
absolute error = 1.66533453693773480000000000000000E-16 " "
relative error = 7.81263357932207000000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.9407963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.6400000000000005 " "
y[1] (analytic) = 0.22052727938487904 " "
y[1] (numeric) = 0.2205272793848788 " "
absolute error = 2.4980018054066022000000000000000E-16 " "
relative error = 1.13274049921366940000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.9307963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.6500000000000005 " "
y[1] (analytic) = 0.22805082411961658 " "
y[1] (numeric) = 0.2280508241196163 " "
absolute error = 2.77555756156289140000000000000000E-16 " "
relative error = 1.2170785053190880000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.9207963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.6600000000000005 " "
y[1] (analytic) = 0.23573216711705908 " "
y[1] (numeric) = 0.23573216711705874 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 1.41290393865574460000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.9107963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.6700000000000005 " "
y[1] (analytic) = 0.2435737514949815 " "
y[1] (numeric) = 0.24357375149498126 " "
absolute error = 2.4980018054066022000000000000000E-16 " "
relative error = 1.02556280800974160000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.9007963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.6800000000000005 " "
y[1] (analytic) = 0.2515781103622067 " "
y[1] (numeric) = 0.25157811036220634 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 1.3239105218972260000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.8907963269999996 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.6900000000000005 " "
y[1] (analytic) = 0.259747870716431 " "
y[1] (numeric) = 0.2597478707164308 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 8.54846680023180200000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.8807963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.7000000000000005 " "
y[1] (analytic) = 0.26808575756793157 " "
y[1] (numeric) = 0.26808575756793124 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 1.24238941452587040000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.8707963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.7100000000000005 " "
y[1] (analytic) = 0.2765945983047113 " "
y[1] (numeric) = 0.27659459830471106 " "
absolute error = 2.2204460492503130000000000000000E-16 " "
relative error = 8.02779975769502100000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.8607963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.7200000000000005 " "
y[1] (analytic) = 0.28527732731592603 " "
y[1] (numeric) = 0.28527732731592575 " "
absolute error = 2.77555756156289140000000000000000E-16 " "
relative error = 9.72933106068097100000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.8507963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.7300000000000005 " "
y[1] (analytic) = 0.29413699089182177 " "
y[1] (numeric) = 0.29413699089182144 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 1.13235301135600080000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.8407963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.7400000000000005 " "
y[1] (analytic) = 0.3031767524199507 " "
y[1] (numeric) = 0.30317675241995035 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 1.0985898645889360000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.8307963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.7500000000000006 " "
y[1] (analytic) = 0.3123998978991059 " "
y[1] (numeric) = 0.31239989789910555 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 1.06615562177653390000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.8207963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.7600000000000006 " "
y[1] (analytic) = 0.32180984179426003 " "
y[1] (numeric) = 0.3218098417942597 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 1.03498048888288440000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.8107963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.7700000000000006 " "
y[1] (analytic) = 0.3314101332578185 " "
y[1] (numeric) = 0.3314101332578182 " "
absolute error = 2.77555756156289140000000000000000E-16 " "
relative error = 8.37499304646687800000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.8007963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.7800000000000006 " "
y[1] (analytic) = 0.3412044627447259 " "
y[1] (numeric) = 0.3412044627447256 " "
absolute error = 2.77555756156289140000000000000000E-16 " "
relative error = 8.13458751165116200000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.7907963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.7900000000000006 " "
y[1] (analytic) = 0.351196669051421 " "
y[1] (numeric) = 0.3511966690514206 " "
absolute error = 3.8857805861880480000000000000000E-16 " "
relative error = 1.10644004588184340000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.7807963269999995 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.8000000000000006 " "
y[1] (analytic) = 0.36139074681134437 " "
y[1] (numeric) = 0.361390746811344 " "
absolute error = 3.8857805861880480000000000000000E-16 " "
relative error = 1.07522968434400150000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.7707963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.8100000000000006 " "
y[1] (analytic) = 0.37179085448269517 " "
y[1] (numeric) = 0.3717908544826949 " "
absolute error = 2.77555756156289140000000000000000E-16 " "
relative error = 7.46537341652678600000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.7607963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.8200000000000006 " "
y[1] (analytic) = 0.3824013228674413 " "
y[1] (numeric) = 0.382401322867441 " "
absolute error = 2.77555756156289140000000000000000E-16 " "
relative error = 7.25823211266722900000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.7507963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.8300000000000006 " "
y[1] (analytic) = 0.3932266642042512 " "
y[1] (numeric) = 0.39322666420425073 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 1.12934663458984620000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.7407963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.8400000000000006 " "
y[1] (analytic) = 0.4042715818820776 " "
y[1] (numeric) = 0.4042715818820773 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 8.23869206529336500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.7307963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.8500000000000006 " "
y[1] (analytic) = 0.41554098082563534 " "
y[1] (numeric) = 0.41554098082563495 " "
absolute error = 3.8857805861880480000000000000000E-16 " "
relative error = 9.35113686854042400000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.7207963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.8600000000000007 " "
y[1] (analytic) = 0.4270399786090209 " "
y[1] (numeric) = 0.4270399786090205 " "
absolute error = 3.8857805861880480000000000000000E-16 " "
relative error = 9.0993367853872500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.7107963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.8700000000000007 " "
y[1] (analytic) = 0.43877391735931565 " "
y[1] (numeric) = 0.43877391735931526 " "
absolute error = 3.8857805861880480000000000000000E-16 " "
relative error = 8.85599720597327500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.7007963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.8800000000000007 " "
y[1] (analytic) = 0.4507483765182265 " "
y[1] (numeric) = 0.45074837651822613 " "
absolute error = 3.8857805861880480000000000000000E-16 " "
relative error = 8.62073118533111900000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.6907963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.8900000000000007 " "
y[1] (analytic) = 0.4629691865367751 " "
y[1] (numeric) = 0.46296918653677466 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 9.59219798561663500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.6807963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.9000000000000007 " "
y[1] (analytic) = 0.4754424435858151 " "
y[1] (numeric) = 0.4754424435858148 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 7.00540963224773400000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.6707963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.9100000000000007 " "
y[1] (analytic) = 0.48817452537386696 " "
y[1] (numeric) = 0.4881745253738666 " "
absolute error = 3.8857805861880480000000000000000E-16 " "
relative error = 7.95981843422111200000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.6607963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.9200000000000007 " "
y[1] (analytic) = 0.5011721081735231 " "
y[1] (numeric) = 0.5011721081735225 " "
absolute error = 5.5511151231257830000000000000000E-16 " "
relative error = 1.10762650845760850000000000000E-13 "%"
Correct digits = 16
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.6507963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.9300000000000007 " "
y[1] (analytic) = 0.5144421851686615 " "
y[1] (numeric) = 0.514442185168661 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 8.63244155812118300000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.6407963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.9400000000000007 " "
y[1] (analytic) = 0.5279920862470625 " "
y[1] (numeric) = 0.5279920862470621 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 8.41090655366869700000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.6307963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.9500000000000007 " "
y[1] (analytic) = 0.5418294993769632 " "
y[1] (numeric) = 0.5418294993769629 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 6.14707962136673300000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.6207963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.9600000000000007 " "
y[1] (analytic) = 0.5559624937218419 " "
y[1] (numeric) = 0.5559624937218414 " "
absolute error = 5.5511151231257830000000000000000E-16 " "
relative error = 9.98469354643751500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.6107963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.9700000000000008 " "
y[1] (analytic) = 0.5703995446655491 " "
y[1] (numeric) = 0.5703995446655487 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 7.78558142276309300000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.6007963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.9800000000000008 " "
y[1] (analytic) = 0.5851495609401413 " "
y[1] (numeric) = 0.5851495609401407 " "
absolute error = 5.5511151231257830000000000000000E-16 " "
relative error = 9.4866603235709200000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.5907963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 0.9900000000000008 " "
y[1] (analytic) = 0.6002219140717494 " "
y[1] (numeric) = 0.600221914071749 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 7.39875035280662900000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.5807963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.0000000000000007 " "
y[1] (analytic) = 0.6156264703860153 " "
y[1] (numeric) = 0.6156264703860149 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 5.410210954358485000000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.5707963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.0100000000000007 " "
y[1] (analytic) = 0.6313736258445042 " "
y[1] (numeric) = 0.6313736258445038 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 5.275274318626278000000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.5607963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.0200000000000007 " "
y[1] (analytic) = 0.647474344017704 " "
y[1] (numeric) = 0.6474743440177035 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 6.85879238232673300000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.5507963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.0300000000000007 " "
y[1] (analytic) = 0.6639401975394195 " "
y[1] (numeric) = 0.6639401975394191 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 5.016519689904333000000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.5407963269999994 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.0400000000000007 " "
y[1] (analytic) = 0.6807834134324346 " "
y[1] (numeric) = 0.6807834134324342 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 6.52320842558448800000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.5307963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.0500000000000007 " "
y[1] (analytic) = 0.6980169227472273 " "
y[1] (numeric) = 0.6980169227472268 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 6.3621553486444700000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.5207963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.0600000000000007 " "
y[1] (analytic) = 0.7156544150154999 " "
y[1] (numeric) = 0.7156544150154995 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 4.65401876100119200000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.5107963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.0700000000000007 " "
y[1] (analytic) = 0.7337103980897428 " "
y[1] (numeric) = 0.7337103980897425 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 4.53948735433906600000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.5007963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.0800000000000007 " "
y[1] (analytic) = 0.7522002640207198 " "
y[1] (numeric) = 0.7522002640207195 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 4.427902027143830000000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.4907963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.0900000000000007 " "
y[1] (analytic) = 0.7711403617187269 " "
y[1] (numeric) = 0.7711403617187266 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 4.31914764058262350000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.4807963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.1000000000000008 " "
y[1] (analytic) = 0.790548077254233 " "
y[1] (numeric) = 0.7905480772542327 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 4.213113875937436500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.4707963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.1100000000000008 " "
y[1] (analytic) = 0.8104419227821352 " "
y[1] (numeric) = 0.8104419227821348 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 5.47959326098982700000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.4607963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.1200000000000008 " "
y[1] (analytic) = 0.8308416352250594 " "
y[1] (numeric) = 0.8308416352250589 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 5.34505242662480600000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.4507963269999993 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.1300000000000008 " "
y[1] (analytic) = 0.8517682860294862 " "
y[1] (numeric) = 0.8517682860294857 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 5.21373262111204400000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.44079632699999927 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.1400000000000008 " "
y[1] (analytic) = 0.8732444035195741 " "
y[1] (numeric) = 0.8732444035195738 " "
absolute error = 3.33066907387546960000000000000000E-16 " "
relative error = 3.81413159987209900000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.43079632699999926 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.1500000000000008 " "
y[1] (analytic) = 0.8952941096243293 " "
y[1] (numeric) = 0.8952941096243289 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 4.96026060124985200000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.42079632699999925 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.1600000000000008 " "
y[1] (analytic) = 0.9179432730528062 " "
y[1] (numeric) = 0.9179432730528058 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 4.83787204380455900000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.41079632699999924 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.1700000000000008 " "
y[1] (analytic) = 0.9412196813500504 " "
y[1] (numeric) = 0.9412196813500499 " "
absolute error = 5.5511151231257830000000000000000E-16 " "
relative error = 5.89778904236625200000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.40079632699999923 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
"NO REAL POLE (three term test) for Equation 1"
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.1800000000000008 " "
y[1] (analytic) = 0.9651532346969017 " "
y[1] (numeric) = 0.9651532346969012 " "
absolute error = 5.5511151231257830000000000000000E-16 " "
relative error = 5.75153760414952500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.3907963269999992 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.39079632636477685 " "
Order of pole (three term test) = 1.416984152434925800000000E-8 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.1900000000000008 " "
y[1] (analytic) = 0.989776164836492 " "
y[1] (numeric) = 0.9897761648364913 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 6.73014605160892300000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.3807963269999992 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.38079632650231315 " "
Order of pole (three term test) = 9.894905592918106000000000E-9 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.2000000000000008 " "
y[1] (analytic) = 1.0151232831406618 " "
y[1] (numeric) = 1.0151232831406611 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 6.56209768644219200000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.3707963269999992 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.3707963265975666 " "
Order of pole (three term test) = 6.855571918188262000000000E-9 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.2100000000000009 " "
y[1] (analytic) = 1.041232262597865 " "
y[1] (numeric) = 1.0412322625978645 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 4.265035053198064600000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.3607963269999992 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.3607963266629985 " "
Order of pole (three term test) = 4.710826858790795300000000E-9 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.2200000000000009 " "
y[1] (analytic) = 1.06814395944531 " "
y[1] (numeric) = 1.0681439594453093 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 6.23636738179953800000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.3507963269999992 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.35079632670756916 " "
Order of pole (three term test) = 3.2088483642208620000000000E-9 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.2300000000000009 " "
y[1] (analytic) = 1.0959027813271431 " "
y[1] (numeric) = 1.0959027813271425 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 6.07840244705285700000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.3407963269999992 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.3407963267376589 " "
Order of pole (three term test) = 2.1655324792742256000000000E-9 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.2400000000000009 " "
y[1] (analytic) = 1.1245571102958363 " "
y[1] (numeric) = 1.1245571102958356 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 5.92352143502836200000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.33079632699999917 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.330796326757775 " "
Order of pole (three term test) = 1.4473355666817803000000000E-9 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.2500000000000009 " "
y[1] (analytic) = 1.154159790761956 " "
y[1] (numeric) = 1.1541597907619554 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 5.7715909019436910000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.32079632699999916 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.3207963267710974 " "
Order of pole (three term test) = 9.5711196321904430000000000E-10 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.260000000000001 " "
y[1] (analytic) = 1.184768694738796 " "
y[1] (numeric) = 1.1847686947387954 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 5.62247987926415700000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.31079632699999915 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.3107963267798187 " "
Order of pole (three term test) = 6.2607376245664080000000000E-10 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.270000000000001 " "
y[1] (analytic) = 1.2164473795563955 " "
y[1] (numeric) = 1.2164473795563948 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 5.476059433150445000000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.30079632699999914 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.3007963267854672 " "
Order of pole (three term test) = 4.0464551243448593000000000E-10 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.280000000000001 " "
y[1] (analytic) = 1.2492658568129797 " "
y[1] (numeric) = 1.249265856812979 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 5.33220219813321100000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.29079632699999913 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.2907963267890811 " "
Order of pole (three term test) = 2.58215695407837600000000000E-10 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.290000000000001 " "
y[1] (analytic) = 1.2833014959320592 " "
y[1] (numeric) = 1.2833014959320588 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 3.460521251302068300000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.2807963269999991 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.28079632679136235 " "
Order of pole (three term test) = 1.62577699347242530000000000E-10 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.300000000000001 " "
y[1] (analytic) = 1.3186400916291718 " "
y[1] (numeric) = 1.3186400916291714 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 3.36778179784745560000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.2707963269999991 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.27079632679278154 " "
Order of pole (three term test) = 1.0089746578829470000000000E-10 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.310000000000001 " "
y[1] (analytic) = 1.3553771323162076 " "
y[1] (numeric) = 1.3553771323162072 " "
absolute error = 4.4408920985006260000000000000000E-16 " "
relative error = 3.276499206469253300000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.2607963269999991 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.26079632679365067 " "
Order of pole (three term test) = 6.17074581364361400000000000E-11 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.320000000000001 " "
y[1] (analytic) = 1.393619316613288 " "
y[1] (numeric) = 1.3936193166132873 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 4.77988362269477500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.2507963269999991 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.25079632679417824 " "
Order of pole (three term test) = 3.695669519550662000000000000E-11 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.330000000000001 " "
y[1] (analytic) = 1.433486378584703 " "
y[1] (numeric) = 1.4334863785847023 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 4.646949037860933500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.2407963269999991 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.24079632679448842 " "
Order of pole (three term test) = 2.186398731432062600000000000E-11 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.340000000000001 " "
y[1] (analytic) = 1.475113300329342 " "
y[1] (numeric) = 1.4751133003293413 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 4.515814579302953600000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.23079632699999908 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.2307963267946713 " "
Order of pole (three term test) = 1.263173575552036500000000000E-11 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.350000000000001 " "
y[1] (analytic) = 1.5186530149603914 " "
y[1] (numeric) = 1.5186530149603907 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 4.38634637545869900000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.22079632699999907 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.22079632679477434 " "
Order of pole (three term test) = 7.0701818280803600000000000000E-12 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.360000000000001 " "
y[1] (analytic) = 1.5642797364730108 " "
y[1] (numeric) = 1.56427973647301 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 4.258405956705858500000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.21079632699999906 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.21079632679483074 " "
Order of pole (three term test) = 3.95209010806353960000000000E-12 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.370000000000001 " "
y[1] (analytic) = 1.612193099490702 " "
y[1] (numeric) = 1.6121930994907014 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 4.13184881504286400000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.20079632699999905 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.20079632679486348 " "
Order of pole (three term test) = 2.084992329787536000000000000E-12 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.380000000000001 " "
y[1] (analytic) = 1.6626233574003848 " "
y[1] (numeric) = 1.6626233574003841 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 4.006522654755889600000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.19079632699999904 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.19079632679487923 " "
Order of pole (three term test) = 1.0785478237924817000000000000E-12 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.390000000000001 " "
y[1] (analytic) = 1.7158379811678246 " "
y[1] (numeric) = 1.715837981167824 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 3.88226523766371800000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.18079632699999904 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.18079632679488833 " "
Order of pole (three term test) = 5.4505993823752690000000000000E-13 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.400000000000001 " "
y[1] (analytic) = 1.772150137669705 " "
y[1] (numeric) = 1.7721501376697042 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 5.01186892024870100000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.17079632699999903 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.17079632679489312 " "
Order of pole (three term test) = 1.65536974466893940000000000000E-13 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.410000000000001 " "
y[1] (analytic) = 1.8319297289558871 " "
y[1] (numeric) = 1.8319297289558865 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 3.63624108635847430000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.16079632699999902 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.16079632679489486 " "
Order of pole (three term test) = 7.8823276468968800000000000000E-14 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.420000000000001 " "
y[1] (analytic) = 1.8956179807145515 " "
y[1] (numeric) = 1.8956179807145508 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 3.5140720416884600000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.150796326999999 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.1507963267948952 " "
Order of pole (three term test) = 2.96937535072017100000000000000E-14 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.430000000000001 " "
y[1] (analytic) = 1.9637470439243763 " "
y[1] (numeric) = 1.9637470439243756 " "
absolute error = 6.6613381477509390000000000000000E-16 " "
relative error = 3.39215693200425600000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.140796326999999 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.14079632679489545 " "
Order of pole (three term test) = 3.98997060628438300000000000000E-14 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.440000000000001 " "
y[1] (analytic) = 2.0369668305394475 " "
y[1] (numeric) = 2.0369668305394466 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 4.360298883536115600000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.130796326999999 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.13079632679489497 " "
Order of pole (three term test) = 7.05116275563287900000000000000E-14 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.450000000000001 " "
y[1] (analytic) = 2.116082544013728 " "
y[1] (numeric) = 2.116082544013727 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 4.19727681329222900000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.12079632699999898 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.12079632679489591 " "
Order of pole (three term test) = 4.755236969557964000000000000000E-14 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.460000000000001 " "
y[1] (analytic) = 2.202108465746907 " "
y[1] (numeric) = 2.2021084657469063 " "
absolute error = 8.8817841970012520000000000000000E-16 " "
relative error = 4.033309137653555700000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.11079632699999897 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.11079632679489612 " "
Order of pole (three term test) = 8.04552959036223400000000000000E-14 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.470000000000001 " "
y[1] (analytic) = 2.2963472549526465 " "
y[1] (numeric) = 2.296347254952645 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 5.80168189578827800000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 0.10079632699999896 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 0.10079632679489593 " "
Order of pole (three term test) = 5.50234161412764500000000000000E-14 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.480000000000001 " "
y[1] (analytic) = 2.4005108212575945 " "
y[1] (numeric) = 2.400510821257593 " "
absolute error = 1.3322676295501878000000000000000E-15 " "
relative error = 5.549933863044330000000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 9.07963269999989600E-2 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 9.07963267948956700E-2 " "
Order of pole (three term test) = 2.90971495105954900000000000000E-14 " "
"NO COMPLEX POLE (six term test) for Equation 1"
" "
"TOP MAIN SOLVE Loop"
x[1] = 1.490000000000001 " "
y[1] (analytic) = 2.5169120195352614 " "
y[1] (numeric) = 2.5169120195352597 " "
absolute error = 1.7763568394002505000000000000000E-15 " "
relative error = 7.05768348521077100000000000000E-14 "%"
Correct digits = 17
h = 1.00E-2 " "
Radius of convergence (given) for eq 1 = 8.07963269999989500E-2 " "
Order of pole (given) = 0.0 " "
"NO POLE (ratio test) for Equation 1"
Radius of convergence (three term test) for eq 1 = 8.07963267948961900E-2 " "
Order of pole (three term test) = 8.96266579038481300000000000000E-14 " "
"NO COMPLEX POLE (six term test) for Equation 1"
"Finished!"
"diff ( y , x , 1 ) = tan ( x ) ; "
Iterations = 140
"Total Elapsed Time "= 4 Seconds
"Elapsed Time(since restart) "= 3 Seconds
"Time to Timeout "= 9 Minutes 55 Seconds
Percent Done = 100.7142857142858 "%"
(%o225) true
(%o225) diffeq.max