|\^/| Maple 18 (X86 64 WINDOWS)
._|\| |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2014
\ MAPLE / All rights reserved. Maple is a trademark of
<____ ____> Waterloo Maple Inc.
| Type ? for help.
#BEGIN OUTFILE1
# before write maple top matter
# before write_ats library and user def block
#BEGIN ATS LIBRARY BLOCK
# Begin Function number 2
> omniout_str := proc(iolevel,str)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> printf("%s\n",str);
> fi;# end if 1;
> end;
omniout_str := proc(iolevel, str)
global glob_iolevel;
if iolevel <= glob_iolevel then printf("%s\n", str) end if
end proc
# End Function number 2
# Begin Function number 3
> omniout_str_noeol := proc(iolevel,str)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> printf("%s",str);
> fi;# end if 1;
> end;
omniout_str_noeol := proc(iolevel, str)
global glob_iolevel;
if iolevel <= glob_iolevel then printf("%s", str) end if
end proc
# End Function number 3
# Begin Function number 4
> omniout_labstr := proc(iolevel,label,str)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> print(label,str);
> fi;# end if 1;
> end;
omniout_labstr := proc(iolevel, label, str)
global glob_iolevel;
if iolevel <= glob_iolevel then print(label, str) end if
end proc
# End Function number 4
# Begin Function number 5
> omniout_float := proc(iolevel,prelabel,prelen,value,vallen,postlabel)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> if vallen = 4 then
> printf("%-30s = %-42.4g %s \n",prelabel,value, postlabel);
> else
> printf("%-30s = %-42.32g %s \n",prelabel,value, postlabel);
> fi;# end if 1;
> fi;# end if 0;
> end;
omniout_float := proc(iolevel, prelabel, prelen, value, vallen, postlabel)
global glob_iolevel;
if iolevel <= glob_iolevel then
if vallen = 4 then
printf("%-30s = %-42.4g %s \n", prelabel, value, postlabel)
else printf("%-30s = %-42.32g %s \n", prelabel, value, postlabel)
end if
end if
end proc
# End Function number 5
# Begin Function number 6
> omniout_int := proc(iolevel,prelabel,prelen,value,vallen,postlabel)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 0
> if vallen = 5 then # if number 1
> printf("%-30s = %-32d %s\n",prelabel,value, postlabel);
> else
> printf("%-30s = %-32d %s \n",prelabel,value, postlabel);
> fi;# end if 1;
> fi;# end if 0;
> end;
omniout_int := proc(iolevel, prelabel, prelen, value, vallen, postlabel)
global glob_iolevel;
if iolevel <= glob_iolevel then
if vallen = 5 then
printf("%-30s = %-32d %s\n", prelabel, value, postlabel)
else printf("%-30s = %-32d %s \n", prelabel, value, postlabel)
end if
end if
end proc
# End Function number 6
# Begin Function number 7
> omniout_float_arr := proc(iolevel,prelabel,elemnt,prelen,value,vallen,postlabel)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 0
> print(prelabel,"[",elemnt,"]",value, postlabel);
> fi;# end if 0;
> end;
omniout_float_arr := proc(
iolevel, prelabel, elemnt, prelen, value, vallen, postlabel)
global glob_iolevel;
if iolevel <= glob_iolevel then
print(prelabel, "[", elemnt, "]", value, postlabel)
end if
end proc
# End Function number 7
# Begin Function number 8
> logitem_time := proc(fd,secs_in)
> global glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
> local days_int, hours_int,minutes_int, sec_int, sec_temp, years_int;
> fprintf(fd,"
");
> if (secs_in >= 0) then # if number 0
> years_int := int_trunc(secs_in / glob_sec_in_year);
> sec_temp := int_trunc(secs_in) mod int_trunc(glob_sec_in_year);
> days_int := int_trunc(sec_temp / glob_sec_in_day) ;
> sec_temp := sec_temp mod int_trunc(glob_sec_in_day) ;
> hours_int := int_trunc(sec_temp / glob_sec_in_hour);
> sec_temp := sec_temp mod int_trunc(glob_sec_in_hour);
> minutes_int := int_trunc(sec_temp / glob_sec_in_minute);
> sec_int := sec_temp mod int_trunc(glob_sec_in_minute);
> if (years_int > 0) then # if number 1
> fprintf(fd,"%d Years %d Days %d Hours %d Minutes %d Seconds",years_int,days_int,hours_int,minutes_int,sec_int);
> elif
> (days_int > 0) then # if number 2
> fprintf(fd,"%d Days %d Hours %d Minutes %d Seconds",days_int,hours_int,minutes_int,sec_int);
> elif
> (hours_int > 0) then # if number 3
> fprintf(fd,"%d Hours %d Minutes %d Seconds",hours_int,minutes_int,sec_int);
> elif
> (minutes_int > 0) then # if number 4
> fprintf(fd,"%d Minutes %d Seconds",minutes_int,sec_int);
> else
> fprintf(fd,"%d Seconds",sec_int);
> fi;# end if 4
> else
> fprintf(fd," 0.0 Seconds");
> fi;# end if 3
> fprintf(fd," | \n");
> end;
logitem_time := proc(fd, secs_in)
local days_int, hours_int, minutes_int, sec_int, sec_temp, years_int;
global
glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
fprintf(fd, "");
if 0 <= secs_in then
years_int := int_trunc(secs_in/glob_sec_in_year);
sec_temp := int_trunc(secs_in) mod int_trunc(glob_sec_in_year);
days_int := int_trunc(sec_temp/glob_sec_in_day);
sec_temp := sec_temp mod int_trunc(glob_sec_in_day);
hours_int := int_trunc(sec_temp/glob_sec_in_hour);
sec_temp := sec_temp mod int_trunc(glob_sec_in_hour);
minutes_int := int_trunc(sec_temp/glob_sec_in_minute);
sec_int := sec_temp mod int_trunc(glob_sec_in_minute);
if 0 < years_int then fprintf(fd,
"%d Years %d Days %d Hours %d Minutes %d Seconds", years_int,
days_int, hours_int, minutes_int, sec_int)
elif 0 < days_int then fprintf(fd,
"%d Days %d Hours %d Minutes %d Seconds", days_int, hours_int,
minutes_int, sec_int)
elif 0 < hours_int then fprintf(fd,
"%d Hours %d Minutes %d Seconds", hours_int, minutes_int,
sec_int)
elif 0 < minutes_int then
fprintf(fd, "%d Minutes %d Seconds", minutes_int, sec_int)
else fprintf(fd, "%d Seconds", sec_int)
end if
else fprintf(fd, " 0.0 Seconds")
end if;
fprintf(fd, " | \n")
end proc
# End Function number 8
# Begin Function number 9
> omniout_timestr := proc(secs_in)
> global glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
> local days_int, hours_int,minutes_int, sec_int, sec_temp, years_int;
> if (secs_in >= 0) then # if number 3
> years_int := int_trunc(secs_in / glob_sec_in_year);
> sec_temp := (int_trunc(secs_in) mod int_trunc(glob_sec_in_year));
> days_int := int_trunc(sec_temp / glob_sec_in_day) ;
> sec_temp := (sec_temp mod int_trunc(glob_sec_in_day)) ;
> hours_int := int_trunc(sec_temp / glob_sec_in_hour);
> sec_temp := (sec_temp mod int_trunc(glob_sec_in_hour));
> minutes_int := int_trunc(sec_temp / glob_sec_in_minute);
> sec_int := (sec_temp mod int_trunc(glob_sec_in_minute));
> if (years_int > 0) then # if number 4
> printf(" = %d Years %d Days %d Hours %d Minutes %d Seconds\n",years_int,days_int,hours_int,minutes_int,sec_int);
> elif
> (days_int > 0) then # if number 5
> printf(" = %d Days %d Hours %d Minutes %d Seconds\n",days_int,hours_int,minutes_int,sec_int);
> elif
> (hours_int > 0) then # if number 6
> printf(" = %d Hours %d Minutes %d Seconds\n",hours_int,minutes_int,sec_int);
> elif
> (minutes_int > 0) then # if number 7
> printf(" = %d Minutes %d Seconds\n",minutes_int,sec_int);
> else
> printf(" = %d Seconds\n",sec_int);
> fi;# end if 7
> else
> printf(" 0.0 Seconds\n");
> fi;# end if 6
> end;
omniout_timestr := proc(secs_in)
local days_int, hours_int, minutes_int, sec_int, sec_temp, years_int;
global
glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
if 0 <= secs_in then
years_int := int_trunc(secs_in/glob_sec_in_year);
sec_temp := int_trunc(secs_in) mod int_trunc(glob_sec_in_year);
days_int := int_trunc(sec_temp/glob_sec_in_day);
sec_temp := sec_temp mod int_trunc(glob_sec_in_day);
hours_int := int_trunc(sec_temp/glob_sec_in_hour);
sec_temp := sec_temp mod int_trunc(glob_sec_in_hour);
minutes_int := int_trunc(sec_temp/glob_sec_in_minute);
sec_int := sec_temp mod int_trunc(glob_sec_in_minute);
if 0 < years_int then printf(
" = %d Years %d Days %d Hours %d Minutes %d Seconds\n",
years_int, days_int, hours_int, minutes_int, sec_int)
elif 0 < days_int then printf(
" = %d Days %d Hours %d Minutes %d Seconds\n", days_int,
hours_int, minutes_int, sec_int)
elif 0 < hours_int then printf(
" = %d Hours %d Minutes %d Seconds\n", hours_int, minutes_int,
sec_int)
elif 0 < minutes_int then
printf(" = %d Minutes %d Seconds\n", minutes_int, sec_int)
else printf(" = %d Seconds\n", sec_int)
end if
else printf(" 0.0 Seconds\n")
end if
end proc
# End Function number 9
# Begin Function number 10
> zero_ats_ar := proc(arr_a)
> global ATS_MAX_TERMS;
> local iii;
> iii := 1;
> while (iii <= ATS_MAX_TERMS) do # do number 1
> arr_a [iii] := glob__0;
> iii := iii + 1;
> od;# end do number 1
> end;
zero_ats_ar := proc(arr_a)
local iii;
global ATS_MAX_TERMS;
iii := 1;
while iii <= ATS_MAX_TERMS do arr_a[iii] := glob__0; iii := iii + 1
end do
end proc
# End Function number 10
# Begin Function number 11
> ats := proc(mmm_ats,arr_a,arr_b,jjj_ats)
> global ATS_MAX_TERMS;
> local iii_ats, lll_ats,ma_ats, ret_ats;
> ret_ats := glob__0;
> if (jjj_ats <= mmm_ats) then # if number 6
> ma_ats := mmm_ats + 1;
> iii_ats := jjj_ats;
> while (iii_ats <= mmm_ats) do # do number 1
> lll_ats := ma_ats - iii_ats;
> if ((lll_ats <= ATS_MAX_TERMS and (iii_ats <= ATS_MAX_TERMS) )) then # if number 7
> ret_ats := ret_ats + c(arr_a[iii_ats])*c(arr_b[lll_ats]);
> fi;# end if 7;
> iii_ats := iii_ats + 1;
> od;# end do number 1
> fi;# end if 6;
> ret_ats;
> end;
ats := proc(mmm_ats, arr_a, arr_b, jjj_ats)
local iii_ats, lll_ats, ma_ats, ret_ats;
global ATS_MAX_TERMS;
ret_ats := glob__0;
if jjj_ats <= mmm_ats then
ma_ats := mmm_ats + 1;
iii_ats := jjj_ats;
while iii_ats <= mmm_ats do
lll_ats := ma_ats - iii_ats;
if lll_ats <= ATS_MAX_TERMS and iii_ats <= ATS_MAX_TERMS then
ret_ats := ret_ats + c(arr_a[iii_ats])*c(arr_b[lll_ats])
end if;
iii_ats := iii_ats + 1
end do
end if;
ret_ats
end proc
# End Function number 11
# Begin Function number 12
> att := proc(mmm_att,arr_aa,arr_bb,jjj_att)
> global ATS_MAX_TERMS;
> local al_att, iii_att,lll_att, ma_att, ret_att;
> ret_att := glob__0;
> if (jjj_att < mmm_att) then # if number 6
> ma_att := mmm_att + 2;
> iii_att := jjj_att;
> while ((iii_att < mmm_att) and (iii_att <= ATS_MAX_TERMS) ) do # do number 1
> lll_att := ma_att - iii_att;
> al_att := (lll_att - 1);
> if ((lll_att <= ATS_MAX_TERMS and (iii_att <= ATS_MAX_TERMS) )) then # if number 7
> ret_att := ret_att + c(arr_aa[iii_att])*c(arr_bb[lll_att])* c(al_att);
> fi;# end if 7;
> iii_att := iii_att + 1;
> od;# end do number 1;
> ret_att := ret_att / c(mmm_att) ;
> fi;# end if 6;
> ret_att;
> end;
att := proc(mmm_att, arr_aa, arr_bb, jjj_att)
local al_att, iii_att, lll_att, ma_att, ret_att;
global ATS_MAX_TERMS;
ret_att := glob__0;
if jjj_att < mmm_att then
ma_att := mmm_att + 2;
iii_att := jjj_att;
while iii_att < mmm_att and iii_att <= ATS_MAX_TERMS do
lll_att := ma_att - iii_att;
al_att := lll_att - 1;
if lll_att <= ATS_MAX_TERMS and iii_att <= ATS_MAX_TERMS then
ret_att :=
ret_att + c(arr_aa[iii_att])*c(arr_bb[lll_att])*c(al_att)
end if;
iii_att := iii_att + 1
end do;
ret_att := ret_att/c(mmm_att)
end if;
ret_att
end proc
# End Function number 12
# Begin Function number 13
> logditto := proc(file)
> fprintf(file,"");
> fprintf(file,"ditto");
> fprintf(file," | ");
> end;
logditto := proc(file)
fprintf(file, ""); fprintf(file, "ditto"); fprintf(file, " | ")
end proc
# End Function number 13
# Begin Function number 14
> logitem_integer := proc(file,n)
> fprintf(file,"");
> fprintf(file,"%d",n);
> fprintf(file," | ");
> end;
logitem_integer := proc(file, n)
fprintf(file, ""); fprintf(file, "%d", n); fprintf(file, " | ")
end proc
# End Function number 14
# Begin Function number 15
> logitem_str := proc(file,str)
> fprintf(file,"");
> fprintf(file,str);
> fprintf(file," | ");
> end;
logitem_str := proc(file, str)
fprintf(file, ""); fprintf(file, str); fprintf(file, " | ")
end proc
# End Function number 15
# Begin Function number 16
> logitem_good_digits := proc(file,rel_error)
> global glob_small_float,glob_prec;
> local good_digits;
> fprintf(file,"");
> fprintf(file,"%d",glob_min_good_digits);
> fprintf(file," | ");
> end;
logitem_good_digits := proc(file, rel_error)
local good_digits;
global glob_small_float, glob_prec;
fprintf(file, "");
fprintf(file, "%d", glob_min_good_digits);
fprintf(file, " | ")
end proc
# End Function number 16
# Begin Function number 17
> log_revs := proc(file,revs)
> fprintf(file,revs);
> end;
log_revs := proc(file, revs) fprintf(file, revs) end proc
# End Function number 17
# Begin Function number 18
> logitem_float := proc(file,x)
> fprintf(file,"");
> fprintf(file,"%g",x);
> fprintf(file," | ");
> end;
logitem_float := proc(file, x)
fprintf(file, ""); fprintf(file, "%g", x); fprintf(file, " | ")
end proc
# End Function number 18
# Begin Function number 19
> logitem_h_reason := proc(file)
> global glob_h_reason;
> fprintf(file,"");
> if (glob_h_reason = 1) then # if number 6
> fprintf(file,"Max H");
> elif
> (glob_h_reason = 2) then # if number 7
> fprintf(file,"Display Interval");
> elif
> (glob_h_reason = 3) then # if number 8
> fprintf(file,"Optimal");
> elif
> (glob_h_reason = 4) then # if number 9
> fprintf(file,"Pole Accuracy");
> elif
> (glob_h_reason = 5) then # if number 10
> fprintf(file,"Min H (Pole)");
> elif
> (glob_h_reason = 6) then # if number 11
> fprintf(file,"Pole");
> elif
> (glob_h_reason = 7) then # if number 12
> fprintf(file,"Opt Iter");
> else
> fprintf(file,"Impossible");
> fi;# end if 12
> fprintf(file," | ");
> end;
logitem_h_reason := proc(file)
global glob_h_reason;
fprintf(file, "");
if glob_h_reason = 1 then fprintf(file, "Max H")
elif glob_h_reason = 2 then fprintf(file, "Display Interval")
elif glob_h_reason = 3 then fprintf(file, "Optimal")
elif glob_h_reason = 4 then fprintf(file, "Pole Accuracy")
elif glob_h_reason = 5 then fprintf(file, "Min H (Pole)")
elif glob_h_reason = 6 then fprintf(file, "Pole")
elif glob_h_reason = 7 then fprintf(file, "Opt Iter")
else fprintf(file, "Impossible")
end if;
fprintf(file, " | ")
end proc
# End Function number 19
# Begin Function number 20
> logstart := proc(file)
> fprintf(file,"");
> end;
logstart := proc(file) fprintf(file, "
") end proc
# End Function number 20
# Begin Function number 21
> logend := proc(file)
> fprintf(file,"
\n");
> end;
logend := proc(file) fprintf(file, "\n") end proc
# End Function number 21
# Begin Function number 22
> chk_data := proc()
> global glob_max_iter,ALWAYS, ATS_MAX_TERMS;
> local errflag;
> errflag := false;
> if (glob_max_iter < 2) then # if number 12
> omniout_str(ALWAYS,"Illegal max_iter");
> errflag := true;
> fi;# end if 12;
> if (errflag) then # if number 12
> quit;
> fi;# end if 12
> end;
chk_data := proc()
local errflag;
global glob_max_iter, ALWAYS, ATS_MAX_TERMS;
errflag := false;
if glob_max_iter < 2 then
omniout_str(ALWAYS, "Illegal max_iter"); errflag := true
end if;
if errflag then quit end if
end proc
# End Function number 22
# Begin Function number 23
> comp_expect_sec := proc(t_end2,t_start2,t2,clock_sec2)
> global glob_small_float;
> local ms2, rrr, sec_left, sub1, sub2;
> ;
> ms2 := c(clock_sec2);
> sub1 := c(t_end2-t_start2);
> sub2 := c(t2-t_start2);
> if (sub1 = glob__0) then # if number 12
> sec_left := glob__0;
> else
> if (sub2 > glob__0) then # if number 13
> rrr := (sub1/sub2);
> sec_left := rrr * c(ms2) - c(ms2);
> else
> sec_left := glob__0;
> fi;# end if 13
> fi;# end if 12;
> sec_left;
> end;
comp_expect_sec := proc(t_end2, t_start2, t2, clock_sec2)
local ms2, rrr, sec_left, sub1, sub2;
global glob_small_float;
ms2 := c(clock_sec2);
sub1 := c(t_end2 - t_start2);
sub2 := c(t2 - t_start2);
if sub1 = glob__0 then sec_left := glob__0
else
if glob__0 < sub2 then
rrr := sub1/sub2; sec_left := rrr*c(ms2) - c(ms2)
else sec_left := glob__0
end if
end if;
sec_left
end proc
# End Function number 23
# Begin Function number 24
> comp_percent := proc(t_end2,t_start2, t2)
> global glob_small_float;
> local rrr, sub1, sub2;
> sub1 := (t_end2-t_start2);
> sub2 := (t2-t_start2);
> if (sub2 > glob_small_float) then # if number 12
> rrr := (glob__100*sub2)/sub1;
> else
> rrr := 0.0;
> fi;# end if 12;
> rrr;
> end;
comp_percent := proc(t_end2, t_start2, t2)
local rrr, sub1, sub2;
global glob_small_float;
sub1 := t_end2 - t_start2;
sub2 := t2 - t_start2;
if glob_small_float < sub2 then rrr := glob__100*sub2/sub1
else rrr := 0.
end if;
rrr
end proc
# End Function number 24
# Begin Function number 25
> comp_rad_from_ratio := proc(term1,term2,last_no)
> #TOP TWO TERM RADIUS ANALYSIS
> global glob_h,glob_larger_float;
> local ret;
> if (float_abs(term2) > glob__0) then # if number 12
> ret := float_abs(term1 * glob_h / term2);
> else
> ret := glob_larger_float;
> fi;# end if 12;
> ret;
> #BOTTOM TWO TERM RADIUS ANALYSIS
> end;
comp_rad_from_ratio := proc(term1, term2, last_no)
local ret;
global glob_h, glob_larger_float;
if glob__0 < float_abs(term2) then ret := float_abs(term1*glob_h/term2)
else ret := glob_larger_float
end if;
ret
end proc
# End Function number 25
# Begin Function number 26
> comp_ord_from_ratio := proc(term1,term2,last_no)
> #TOP TWO TERM ORDER ANALYSIS
> global glob_h,glob_larger_float;
> local ret;
> if (float_abs(term2) > glob__0) then # if number 12
> ret := glob__1 + float_abs(term2) * c(last_no) * ln(float_abs(term1 * glob_h / term2))/ln(c(last_no));
> else
> ret := glob_larger_float;
> fi;# end if 12;
> ret;
> #BOTTOM TWO TERM ORDER ANALYSIS
> end;
comp_ord_from_ratio := proc(term1, term2, last_no)
local ret;
global glob_h, glob_larger_float;
if glob__0 < float_abs(term2) then ret := glob__1 + float_abs(term2)*
c(last_no)*ln(float_abs(term1*glob_h/term2))/ln(c(last_no))
else ret := glob_larger_float
end if;
ret
end proc
# End Function number 26
# Begin Function number 27
> c := proc(in_val)
> #To Force Conversion when needed
> local ret;
> ret := evalf(in_val);
> ret;
> #End Conversion
> end;
c := proc(in_val) local ret; ret := evalf(in_val); ret end proc
# End Function number 27
# Begin Function number 28
> comp_rad_from_three_terms := proc(term1,term2,term3,last_no)
> #TOP THREE TERM RADIUS ANALYSIS
> global glob_h,glob_larger_float;
> local ret,temp;
> temp := float_abs(term2*term2*c(last_no)+glob__m2*term2*term2-term1*term3*c(last_no)+term1*term3);
> if (float_abs(temp) > glob__0) then # if number 12
> ret := float_abs((term2*glob_h*term1)/(temp));
> else
> ret := glob_larger_float;
> fi;# end if 12;
> ret;
> #BOTTOM THREE TERM RADIUS ANALYSIS
> end;
comp_rad_from_three_terms := proc(term1, term2, term3, last_no)
local ret, temp;
global glob_h, glob_larger_float;
temp := float_abs(term2*term2*c(last_no) + glob__m2*term2*term2
- term1*term3*c(last_no) + term1*term3);
if glob__0 < float_abs(temp) then
ret := float_abs(term2*glob_h*term1/temp)
else ret := glob_larger_float
end if;
ret
end proc
# End Function number 28
# Begin Function number 29
> comp_ord_from_three_terms := proc(term1,term2,term3,last_no)
> #TOP THREE TERM ORDER ANALYSIS
> local ret;
> ret := float_abs((glob__4*term1*term3*c(last_no)-glob__3*term1*term3-glob__4*term2*term2*c(last_no)+glob__4*term2*term2+term2*term2*c(last_no*last_no)-term1*term3*c(last_no*last_no))/(term2*term2*c(last_no)-glob__2*term2*term2-term1*term3*c(last_no)+term1*term3));
> ret;
> #TOP THREE TERM ORDER ANALYSIS
> end;
comp_ord_from_three_terms := proc(term1, term2, term3, last_no)
local ret;
ret := float_abs((glob__4*term1*term3*c(last_no) - glob__3*term1*term3
- glob__4*term2*term2*c(last_no) + glob__4*term2*term2
+ term2*term2*c(last_no*last_no) - term1*term3*c(last_no*last_no))
/(term2*term2*c(last_no) - glob__2*term2*term2
- term1*term3*c(last_no) + term1*term3));
ret
end proc
# End Function number 29
# Begin Function number 30
> comp_rad_from_six_terms := proc(term1,term2,term3,term4,term5,term6,last_no)
> #TOP SIX TERM RADIUS ANALYSIS
> global glob_h,glob_larger_float,glob_six_term_ord_save;
> local ret,rm0,rm1,rm2,rm3,rm4,nr1,nr2,dr1,dr2,ds2,rad_c,ord_no,ds1,rcs;
> if ((term5 <> glob__0) and (term4 <> glob__0) and (term3 <> glob__0) and (term2 <> glob__0) and (term1 <> glob__0)) then # if number 12
> rm0 := term6/term5;
> rm1 := term5/term4;
> rm2 := term4/term3;
> rm3 := term3/term2;
> rm4 := term2/term1;
> nr1 := c(last_no-1)*rm0 - glob__2*c(last_no-2)*rm1 + c(last_no-3)*rm2;
> nr2 := c(last_no-2)*rm1 - glob__2*c(last_no-3)*rm2 + c(last_no-4)*rm3;
> dr1 := glob__m1/rm1 + glob__2/rm2 - glob__1/rm3;
> dr2 := glob__m1/rm2 + glob__2/rm3 - glob__1/rm4;
> ds1 := glob__3/rm1 - glob__8/rm2 + glob__5/rm3;
> ds2 := glob__3/rm2 - glob__8/rm3 + glob__5/rm4;
> if ((float_abs(nr1 * dr2 - nr2 * dr1) = glob__0) or (float_abs(dr1) = glob__0)) then # if number 13
> rad_c := glob_larger_float;
> ord_no := glob_larger_float;
> else
> if (float_abs(nr1*dr2 - nr2 * dr1) > glob__0) then # if number 14
> rcs := ((ds1*dr2 - ds2*dr1 +dr1*dr2)/(nr1*dr2 - nr2 * dr1));
> #(Manuels) rcs := (ds1*dr2 - ds2*dr1)/(nr1*dr2 - nr2 * dr1)
> ord_no := (rcs*nr1 - ds1)/(glob__2*dr1) -c(last_no)/glob__2;
> if (float_abs(rcs) <> glob__0) then # if number 15
> if (rcs > glob__0) then # if number 16
> rad_c := sqrt(rcs) * float_abs(glob_h);
> else
> rad_c := glob_larger_float;
> ord_no := glob_larger_float;
> fi;# end if 16
> else
> rad_c := glob_larger_float;
> ord_no := glob_larger_float;
> fi;# end if 15
> else
> rad_c := glob_larger_float;
> ord_no := glob_larger_float;
> fi;# end if 14
> fi;# end if 13
> else
> rad_c := glob_larger_float;
> ord_no := glob_larger_float;
> fi;# end if 12;
> glob_six_term_ord_save := ord_no;
> rad_c;
> #BOTTOM SIX TERM RADIUS ANALYSIS
> end;
comp_rad_from_six_terms := proc(
term1, term2, term3, term4, term5, term6, last_no)
local ret, rm0, rm1, rm2, rm3, rm4, nr1, nr2, dr1, dr2, ds2, rad_c, ord_no,
ds1, rcs;
global glob_h, glob_larger_float, glob_six_term_ord_save;
if term5 <> glob__0 and term4 <> glob__0 and term3 <> glob__0 and
term2 <> glob__0 and term1 <> glob__0 then
rm0 := term6/term5;
rm1 := term5/term4;
rm2 := term4/term3;
rm3 := term3/term2;
rm4 := term2/term1;
nr1 := c(last_no - 1)*rm0 - glob__2*c(last_no - 2)*rm1
+ c(last_no - 3)*rm2;
nr2 := c(last_no - 2)*rm1 - glob__2*c(last_no - 3)*rm2
+ c(last_no - 4)*rm3;
dr1 := glob__m1/rm1 + glob__2/rm2 - glob__1/rm3;
dr2 := glob__m1/rm2 + glob__2/rm3 - glob__1/rm4;
ds1 := glob__3/rm1 - glob__8/rm2 + glob__5/rm3;
ds2 := glob__3/rm2 - glob__8/rm3 + glob__5/rm4;
if
float_abs(nr1*dr2 - nr2*dr1) = glob__0 or float_abs(dr1) = glob__0
then rad_c := glob_larger_float; ord_no := glob_larger_float
else
if glob__0 < float_abs(nr1*dr2 - nr2*dr1) then
rcs := (ds1*dr2 - ds2*dr1 + dr1*dr2)/(nr1*dr2 - nr2*dr1);
ord_no :=
(rcs*nr1 - ds1)/(glob__2*dr1) - c(last_no)/glob__2;
if float_abs(rcs) <> glob__0 then
if glob__0 < rcs then
rad_c := sqrt(rcs)*float_abs(glob_h)
else
rad_c := glob_larger_float;
ord_no := glob_larger_float
end if
else
rad_c := glob_larger_float; ord_no := glob_larger_float
end if
else rad_c := glob_larger_float; ord_no := glob_larger_float
end if
end if
else rad_c := glob_larger_float; ord_no := glob_larger_float
end if;
glob_six_term_ord_save := ord_no;
rad_c
end proc
# End Function number 30
# Begin Function number 31
> comp_ord_from_six_terms := proc(term1,term2,term3,term4,term5,term6,last_no)
> global glob_six_term_ord_save;
> #TOP SIX TERM ORDER ANALYSIS
> #TOP SAVED FROM SIX TERM RADIUS ANALYSIS
> glob_six_term_ord_save;
> #BOTTOM SIX TERM ORDER ANALYSIS
> end;
comp_ord_from_six_terms := proc(
term1, term2, term3, term4, term5, term6, last_no)
global glob_six_term_ord_save;
glob_six_term_ord_save
end proc
# End Function number 31
# Begin Function number 32
> factorial_2 := proc(nnn)
> ret := nnn!;
> ret;;
> end;
Warning, `ret` is implicitly declared local to procedure `factorial_2`
factorial_2 := proc(nnn) local ret; ret := nnn!; ret end proc
# End Function number 32
# Begin Function number 33
> factorial_1 := proc(nnn)
> global ATS_MAX_TERMS,array_fact_1;
> local ret;
> if (nnn <= ATS_MAX_TERMS) then # if number 12
> if (array_fact_1[nnn] = 0) then # if number 13
> ret := factorial_2(nnn);
> array_fact_1[nnn] := ret;
> else
> ret := array_fact_1[nnn];
> fi;# end if 13;
> else
> ret := factorial_2(nnn);
> fi;# end if 12;
> ret;
> end;
factorial_1 := proc(nnn)
local ret;
global ATS_MAX_TERMS, array_fact_1;
if nnn <= ATS_MAX_TERMS then
if array_fact_1[nnn] = 0 then
ret := factorial_2(nnn); array_fact_1[nnn] := ret
else ret := array_fact_1[nnn]
end if
else ret := factorial_2(nnn)
end if;
ret
end proc
# End Function number 33
# Begin Function number 34
> factorial_3 := proc(mmm,nnn)
> global ATS_MAX_TERMS,array_fact_2;
> local ret;
> if ((nnn <= ATS_MAX_TERMS) and (mmm <= ATS_MAX_TERMS)) then # if number 12
> if (array_fact_2[mmm,nnn] = 0) then # if number 13
> ret := factorial_1(mmm)/factorial_1(nnn);
> array_fact_2[mmm,nnn] := ret;
> else
> ret := array_fact_2[mmm,nnn];
> fi;# end if 13;
> else
> ret := factorial_2(mmm)/factorial_2(nnn);
> fi;# end if 12;
> ret;
> end;
factorial_3 := proc(mmm, nnn)
local ret;
global ATS_MAX_TERMS, array_fact_2;
if nnn <= ATS_MAX_TERMS and mmm <= ATS_MAX_TERMS then
if array_fact_2[mmm, nnn] = 0 then
ret := factorial_1(mmm)/factorial_1(nnn);
array_fact_2[mmm, nnn] := ret
else ret := array_fact_2[mmm, nnn]
end if
else ret := factorial_2(mmm)/factorial_2(nnn)
end if;
ret
end proc
# End Function number 34
# Begin Function number 35
> convfloat := proc(mmm)
> (mmm);
> end;
convfloat := proc(mmm) mmm end proc
# End Function number 35
# Begin Function number 36
> elapsed_time_seconds := proc()
> time();
> end;
elapsed_time_seconds := proc() time() end proc
# End Function number 36
# Begin Function number 37
> float_abs := proc(x)
> abs(x);
> end;
float_abs := proc(x) abs(x) end proc
# End Function number 37
# Begin Function number 38
> expt := proc(x,y)
> x^y;
> end;
expt := proc(x, y) x^y end proc
# End Function number 38
# Begin Function number 39
> neg := proc(x)
> -x;
> end;
neg := proc(x) -x end proc
# End Function number 39
# Begin Function number 40
> int_trunc := proc(x)
> trunc(x);
> end;
int_trunc := proc(x) trunc(x) end proc
# End Function number 40
# Begin Function number 41
> estimated_needed_step_error := proc(x_start,x_end,estimated_h,estimated_answer)
> local desired_abs_gbl_error,range,estimated_steps,step_error;
> global glob_desired_digits_correct,ALWAYS,ATS_MAX_TERMS;
> omniout_float(ALWAYS,"glob_desired_digits_correct",32,glob_desired_digits_correct,32,"");
> desired_abs_gbl_error := expt(glob__10,c( -glob_desired_digits_correct)) * c(float_abs(c(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 := (c(float_abs(desired_abs_gbl_error) /sqrt(c( estimated_steps))/c(ATS_MAX_TERMS)));
> omniout_float(ALWAYS,"step_error",32,step_error,32,"");
> (step_error);;
> end;
estimated_needed_step_error := proc(
x_start, x_end, estimated_h, estimated_answer)
local desired_abs_gbl_error, range, estimated_steps, step_error;
global glob_desired_digits_correct, ALWAYS, ATS_MAX_TERMS;
omniout_float(ALWAYS, "glob_desired_digits_correct", 32,
glob_desired_digits_correct, 32, "");
desired_abs_gbl_error :=
expt(glob__10, c(-glob_desired_digits_correct))*
c(float_abs(c(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 := c(float_abs(desired_abs_gbl_error)/(
sqrt(c(estimated_steps))*c(ATS_MAX_TERMS)));
omniout_float(ALWAYS, "step_error", 32, step_error, 32, "");
step_error
end proc
# End Function number 41
#END ATS LIBRARY BLOCK
#BEGIN USER FUNCTION BLOCK
#BEGIN BLOCK 3
#BEGIN USER DEF BLOCK
> exact_soln_y := proc(x)
> return(c(1.0) + exp(c(x)));
> end;
exact_soln_y := proc(x) return c(1.0) + exp(c(x)) end proc
> exact_soln_yp := proc(x)
> return(exp(c(x)));
> end;
exact_soln_yp := proc(x) return exp(c(x)) end proc
> exact_soln_ypp := proc(x)
> return(exp(c(x)));
> end;
exact_soln_ypp := proc(x) return exp(c(x)) end proc
#END USER DEF BLOCK
#END BLOCK 3
#END USER FUNCTION BLOCK
# before write_aux functions
# Begin Function number 2
> display_poles := proc()
> local rad_given;
> global ALWAYS,glob_display_flag,glob_larger_float, glob_large_float, glob_diff_ord_fm, glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_guess_error_ord, glob_guess_error_rc, glob_type_given_pole,array_given_rad_poles,array_given_ord_poles,array_rad_test_poles,array_ord_test_poles,glob_least_3_sing,glob_least_6_sing,glob_least_given_sing,glob_least_ratio_sing,array_x ;
> if ((glob_type_given_pole = 1) or (glob_type_given_pole = 2)) then # if number 1
> rad_given := sqrt((array_x[1] - array_given_rad_poles[1,1]) * (array_x[1] - array_given_rad_poles[1,1]) + array_given_rad_poles[1,2] * array_given_rad_poles[1,2]);
> 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," ");
> if (rad_given < glob_least_given_sing) then # if number 2
> glob_least_given_sing := rad_given;
> fi;# end if 2;
> elif
> (glob_type_given_pole = 3) then # if number 2
> omniout_str(ALWAYS,"NO POLE (given) for Equation 1");
> elif
> (glob_type_given_pole = 5) then # if number 3
> omniout_str(ALWAYS,"SOME POLE (given) for Equation 1");
> else
> omniout_str(ALWAYS,"NO INFO (given) for Equation 1");
> fi;# end if 3;
> if (array_rad_test_poles[1,1] < glob_large_float) then # if number 3
> 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 # if number 4
> glob_least_ratio_sing := array_rad_test_poles[1,1];
> fi;# end if 4;
> 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");
> fi;# end if 3;
> if ((array_rad_test_poles[1,2] > glob__small) and (array_rad_test_poles[1,2] < glob_large_float)) then # if number 3
> 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 # if number 4
> glob_least_3_sing := array_rad_test_poles[1,2];
> fi;# end if 4;
> 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");
> fi;# end if 3;
> if ((array_rad_test_poles[1,3] > glob__small) and (array_rad_test_poles[1,3] < glob_large_float)) then # if number 3
> 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 # if number 4
> glob_least_6_sing := array_rad_test_poles[1,3];
> fi;# end if 4;
> 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");
> fi;# end if 3
> ;
> end;
display_poles := proc()
local rad_given;
global ALWAYS, glob_display_flag, glob_larger_float, glob_large_float,
glob_diff_ord_fm, glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_diff_rc_fm,
glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_guess_error_ord,
glob_guess_error_rc, glob_type_given_pole, array_given_rad_poles,
array_given_ord_poles, array_rad_test_poles, array_ord_test_poles,
glob_least_3_sing, glob_least_6_sing, glob_least_given_sing,
glob_least_ratio_sing, array_x;
if glob_type_given_pole = 1 or glob_type_given_pole = 2 then
rad_given := sqrt((array_x[1] - array_given_rad_poles[1, 1])*
(array_x[1] - array_given_rad_poles[1, 1])
+ array_given_rad_poles[1, 2]*array_given_rad_poles[1, 2]);
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, " ");
if rad_given < glob_least_given_sing then
glob_least_given_sing := rad_given
end if
elif glob_type_given_pole = 3 then
omniout_str(ALWAYS, "NO POLE (given) for Equation 1")
elif glob_type_given_pole = 5 then
omniout_str(ALWAYS, "SOME POLE (given) for Equation 1")
else omniout_str(ALWAYS, "NO INFO (given) for Equation 1")
end if;
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]
end if;
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")
end if;
if glob__small < array_rad_test_poles[1, 2] 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]
end if;
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")
end if;
if glob__small < array_rad_test_poles[1, 3] 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]
end if;
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")
end if
end proc
# End Function number 2
# Begin Function number 3
> my_check_sign := proc( x0 ,xf)
> local ret;
> if (xf > x0) then # if number 3
> ret := glob__1;
> else
> ret := glob__m1;
> fi;# end if 3;
> ret;;
> end;
my_check_sign := proc(x0, xf)
local ret;
if x0 < xf then ret := glob__1 else ret := glob__m1 end if; ret
end proc
# End Function number 3
# Begin Function number 4
> est_size_answer := proc()
> global
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> glob_no_sing_tests,
> glob_ratio_test,
> glob_three_term_test,
> glob_six_term_test,
> glob_log_10,
#Top Generate Globals Decl
> MAX_UNCHANGED,
> glob__small,
> glob_small_float,
> glob_smallish_float,
> glob_large_float,
> glob_larger_float,
> glob__m2,
> glob__m1,
> glob__0,
> glob__1,
> glob__2,
> glob__3,
> glob__4,
> glob__5,
> glob__8,
> glob__10,
> glob__100,
> glob__pi,
> glob__0_5,
> glob__0_8,
> glob__m0_8,
> glob__0_25,
> glob__0_125,
> glob_prec,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_estimated_size_answer,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_disp_incr,
> glob_h,
> glob_diff_rc_fm,
> glob_diff_rc_fmm1,
> glob_diff_rc_fmm2,
> glob_diff_ord_fm,
> glob_diff_ord_fmm1,
> glob_diff_ord_fmm2,
> glob_six_term_ord_save,
> glob_guess_error_rc,
> glob_guess_error_ord,
> glob_least_given_sing,
> glob_least_ratio_sing,
> glob_least_3_sing,
> glob_least_6_sing,
> glob_last_good_h,
> glob_max_h,
> glob_min_h,
> glob_display_interval,
> glob_abserr,
> glob_relerr,
> glob_min_pole_est,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_max_hours,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_upper_ratio_limit,
> glob_lower_ratio_limit,
> glob_max_sec,
> glob_orig_start_sec,
> glob_normmax,
> glob_max_minutes,
> glob_next_display,
> glob_est_digits,
> glob_subiter_method,
> glob_html_log,
> glob_min_good_digits,
> glob_good_digits,
> glob_min_apfp_est_good_digits,
> glob_apfp_est_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_h_reason,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_type_given_pole,
> glob_optimize,
> glob_look_poles,
> glob_dump_closed_form,
> glob_max_iter,
> glob_no_eqs,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_start,
> glob_iter,
#Bottom Generate Globals Decl
#BEGIN CONST
> array_const_2,
> array_const_0D0,
> array_const_1,
#END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_1st_rel_error,
> array_last_rel_error,
> array_est_rel_error,
> array_max_est_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_est_digits,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_given_rad_poles,
> array_given_ord_poles,
> array_rad_test_poles,
> array_ord_test_poles,
> array_fact_2,
> ATS_MAX_TERMS,
> glob_last;
> local min_size;
> min_size := glob_estimated_size_answer;
> if (float_abs(array_y[1]) < min_size) then # if number 3
> min_size := float_abs(array_y[1]);
> omniout_float(ALWAYS,"min_size",32,min_size,32,"");
> fi;# end if 3;
> if (min_size < glob__1) then # if number 3
> min_size := glob__1;
> omniout_float(ALWAYS,"min_size",32,min_size,32,"");
> fi;# end if 3;
> min_size;
> end;
est_size_answer := proc()
local min_size;
global ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, glob_iolevel, glob_yes_pole,
glob_no_pole, glob_not_given, glob_no_sing_tests, glob_ratio_test,
glob_three_term_test, glob_six_term_test, glob_log_10, MAX_UNCHANGED,
glob__small, glob_small_float, glob_smallish_float, glob_large_float,
glob_larger_float, glob__m2, glob__m1, glob__0, glob__1, glob__2, glob__3,
glob__4, glob__5, glob__8, glob__10, glob__100, glob__pi, glob__0_5,
glob__0_8, glob__m0_8, glob__0_25, glob__0_125, glob_prec, glob_check_sign,
glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_total_exp_sec,
glob_optimal_expect_sec, glob_estimated_size_answer, glob_almost_1,
glob_clock_sec, glob_clock_start_sec, glob_disp_incr, glob_h,
glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_diff_ord_fm,
glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_six_term_ord_save,
glob_guess_error_rc, glob_guess_error_ord, glob_least_given_sing,
glob_least_ratio_sing, glob_least_3_sing, glob_least_6_sing,
glob_last_good_h, glob_max_h, glob_min_h, glob_display_interval,
glob_abserr, glob_relerr, glob_min_pole_est, glob_max_rel_trunc_err,
glob_max_trunc_err, glob_max_hours, glob_optimal_clock_start_sec,
glob_optimal_start, glob_upper_ratio_limit, glob_lower_ratio_limit,
glob_max_sec, glob_orig_start_sec, glob_normmax, glob_max_minutes,
glob_next_display, glob_est_digits, glob_subiter_method, glob_html_log,
glob_min_good_digits, glob_good_digits, glob_min_apfp_est_good_digits,
glob_apfp_est_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_h_reason, glob_sec_in_minute,
glob_min_in_hour, glob_hours_in_day, glob_days_in_year, glob_sec_in_hour,
glob_sec_in_day, glob_sec_in_year, glob_not_yet_finished, glob_initial_pass,
glob_not_yet_start_msg, glob_reached_optimal_h, glob_optimal_done,
glob_type_given_pole, glob_optimize, glob_look_poles, glob_dump_closed_form,
glob_max_iter, glob_no_eqs, glob_unchanged_h_cnt, glob_warned, glob_warned2,
glob_start, glob_iter, array_const_2, array_const_0D0, array_const_1,
array_y_init, array_norms, array_fact_1, array_1st_rel_error,
array_last_rel_error, array_est_rel_error, array_max_est_error,
array_type_pole, array_type_real_pole, array_type_complex_pole,
array_est_digits, array_y, array_x, array_tmp0, array_tmp1, array_tmp2,
array_m1, array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_given_rad_poles, array_given_ord_poles,
array_rad_test_poles, array_ord_test_poles, array_fact_2, ATS_MAX_TERMS,
glob_last;
min_size := glob_estimated_size_answer;
if float_abs(array_y[1]) < min_size then
min_size := float_abs(array_y[1]);
omniout_float(ALWAYS, "min_size", 32, min_size, 32, "")
end if;
if min_size < glob__1 then
min_size := glob__1;
omniout_float(ALWAYS, "min_size", 32, min_size, 32, "")
end if;
min_size
end proc
# End Function number 4
# Begin Function number 5
> test_suggested_h := proc()
> global
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> glob_no_sing_tests,
> glob_ratio_test,
> glob_three_term_test,
> glob_six_term_test,
> glob_log_10,
#Top Generate Globals Decl
> MAX_UNCHANGED,
> glob__small,
> glob_small_float,
> glob_smallish_float,
> glob_large_float,
> glob_larger_float,
> glob__m2,
> glob__m1,
> glob__0,
> glob__1,
> glob__2,
> glob__3,
> glob__4,
> glob__5,
> glob__8,
> glob__10,
> glob__100,
> glob__pi,
> glob__0_5,
> glob__0_8,
> glob__m0_8,
> glob__0_25,
> glob__0_125,
> glob_prec,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_estimated_size_answer,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_disp_incr,
> glob_h,
> glob_diff_rc_fm,
> glob_diff_rc_fmm1,
> glob_diff_rc_fmm2,
> glob_diff_ord_fm,
> glob_diff_ord_fmm1,
> glob_diff_ord_fmm2,
> glob_six_term_ord_save,
> glob_guess_error_rc,
> glob_guess_error_ord,
> glob_least_given_sing,
> glob_least_ratio_sing,
> glob_least_3_sing,
> glob_least_6_sing,
> glob_last_good_h,
> glob_max_h,
> glob_min_h,
> glob_display_interval,
> glob_abserr,
> glob_relerr,
> glob_min_pole_est,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_max_hours,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_upper_ratio_limit,
> glob_lower_ratio_limit,
> glob_max_sec,
> glob_orig_start_sec,
> glob_normmax,
> glob_max_minutes,
> glob_next_display,
> glob_est_digits,
> glob_subiter_method,
> glob_html_log,
> glob_min_good_digits,
> glob_good_digits,
> glob_min_apfp_est_good_digits,
> glob_apfp_est_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_h_reason,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_type_given_pole,
> glob_optimize,
> glob_look_poles,
> glob_dump_closed_form,
> glob_max_iter,
> glob_no_eqs,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_start,
> glob_iter,
#Bottom Generate Globals Decl
#BEGIN CONST
> array_const_2,
> array_const_0D0,
> array_const_1,
#END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_1st_rel_error,
> array_last_rel_error,
> array_est_rel_error,
> array_max_est_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_est_digits,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_given_rad_poles,
> array_given_ord_poles,
> array_rad_test_poles,
> array_ord_test_poles,
> array_fact_2,
> ATS_MAX_TERMS,
> glob_last;
> local max_estimated_step_error,hn_div_ho,hn_div_ho_2,hn_div_ho_3,no_terms,est_tmp;
> max_estimated_step_error := glob__small;
> no_terms := ATS_MAX_TERMS;
> hn_div_ho := glob__0_5;
> hn_div_ho_2 := glob__0_25;
> hn_div_ho_3 := glob__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 := float_abs(array_y[no_terms-3] + array_y[no_terms - 2] * hn_div_ho + array_y[no_terms - 1] * hn_div_ho_2 + array_y[no_terms] * hn_div_ho_3);
> if (est_tmp >= max_estimated_step_error) then # if number 3
> max_estimated_step_error := est_tmp;
> fi;# end if 3;
> omniout_float(ALWAYS,"max_estimated_step_error",32,max_estimated_step_error,32,"");
> max_estimated_step_error;
> end;
test_suggested_h := proc()
local max_estimated_step_error, hn_div_ho, hn_div_ho_2, hn_div_ho_3,
no_terms, est_tmp;
global ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, glob_iolevel, glob_yes_pole,
glob_no_pole, glob_not_given, glob_no_sing_tests, glob_ratio_test,
glob_three_term_test, glob_six_term_test, glob_log_10, MAX_UNCHANGED,
glob__small, glob_small_float, glob_smallish_float, glob_large_float,
glob_larger_float, glob__m2, glob__m1, glob__0, glob__1, glob__2, glob__3,
glob__4, glob__5, glob__8, glob__10, glob__100, glob__pi, glob__0_5,
glob__0_8, glob__m0_8, glob__0_25, glob__0_125, glob_prec, glob_check_sign,
glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_total_exp_sec,
glob_optimal_expect_sec, glob_estimated_size_answer, glob_almost_1,
glob_clock_sec, glob_clock_start_sec, glob_disp_incr, glob_h,
glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_diff_ord_fm,
glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_six_term_ord_save,
glob_guess_error_rc, glob_guess_error_ord, glob_least_given_sing,
glob_least_ratio_sing, glob_least_3_sing, glob_least_6_sing,
glob_last_good_h, glob_max_h, glob_min_h, glob_display_interval,
glob_abserr, glob_relerr, glob_min_pole_est, glob_max_rel_trunc_err,
glob_max_trunc_err, glob_max_hours, glob_optimal_clock_start_sec,
glob_optimal_start, glob_upper_ratio_limit, glob_lower_ratio_limit,
glob_max_sec, glob_orig_start_sec, glob_normmax, glob_max_minutes,
glob_next_display, glob_est_digits, glob_subiter_method, glob_html_log,
glob_min_good_digits, glob_good_digits, glob_min_apfp_est_good_digits,
glob_apfp_est_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_h_reason, glob_sec_in_minute,
glob_min_in_hour, glob_hours_in_day, glob_days_in_year, glob_sec_in_hour,
glob_sec_in_day, glob_sec_in_year, glob_not_yet_finished, glob_initial_pass,
glob_not_yet_start_msg, glob_reached_optimal_h, glob_optimal_done,
glob_type_given_pole, glob_optimize, glob_look_poles, glob_dump_closed_form,
glob_max_iter, glob_no_eqs, glob_unchanged_h_cnt, glob_warned, glob_warned2,
glob_start, glob_iter, array_const_2, array_const_0D0, array_const_1,
array_y_init, array_norms, array_fact_1, array_1st_rel_error,
array_last_rel_error, array_est_rel_error, array_max_est_error,
array_type_pole, array_type_real_pole, array_type_complex_pole,
array_est_digits, array_y, array_x, array_tmp0, array_tmp1, array_tmp2,
array_m1, array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_given_rad_poles, array_given_ord_poles,
array_rad_test_poles, array_ord_test_poles, array_fact_2, ATS_MAX_TERMS,
glob_last;
max_estimated_step_error := glob__small;
no_terms := ATS_MAX_TERMS;
hn_div_ho := glob__0_5;
hn_div_ho_2 := glob__0_25;
hn_div_ho_3 := glob__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 := float_abs(array_y[no_terms - 3]
+ array_y[no_terms - 2]*hn_div_ho
+ array_y[no_terms - 1]*hn_div_ho_2
+ array_y[no_terms]*hn_div_ho_3);
if max_estimated_step_error <= est_tmp then
max_estimated_step_error := est_tmp
end if;
omniout_float(ALWAYS, "max_estimated_step_error", 32,
max_estimated_step_error, 32, "");
max_estimated_step_error
end proc
# End Function number 5
# Begin Function number 6
> track_estimated_error := proc()
> global
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> glob_no_sing_tests,
> glob_ratio_test,
> glob_three_term_test,
> glob_six_term_test,
> glob_log_10,
#Top Generate Globals Decl
> MAX_UNCHANGED,
> glob__small,
> glob_small_float,
> glob_smallish_float,
> glob_large_float,
> glob_larger_float,
> glob__m2,
> glob__m1,
> glob__0,
> glob__1,
> glob__2,
> glob__3,
> glob__4,
> glob__5,
> glob__8,
> glob__10,
> glob__100,
> glob__pi,
> glob__0_5,
> glob__0_8,
> glob__m0_8,
> glob__0_25,
> glob__0_125,
> glob_prec,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_estimated_size_answer,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_disp_incr,
> glob_h,
> glob_diff_rc_fm,
> glob_diff_rc_fmm1,
> glob_diff_rc_fmm2,
> glob_diff_ord_fm,
> glob_diff_ord_fmm1,
> glob_diff_ord_fmm2,
> glob_six_term_ord_save,
> glob_guess_error_rc,
> glob_guess_error_ord,
> glob_least_given_sing,
> glob_least_ratio_sing,
> glob_least_3_sing,
> glob_least_6_sing,
> glob_last_good_h,
> glob_max_h,
> glob_min_h,
> glob_display_interval,
> glob_abserr,
> glob_relerr,
> glob_min_pole_est,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_max_hours,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_upper_ratio_limit,
> glob_lower_ratio_limit,
> glob_max_sec,
> glob_orig_start_sec,
> glob_normmax,
> glob_max_minutes,
> glob_next_display,
> glob_est_digits,
> glob_subiter_method,
> glob_html_log,
> glob_min_good_digits,
> glob_good_digits,
> glob_min_apfp_est_good_digits,
> glob_apfp_est_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_h_reason,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_type_given_pole,
> glob_optimize,
> glob_look_poles,
> glob_dump_closed_form,
> glob_max_iter,
> glob_no_eqs,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_start,
> glob_iter,
#Bottom Generate Globals Decl
#BEGIN CONST
> array_const_2,
> array_const_0D0,
> array_const_1,
#END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_1st_rel_error,
> array_last_rel_error,
> array_est_rel_error,
> array_max_est_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_est_digits,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_given_rad_poles,
> array_given_ord_poles,
> array_rad_test_poles,
> array_ord_test_poles,
> array_fact_2,
> ATS_MAX_TERMS,
> glob_last;
> local hn_div_ho,hn_div_ho_2,hn_div_ho_3,no_terms,est_tmp;
> no_terms := ATS_MAX_TERMS;
> hn_div_ho := glob__0_5;
> hn_div_ho_2 := glob__0_25;
> hn_div_ho_3 := glob__0_125;
> est_tmp := c(float_abs(array_y[no_terms-3])) + c(float_abs(array_y[no_terms - 2])) * c(hn_div_ho) + c(float_abs(array_y[no_terms - 1])) * c(hn_div_ho_2) + c(float_abs(array_y[no_terms])) * c(hn_div_ho_3);
> if (glob_prec * c(float_abs(array_y[1])) > c(est_tmp)) then # if number 3
> est_tmp := c(glob_prec) * c(float_abs(array_y[1]));
> fi;# end if 3;
> if (c(est_tmp) >= c(array_max_est_error[1])) then # if number 3
> array_max_est_error[1] := c(est_tmp);
> fi;# end if 3
> ;
> end;
track_estimated_error := proc()
local hn_div_ho, hn_div_ho_2, hn_div_ho_3, no_terms, est_tmp;
global ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, glob_iolevel, glob_yes_pole,
glob_no_pole, glob_not_given, glob_no_sing_tests, glob_ratio_test,
glob_three_term_test, glob_six_term_test, glob_log_10, MAX_UNCHANGED,
glob__small, glob_small_float, glob_smallish_float, glob_large_float,
glob_larger_float, glob__m2, glob__m1, glob__0, glob__1, glob__2, glob__3,
glob__4, glob__5, glob__8, glob__10, glob__100, glob__pi, glob__0_5,
glob__0_8, glob__m0_8, glob__0_25, glob__0_125, glob_prec, glob_check_sign,
glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_total_exp_sec,
glob_optimal_expect_sec, glob_estimated_size_answer, glob_almost_1,
glob_clock_sec, glob_clock_start_sec, glob_disp_incr, glob_h,
glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_diff_ord_fm,
glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_six_term_ord_save,
glob_guess_error_rc, glob_guess_error_ord, glob_least_given_sing,
glob_least_ratio_sing, glob_least_3_sing, glob_least_6_sing,
glob_last_good_h, glob_max_h, glob_min_h, glob_display_interval,
glob_abserr, glob_relerr, glob_min_pole_est, glob_max_rel_trunc_err,
glob_max_trunc_err, glob_max_hours, glob_optimal_clock_start_sec,
glob_optimal_start, glob_upper_ratio_limit, glob_lower_ratio_limit,
glob_max_sec, glob_orig_start_sec, glob_normmax, glob_max_minutes,
glob_next_display, glob_est_digits, glob_subiter_method, glob_html_log,
glob_min_good_digits, glob_good_digits, glob_min_apfp_est_good_digits,
glob_apfp_est_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_h_reason, glob_sec_in_minute,
glob_min_in_hour, glob_hours_in_day, glob_days_in_year, glob_sec_in_hour,
glob_sec_in_day, glob_sec_in_year, glob_not_yet_finished, glob_initial_pass,
glob_not_yet_start_msg, glob_reached_optimal_h, glob_optimal_done,
glob_type_given_pole, glob_optimize, glob_look_poles, glob_dump_closed_form,
glob_max_iter, glob_no_eqs, glob_unchanged_h_cnt, glob_warned, glob_warned2,
glob_start, glob_iter, array_const_2, array_const_0D0, array_const_1,
array_y_init, array_norms, array_fact_1, array_1st_rel_error,
array_last_rel_error, array_est_rel_error, array_max_est_error,
array_type_pole, array_type_real_pole, array_type_complex_pole,
array_est_digits, array_y, array_x, array_tmp0, array_tmp1, array_tmp2,
array_m1, array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_given_rad_poles, array_given_ord_poles,
array_rad_test_poles, array_ord_test_poles, array_fact_2, ATS_MAX_TERMS,
glob_last;
no_terms := ATS_MAX_TERMS;
hn_div_ho := glob__0_5;
hn_div_ho_2 := glob__0_25;
hn_div_ho_3 := glob__0_125;
est_tmp := c(float_abs(array_y[no_terms - 3]))
+ c(float_abs(array_y[no_terms - 2]))*c(hn_div_ho)
+ c(float_abs(array_y[no_terms - 1]))*c(hn_div_ho_2)
+ c(float_abs(array_y[no_terms]))*c(hn_div_ho_3);
if c(est_tmp) < glob_prec*c(float_abs(array_y[1])) then
est_tmp := c(glob_prec)*c(float_abs(array_y[1]))
end if;
if c(array_max_est_error[1]) <= c(est_tmp) then
array_max_est_error[1] := c(est_tmp)
end if
end proc
# End Function number 6
# Begin Function number 7
> reached_interval := proc()
> global
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> glob_no_sing_tests,
> glob_ratio_test,
> glob_three_term_test,
> glob_six_term_test,
> glob_log_10,
#Top Generate Globals Decl
> MAX_UNCHANGED,
> glob__small,
> glob_small_float,
> glob_smallish_float,
> glob_large_float,
> glob_larger_float,
> glob__m2,
> glob__m1,
> glob__0,
> glob__1,
> glob__2,
> glob__3,
> glob__4,
> glob__5,
> glob__8,
> glob__10,
> glob__100,
> glob__pi,
> glob__0_5,
> glob__0_8,
> glob__m0_8,
> glob__0_25,
> glob__0_125,
> glob_prec,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_estimated_size_answer,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_disp_incr,
> glob_h,
> glob_diff_rc_fm,
> glob_diff_rc_fmm1,
> glob_diff_rc_fmm2,
> glob_diff_ord_fm,
> glob_diff_ord_fmm1,
> glob_diff_ord_fmm2,
> glob_six_term_ord_save,
> glob_guess_error_rc,
> glob_guess_error_ord,
> glob_least_given_sing,
> glob_least_ratio_sing,
> glob_least_3_sing,
> glob_least_6_sing,
> glob_last_good_h,
> glob_max_h,
> glob_min_h,
> glob_display_interval,
> glob_abserr,
> glob_relerr,
> glob_min_pole_est,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_max_hours,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_upper_ratio_limit,
> glob_lower_ratio_limit,
> glob_max_sec,
> glob_orig_start_sec,
> glob_normmax,
> glob_max_minutes,
> glob_next_display,
> glob_est_digits,
> glob_subiter_method,
> glob_html_log,
> glob_min_good_digits,
> glob_good_digits,
> glob_min_apfp_est_good_digits,
> glob_apfp_est_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_h_reason,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_type_given_pole,
> glob_optimize,
> glob_look_poles,
> glob_dump_closed_form,
> glob_max_iter,
> glob_no_eqs,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_start,
> glob_iter,
#Bottom Generate Globals Decl
#BEGIN CONST
> array_const_2,
> array_const_0D0,
> array_const_1,
#END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_1st_rel_error,
> array_last_rel_error,
> array_est_rel_error,
> array_max_est_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_est_digits,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_given_rad_poles,
> array_given_ord_poles,
> array_rad_test_poles,
> array_ord_test_poles,
> array_fact_2,
> ATS_MAX_TERMS,
> glob_last;
> local ret;
> if ((glob_check_sign * array_x[1]) >= (glob_check_sign * glob_next_display - glob_h/glob__10)) then # if number 3
> ret := true;
> else
> ret := false;
> fi;# end if 3;
> return(ret);
> end;
reached_interval := proc()
local ret;
global ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, glob_iolevel, glob_yes_pole,
glob_no_pole, glob_not_given, glob_no_sing_tests, glob_ratio_test,
glob_three_term_test, glob_six_term_test, glob_log_10, MAX_UNCHANGED,
glob__small, glob_small_float, glob_smallish_float, glob_large_float,
glob_larger_float, glob__m2, glob__m1, glob__0, glob__1, glob__2, glob__3,
glob__4, glob__5, glob__8, glob__10, glob__100, glob__pi, glob__0_5,
glob__0_8, glob__m0_8, glob__0_25, glob__0_125, glob_prec, glob_check_sign,
glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_total_exp_sec,
glob_optimal_expect_sec, glob_estimated_size_answer, glob_almost_1,
glob_clock_sec, glob_clock_start_sec, glob_disp_incr, glob_h,
glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_diff_ord_fm,
glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_six_term_ord_save,
glob_guess_error_rc, glob_guess_error_ord, glob_least_given_sing,
glob_least_ratio_sing, glob_least_3_sing, glob_least_6_sing,
glob_last_good_h, glob_max_h, glob_min_h, glob_display_interval,
glob_abserr, glob_relerr, glob_min_pole_est, glob_max_rel_trunc_err,
glob_max_trunc_err, glob_max_hours, glob_optimal_clock_start_sec,
glob_optimal_start, glob_upper_ratio_limit, glob_lower_ratio_limit,
glob_max_sec, glob_orig_start_sec, glob_normmax, glob_max_minutes,
glob_next_display, glob_est_digits, glob_subiter_method, glob_html_log,
glob_min_good_digits, glob_good_digits, glob_min_apfp_est_good_digits,
glob_apfp_est_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_h_reason, glob_sec_in_minute,
glob_min_in_hour, glob_hours_in_day, glob_days_in_year, glob_sec_in_hour,
glob_sec_in_day, glob_sec_in_year, glob_not_yet_finished, glob_initial_pass,
glob_not_yet_start_msg, glob_reached_optimal_h, glob_optimal_done,
glob_type_given_pole, glob_optimize, glob_look_poles, glob_dump_closed_form,
glob_max_iter, glob_no_eqs, glob_unchanged_h_cnt, glob_warned, glob_warned2,
glob_start, glob_iter, array_const_2, array_const_0D0, array_const_1,
array_y_init, array_norms, array_fact_1, array_1st_rel_error,
array_last_rel_error, array_est_rel_error, array_max_est_error,
array_type_pole, array_type_real_pole, array_type_complex_pole,
array_est_digits, array_y, array_x, array_tmp0, array_tmp1, array_tmp2,
array_m1, array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_given_rad_poles, array_given_ord_poles,
array_rad_test_poles, array_ord_test_poles, array_fact_2, ATS_MAX_TERMS,
glob_last;
if glob_check_sign*glob_next_display - glob_h/glob__10 <=
glob_check_sign*array_x[1] then ret := true
else ret := false
end if;
return ret
end proc
# End Function number 7
# Begin Function number 8
> display_alot := proc(iter)
> global
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> glob_no_sing_tests,
> glob_ratio_test,
> glob_three_term_test,
> glob_six_term_test,
> glob_log_10,
#Top Generate Globals Decl
> MAX_UNCHANGED,
> glob__small,
> glob_small_float,
> glob_smallish_float,
> glob_large_float,
> glob_larger_float,
> glob__m2,
> glob__m1,
> glob__0,
> glob__1,
> glob__2,
> glob__3,
> glob__4,
> glob__5,
> glob__8,
> glob__10,
> glob__100,
> glob__pi,
> glob__0_5,
> glob__0_8,
> glob__m0_8,
> glob__0_25,
> glob__0_125,
> glob_prec,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_estimated_size_answer,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_disp_incr,
> glob_h,
> glob_diff_rc_fm,
> glob_diff_rc_fmm1,
> glob_diff_rc_fmm2,
> glob_diff_ord_fm,
> glob_diff_ord_fmm1,
> glob_diff_ord_fmm2,
> glob_six_term_ord_save,
> glob_guess_error_rc,
> glob_guess_error_ord,
> glob_least_given_sing,
> glob_least_ratio_sing,
> glob_least_3_sing,
> glob_least_6_sing,
> glob_last_good_h,
> glob_max_h,
> glob_min_h,
> glob_display_interval,
> glob_abserr,
> glob_relerr,
> glob_min_pole_est,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_max_hours,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_upper_ratio_limit,
> glob_lower_ratio_limit,
> glob_max_sec,
> glob_orig_start_sec,
> glob_normmax,
> glob_max_minutes,
> glob_next_display,
> glob_est_digits,
> glob_subiter_method,
> glob_html_log,
> glob_min_good_digits,
> glob_good_digits,
> glob_min_apfp_est_good_digits,
> glob_apfp_est_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_h_reason,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_type_given_pole,
> glob_optimize,
> glob_look_poles,
> glob_dump_closed_form,
> glob_max_iter,
> glob_no_eqs,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_start,
> glob_iter,
#Bottom Generate Globals Decl
#BEGIN CONST
> array_const_2,
> array_const_0D0,
> array_const_1,
#END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_1st_rel_error,
> array_last_rel_error,
> array_est_rel_error,
> array_max_est_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_est_digits,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_given_rad_poles,
> array_given_ord_poles,
> array_rad_test_poles,
> array_ord_test_poles,
> array_fact_2,
> ATS_MAX_TERMS,
> glob_last;
> local abserr, closed_form_val_y, ind_var, numeric_val, relerr, term_no, est_rel_err;
> #TOP DISPLAY ALOT
> if (reached_interval()) then # if number 3
> if (iter >= 0) then # if number 4
> ind_var := array_x[1];
> omniout_float(ALWAYS,"x[1] ",33,ind_var,20," ");
> closed_form_val_y := evalf(exact_soln_y(ind_var));
> omniout_float(ALWAYS,"y[1] (closed_form) ",33,closed_form_val_y,20," ");
> term_no := 1;
> numeric_val := array_y[term_no];
> abserr := float_abs(numeric_val - closed_form_val_y);
> omniout_float(ALWAYS,"y[1] (numeric) ",33,numeric_val,20," ");
> if (c(float_abs(closed_form_val_y)) > c(glob_prec)) then # if number 5
> relerr := abserr*glob__100/float_abs(closed_form_val_y);
> if (c(relerr) > c(glob_prec)) then # if number 6
> glob_good_digits := -int_trunc(log10(c(relerr))) + 3;
> else
> glob_good_digits := Digits;
> fi;# end if 6;
> else
> relerr := glob__m1 ;
> glob_good_digits := -16;
> fi;# end if 5;
> if (glob_good_digits < glob_min_good_digits) then # if number 5
> glob_min_good_digits := glob_good_digits;
> fi;# end if 5;
> if (glob_apfp_est_good_digits < glob_min_apfp_est_good_digits) then # if number 5
> glob_min_apfp_est_good_digits := glob_apfp_est_good_digits;
> fi;# end if 5;
> if (evalf(float_abs(numeric_val)) > glob_prec) then # if number 5
> est_rel_err := evalf(array_max_est_error[1]*100.0 * sqrt(glob_iter)*21*ATS_MAX_TERMS/float_abs(numeric_val));
> if (evalf(est_rel_err) > glob_prec) then # if number 6
> glob_est_digits := -int_trunc(log10(est_rel_err)) + 3;
> else
> glob_est_digits := Digits;
> fi;# end if 6;
> else
> relerr := glob__m1 ;
> glob_est_digits := -16;
> fi;# end if 5;
> array_est_digits[1] := glob_est_digits;
> if (glob_iter = 1) then # if number 5
> array_1st_rel_error[1] := relerr;
> else
> array_last_rel_error[1] := relerr;
> fi;# end if 5;
> array_est_rel_error[1] := est_rel_err;
> omniout_float(ALWAYS,"absolute error ",4,abserr,20," ");
> omniout_float(ALWAYS,"relative error ",4,relerr,20,"%");
> omniout_int(INFO,"Desired digits ",32,glob_desired_digits_correct,4," ");
> omniout_int(INFO,"Estimated correct digits ",32,glob_est_digits,4," ");
> omniout_int(INFO,"Correct digits ",32,glob_good_digits,4," ")
> ;
> omniout_float(ALWAYS,"h ",4,glob_h,20," ");
> fi;# end if 4;
> #BOTTOM DISPLAY ALOT
> fi;# end if 3;
> end;
display_alot := proc(iter)
local abserr, closed_form_val_y, ind_var, numeric_val, relerr, term_no,
est_rel_err;
global ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, glob_iolevel, glob_yes_pole,
glob_no_pole, glob_not_given, glob_no_sing_tests, glob_ratio_test,
glob_three_term_test, glob_six_term_test, glob_log_10, MAX_UNCHANGED,
glob__small, glob_small_float, glob_smallish_float, glob_large_float,
glob_larger_float, glob__m2, glob__m1, glob__0, glob__1, glob__2, glob__3,
glob__4, glob__5, glob__8, glob__10, glob__100, glob__pi, glob__0_5,
glob__0_8, glob__m0_8, glob__0_25, glob__0_125, glob_prec, glob_check_sign,
glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_total_exp_sec,
glob_optimal_expect_sec, glob_estimated_size_answer, glob_almost_1,
glob_clock_sec, glob_clock_start_sec, glob_disp_incr, glob_h,
glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_diff_ord_fm,
glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_six_term_ord_save,
glob_guess_error_rc, glob_guess_error_ord, glob_least_given_sing,
glob_least_ratio_sing, glob_least_3_sing, glob_least_6_sing,
glob_last_good_h, glob_max_h, glob_min_h, glob_display_interval,
glob_abserr, glob_relerr, glob_min_pole_est, glob_max_rel_trunc_err,
glob_max_trunc_err, glob_max_hours, glob_optimal_clock_start_sec,
glob_optimal_start, glob_upper_ratio_limit, glob_lower_ratio_limit,
glob_max_sec, glob_orig_start_sec, glob_normmax, glob_max_minutes,
glob_next_display, glob_est_digits, glob_subiter_method, glob_html_log,
glob_min_good_digits, glob_good_digits, glob_min_apfp_est_good_digits,
glob_apfp_est_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_h_reason, glob_sec_in_minute,
glob_min_in_hour, glob_hours_in_day, glob_days_in_year, glob_sec_in_hour,
glob_sec_in_day, glob_sec_in_year, glob_not_yet_finished, glob_initial_pass,
glob_not_yet_start_msg, glob_reached_optimal_h, glob_optimal_done,
glob_type_given_pole, glob_optimize, glob_look_poles, glob_dump_closed_form,
glob_max_iter, glob_no_eqs, glob_unchanged_h_cnt, glob_warned, glob_warned2,
glob_start, glob_iter, array_const_2, array_const_0D0, array_const_1,
array_y_init, array_norms, array_fact_1, array_1st_rel_error,
array_last_rel_error, array_est_rel_error, array_max_est_error,
array_type_pole, array_type_real_pole, array_type_complex_pole,
array_est_digits, array_y, array_x, array_tmp0, array_tmp1, array_tmp2,
array_m1, array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_given_rad_poles, array_given_ord_poles,
array_rad_test_poles, array_ord_test_poles, array_fact_2, ATS_MAX_TERMS,
glob_last;
if reached_interval() then
if 0 <= iter then
ind_var := array_x[1];
omniout_float(ALWAYS, "x[1] ", 33,
ind_var, 20, " ");
closed_form_val_y := evalf(exact_soln_y(ind_var));
omniout_float(ALWAYS, "y[1] (closed_form) ", 33,
closed_form_val_y, 20, " ");
term_no := 1;
numeric_val := array_y[term_no];
abserr := float_abs(numeric_val - closed_form_val_y);
omniout_float(ALWAYS, "y[1] (numeric) ", 33,
numeric_val, 20, " ");
if c(glob_prec) < c(float_abs(closed_form_val_y)) then
relerr := abserr*glob__100/float_abs(closed_form_val_y);
if c(glob_prec) < c(relerr) then
glob_good_digits := -int_trunc(log10(c(relerr))) + 3
else glob_good_digits := Digits
end if
else relerr := glob__m1; glob_good_digits := -16
end if;
if glob_good_digits < glob_min_good_digits then
glob_min_good_digits := glob_good_digits
end if;
if glob_apfp_est_good_digits < glob_min_apfp_est_good_digits
then glob_min_apfp_est_good_digits := glob_apfp_est_good_digits
end if;
if glob_prec < evalf(float_abs(numeric_val)) then
est_rel_err := evalf(array_max_est_error[1]*100.0*
sqrt(glob_iter)*21*ATS_MAX_TERMS/float_abs(numeric_val))
;
if glob_prec < evalf(est_rel_err) then
glob_est_digits := -int_trunc(log10(est_rel_err)) + 3
else glob_est_digits := Digits
end if
else relerr := glob__m1; glob_est_digits := -16
end if;
array_est_digits[1] := glob_est_digits;
if glob_iter = 1 then array_1st_rel_error[1] := relerr
else array_last_rel_error[1] := relerr
end if;
array_est_rel_error[1] := est_rel_err;
omniout_float(ALWAYS, "absolute error ", 4,
abserr, 20, " ");
omniout_float(ALWAYS, "relative error ", 4,
relerr, 20, "%");
omniout_int(INFO, "Desired digits ", 32,
glob_desired_digits_correct, 4, " ");
omniout_int(INFO, "Estimated correct digits ", 32,
glob_est_digits, 4, " ");
omniout_int(INFO, "Correct digits ", 32,
glob_good_digits, 4, " ");
omniout_float(ALWAYS, "h ", 4,
glob_h, 20, " ")
end if
end if
end proc
# End Function number 8
# Begin Function number 9
> prog_report := proc(x_start,x_end)
> global
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> glob_no_sing_tests,
> glob_ratio_test,
> glob_three_term_test,
> glob_six_term_test,
> glob_log_10,
#Top Generate Globals Decl
> MAX_UNCHANGED,
> glob__small,
> glob_small_float,
> glob_smallish_float,
> glob_large_float,
> glob_larger_float,
> glob__m2,
> glob__m1,
> glob__0,
> glob__1,
> glob__2,
> glob__3,
> glob__4,
> glob__5,
> glob__8,
> glob__10,
> glob__100,
> glob__pi,
> glob__0_5,
> glob__0_8,
> glob__m0_8,
> glob__0_25,
> glob__0_125,
> glob_prec,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_estimated_size_answer,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_disp_incr,
> glob_h,
> glob_diff_rc_fm,
> glob_diff_rc_fmm1,
> glob_diff_rc_fmm2,
> glob_diff_ord_fm,
> glob_diff_ord_fmm1,
> glob_diff_ord_fmm2,
> glob_six_term_ord_save,
> glob_guess_error_rc,
> glob_guess_error_ord,
> glob_least_given_sing,
> glob_least_ratio_sing,
> glob_least_3_sing,
> glob_least_6_sing,
> glob_last_good_h,
> glob_max_h,
> glob_min_h,
> glob_display_interval,
> glob_abserr,
> glob_relerr,
> glob_min_pole_est,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_max_hours,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_upper_ratio_limit,
> glob_lower_ratio_limit,
> glob_max_sec,
> glob_orig_start_sec,
> glob_normmax,
> glob_max_minutes,
> glob_next_display,
> glob_est_digits,
> glob_subiter_method,
> glob_html_log,
> glob_min_good_digits,
> glob_good_digits,
> glob_min_apfp_est_good_digits,
> glob_apfp_est_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_h_reason,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_type_given_pole,
> glob_optimize,
> glob_look_poles,
> glob_dump_closed_form,
> glob_max_iter,
> glob_no_eqs,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_start,
> glob_iter,
#Bottom Generate Globals Decl
#BEGIN CONST
> array_const_2,
> array_const_0D0,
> array_const_1,
#END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_1st_rel_error,
> array_last_rel_error,
> array_est_rel_error,
> array_max_est_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_est_digits,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_given_rad_poles,
> array_given_ord_poles,
> array_rad_test_poles,
> array_ord_test_poles,
> array_fact_2,
> ATS_MAX_TERMS,
> glob_last;
> local clock_sec, opt_clock_sec, clock_sec1, expect_sec, left_sec, percent_done, total_clock_sec;
> #TOP PROGRESS REPORT
> clock_sec1 := elapsed_time_seconds();
> total_clock_sec := (clock_sec1) - (glob_orig_start_sec);
> glob_clock_sec := (clock_sec1) - (glob_clock_start_sec);
> left_sec := (glob_max_sec) + (glob_orig_start_sec) - (clock_sec1);
> expect_sec := comp_expect_sec((x_end),(x_start),(array_x[1]) + (glob_h) ,( 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),(array_x[1]) +( glob_h) ,( opt_clock_sec));
> glob_total_exp_sec := glob_optimal_expect_sec + c(total_clock_sec);
> percent_done := comp_percent((x_end),(x_start),(array_x[1]) + (glob_h));
> 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 (c(percent_done) < glob__100) then # if number 3
> 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));
> fi;# end if 3;
> omniout_str_noeol(INFO,"Time to Timeout ");
> omniout_timestr((left_sec));
> omniout_float(INFO, "Percent Done ",33,percent_done,4,"%");
> #BOTTOM PROGRESS REPORT
> end;
prog_report := proc(x_start, x_end)
local clock_sec, opt_clock_sec, clock_sec1, expect_sec, left_sec,
percent_done, total_clock_sec;
global ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, glob_iolevel, glob_yes_pole,
glob_no_pole, glob_not_given, glob_no_sing_tests, glob_ratio_test,
glob_three_term_test, glob_six_term_test, glob_log_10, MAX_UNCHANGED,
glob__small, glob_small_float, glob_smallish_float, glob_large_float,
glob_larger_float, glob__m2, glob__m1, glob__0, glob__1, glob__2, glob__3,
glob__4, glob__5, glob__8, glob__10, glob__100, glob__pi, glob__0_5,
glob__0_8, glob__m0_8, glob__0_25, glob__0_125, glob_prec, glob_check_sign,
glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_total_exp_sec,
glob_optimal_expect_sec, glob_estimated_size_answer, glob_almost_1,
glob_clock_sec, glob_clock_start_sec, glob_disp_incr, glob_h,
glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_diff_ord_fm,
glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_six_term_ord_save,
glob_guess_error_rc, glob_guess_error_ord, glob_least_given_sing,
glob_least_ratio_sing, glob_least_3_sing, glob_least_6_sing,
glob_last_good_h, glob_max_h, glob_min_h, glob_display_interval,
glob_abserr, glob_relerr, glob_min_pole_est, glob_max_rel_trunc_err,
glob_max_trunc_err, glob_max_hours, glob_optimal_clock_start_sec,
glob_optimal_start, glob_upper_ratio_limit, glob_lower_ratio_limit,
glob_max_sec, glob_orig_start_sec, glob_normmax, glob_max_minutes,
glob_next_display, glob_est_digits, glob_subiter_method, glob_html_log,
glob_min_good_digits, glob_good_digits, glob_min_apfp_est_good_digits,
glob_apfp_est_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_h_reason, glob_sec_in_minute,
glob_min_in_hour, glob_hours_in_day, glob_days_in_year, glob_sec_in_hour,
glob_sec_in_day, glob_sec_in_year, glob_not_yet_finished, glob_initial_pass,
glob_not_yet_start_msg, glob_reached_optimal_h, glob_optimal_done,
glob_type_given_pole, glob_optimize, glob_look_poles, glob_dump_closed_form,
glob_max_iter, glob_no_eqs, glob_unchanged_h_cnt, glob_warned, glob_warned2,
glob_start, glob_iter, array_const_2, array_const_0D0, array_const_1,
array_y_init, array_norms, array_fact_1, array_1st_rel_error,
array_last_rel_error, array_est_rel_error, array_max_est_error,
array_type_pole, array_type_real_pole, array_type_complex_pole,
array_est_digits, array_y, array_x, array_tmp0, array_tmp1, array_tmp2,
array_m1, array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_given_rad_poles, array_given_ord_poles,
array_rad_test_poles, array_ord_test_poles, array_fact_2, ATS_MAX_TERMS,
glob_last;
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 := glob_max_sec + glob_orig_start_sec - clock_sec1;
expect_sec := comp_expect_sec(x_end, x_start, array_x[1] + glob_h,
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, array_x[1] + glob_h, opt_clock_sec)
;
glob_total_exp_sec := glob_optimal_expect_sec + c(total_clock_sec);
percent_done := comp_percent(x_end, x_start, array_x[1] + glob_h);
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 c(percent_done) < glob__100 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)
end if;
omniout_str_noeol(INFO, "Time to Timeout ");
omniout_timestr(left_sec);
omniout_float(INFO, "Percent Done ", 33,
percent_done, 4, "%")
end proc
# End Function number 9
# Begin Function number 10
> check_for_pole := proc()
> global
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> glob_no_sing_tests,
> glob_ratio_test,
> glob_three_term_test,
> glob_six_term_test,
> glob_log_10,
#Top Generate Globals Decl
> MAX_UNCHANGED,
> glob__small,
> glob_small_float,
> glob_smallish_float,
> glob_large_float,
> glob_larger_float,
> glob__m2,
> glob__m1,
> glob__0,
> glob__1,
> glob__2,
> glob__3,
> glob__4,
> glob__5,
> glob__8,
> glob__10,
> glob__100,
> glob__pi,
> glob__0_5,
> glob__0_8,
> glob__m0_8,
> glob__0_25,
> glob__0_125,
> glob_prec,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_estimated_size_answer,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_disp_incr,
> glob_h,
> glob_diff_rc_fm,
> glob_diff_rc_fmm1,
> glob_diff_rc_fmm2,
> glob_diff_ord_fm,
> glob_diff_ord_fmm1,
> glob_diff_ord_fmm2,
> glob_six_term_ord_save,
> glob_guess_error_rc,
> glob_guess_error_ord,
> glob_least_given_sing,
> glob_least_ratio_sing,
> glob_least_3_sing,
> glob_least_6_sing,
> glob_last_good_h,
> glob_max_h,
> glob_min_h,
> glob_display_interval,
> glob_abserr,
> glob_relerr,
> glob_min_pole_est,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_max_hours,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_upper_ratio_limit,
> glob_lower_ratio_limit,
> glob_max_sec,
> glob_orig_start_sec,
> glob_normmax,
> glob_max_minutes,
> glob_next_display,
> glob_est_digits,
> glob_subiter_method,
> glob_html_log,
> glob_min_good_digits,
> glob_good_digits,
> glob_min_apfp_est_good_digits,
> glob_apfp_est_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_h_reason,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_type_given_pole,
> glob_optimize,
> glob_look_poles,
> glob_dump_closed_form,
> glob_max_iter,
> glob_no_eqs,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_start,
> glob_iter,
#Bottom Generate Globals Decl
#BEGIN CONST
> array_const_2,
> array_const_0D0,
> array_const_1,
#END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_1st_rel_error,
> array_last_rel_error,
> array_est_rel_error,
> array_max_est_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_est_digits,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_given_rad_poles,
> array_given_ord_poles,
> array_rad_test_poles,
> array_ord_test_poles,
> array_fact_2,
> ATS_MAX_TERMS,
> glob_last;
> local cnt, dr1, dr2, ds1, ds2, hdrc, m, n, nr1, nr2, ord_no, 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, found_sing, h_new, ratio, term, local_test, tmp_rad,tmp_ord, tmp_ratio, prev_tmp_rad, last_no;
> #TOP CHECK FOR POLE
> 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 := ATS_MAX_TERMS - 2 - 10;
> cnt := 0;
> while (last_no < ATS_MAX_TERMS-3 and found_sing = 1) do # do number 1
> tmp_rad := comp_rad_from_ratio(array_y_higher[1,last_no-1],array_y_higher[1,last_no],last_no);
> if (float_abs(prev_tmp_rad) > glob__0) then # if number 3
> tmp_ratio := tmp_rad / prev_tmp_rad;
> else
> tmp_ratio := glob_large_float;
> fi;# end if 3;
> if ((cnt > 0 ) and (tmp_ratio < glob_upper_ratio_limit) and (tmp_ratio > glob_lower_ratio_limit)) then # if number 3
> rad_c := tmp_rad;
> elif
> (cnt = 0) then # if number 4
> rad_c := tmp_rad;
> elif
> (cnt > 0) then # if number 5
> found_sing := 0;
> fi;# end if 5;
> prev_tmp_rad := tmp_rad;;
> cnt := cnt + 1;
> last_no := last_no + 1;
> od;# end do number 1;
> if (found_sing = 1) then # if number 5
> if (rad_c < array_rad_test_poles[1,1]) then # if number 6
> 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;
> fi;# end if 6;
> fi;# end if 5;
> #BOTTOM general radius test1
> 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 := ATS_MAX_TERMS - 2 - 10;
> cnt := 0;
> while (last_no < ATS_MAX_TERMS-4 and found_sing = 1) do # do number 1
> 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);
> if (float_abs(prev_tmp_rad) > glob__0) then # if number 5
> tmp_ratio := tmp_rad / prev_tmp_rad;
> else
> tmp_ratio := glob_large_float;
> fi;# end if 5;
> if ((cnt > 0 ) and (tmp_ratio < glob_upper_ratio_limit) and (tmp_ratio > glob_lower_ratio_limit)) then # if number 5
> rad_c := tmp_rad;
> elif
> (cnt = 0) then # if number 6
> rad_c := tmp_rad;
> elif
> (cnt > 0) then # if number 7
> found_sing := 0;
> fi;# end if 7;
> prev_tmp_rad := tmp_rad;;
> cnt := cnt + 1;
> last_no := last_no + 1;
> od;# end do number 1;
> if (found_sing = 1) then # if number 7
> if (rad_c < array_rad_test_poles[1,2]) then # if number 8
> 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 # if number 9
> glob_min_pole_est := rad_c;
> fi;# end if 9;
> array_ord_test_poles[1,2] := tmp_ord;
> fi;# end if 8;
> fi;# end if 7;
> #BOTTOM general radius test1
> 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 := ATS_MAX_TERMS - 2 - 10;
> cnt := 0;
> while (last_no < ATS_MAX_TERMS-7 and found_sing = 1) do # do number 1
> 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);
> if (float_abs(prev_tmp_rad) > glob__0) then # if number 7
> tmp_ratio := tmp_rad / prev_tmp_rad;
> else
> tmp_ratio := glob_large_float;
> fi;# end if 7;
> if ((cnt > 0 ) and (tmp_ratio < glob_upper_ratio_limit) and (tmp_ratio > glob_lower_ratio_limit)) then # if number 7
> rad_c := tmp_rad;
> elif
> (cnt = 0) then # if number 8
> rad_c := tmp_rad;
> elif
> (cnt > 0) then # if number 9
> found_sing := 0;
> fi;# end if 9;
> prev_tmp_rad := tmp_rad;;
> cnt := cnt + 1;
> last_no := last_no + 1;
> od;# end do number 1;
> if (found_sing = 1) then # if number 9
> if (rad_c < array_rad_test_poles[1,3]) then # if number 10
> 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 # if number 11
> glob_min_pole_est := rad_c;
> fi;# end if 11;
> array_ord_test_poles[1,3] := tmp_ord;
> fi;# end if 10;
> fi;# end if 9;
> #BOTTOM general radius test1
> #START ADJUST ALL SERIES
> if (float_abs(glob_min_pole_est) * glob_ratio_of_radius < float_abs(glob_h)) then # if number 9
> h_new := glob_check_sign * glob_min_pole_est * glob_ratio_of_radius;
> omniout_str(ALWAYS,"SETTING H FOR POLE");
> glob_h_reason := 6;
> if (glob_check_sign * glob_min_h > glob_check_sign * h_new) then # if number 10
> omniout_str(ALWAYS,"SETTING H FOR MIN H");
> h_new := glob_min_h;
> glob_h_reason := 5;
> fi;# end if 10;
> term := 1;
> ratio := c(1.0);
> while (term <= ATS_MAX_TERMS) do # do number 1
> array_y[term] := array_y[term]* ratio;
> array_y_higher[1,term] := array_y_higher[1,term]* ratio;
> array_x[term] := array_x[term]* ratio;
> ratio := ratio * h_new / float_abs(glob_h);
> term := term + 1;
> od;# end do number 1;
> glob_h := h_new;
> fi;# end if 9;
> #BOTTOM ADJUST ALL SERIES
> ;
> if (reached_interval()) then # if number 9
> display_poles();
> fi;# end if 9
> end;
check_for_pole := proc()
local cnt, dr1, dr2, ds1, ds2, hdrc, m, n, nr1, nr2, ord_no, 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,
found_sing, h_new, ratio, term, local_test, tmp_rad, tmp_ord, tmp_ratio,
prev_tmp_rad, last_no;
global ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, glob_iolevel, glob_yes_pole,
glob_no_pole, glob_not_given, glob_no_sing_tests, glob_ratio_test,
glob_three_term_test, glob_six_term_test, glob_log_10, MAX_UNCHANGED,
glob__small, glob_small_float, glob_smallish_float, glob_large_float,
glob_larger_float, glob__m2, glob__m1, glob__0, glob__1, glob__2, glob__3,
glob__4, glob__5, glob__8, glob__10, glob__100, glob__pi, glob__0_5,
glob__0_8, glob__m0_8, glob__0_25, glob__0_125, glob_prec, glob_check_sign,
glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_total_exp_sec,
glob_optimal_expect_sec, glob_estimated_size_answer, glob_almost_1,
glob_clock_sec, glob_clock_start_sec, glob_disp_incr, glob_h,
glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_diff_ord_fm,
glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_six_term_ord_save,
glob_guess_error_rc, glob_guess_error_ord, glob_least_given_sing,
glob_least_ratio_sing, glob_least_3_sing, glob_least_6_sing,
glob_last_good_h, glob_max_h, glob_min_h, glob_display_interval,
glob_abserr, glob_relerr, glob_min_pole_est, glob_max_rel_trunc_err,
glob_max_trunc_err, glob_max_hours, glob_optimal_clock_start_sec,
glob_optimal_start, glob_upper_ratio_limit, glob_lower_ratio_limit,
glob_max_sec, glob_orig_start_sec, glob_normmax, glob_max_minutes,
glob_next_display, glob_est_digits, glob_subiter_method, glob_html_log,
glob_min_good_digits, glob_good_digits, glob_min_apfp_est_good_digits,
glob_apfp_est_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_h_reason, glob_sec_in_minute,
glob_min_in_hour, glob_hours_in_day, glob_days_in_year, glob_sec_in_hour,
glob_sec_in_day, glob_sec_in_year, glob_not_yet_finished, glob_initial_pass,
glob_not_yet_start_msg, glob_reached_optimal_h, glob_optimal_done,
glob_type_given_pole, glob_optimize, glob_look_poles, glob_dump_closed_form,
glob_max_iter, glob_no_eqs, glob_unchanged_h_cnt, glob_warned, glob_warned2,
glob_start, glob_iter, array_const_2, array_const_0D0, array_const_1,
array_y_init, array_norms, array_fact_1, array_1st_rel_error,
array_last_rel_error, array_est_rel_error, array_max_est_error,
array_type_pole, array_type_real_pole, array_type_complex_pole,
array_est_digits, array_y, array_x, array_tmp0, array_tmp1, array_tmp2,
array_m1, array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_given_rad_poles, array_given_ord_poles,
array_rad_test_poles, array_ord_test_poles, array_fact_2, ATS_MAX_TERMS,
glob_last;
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 := ATS_MAX_TERMS - 12;
cnt := 0;
while last_no < ATS_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);
if glob__0 < float_abs(prev_tmp_rad) then
tmp_ratio := tmp_rad/prev_tmp_rad
else tmp_ratio := glob_large_float
end if;
if 0 < cnt and tmp_ratio < glob_upper_ratio_limit and
glob_lower_ratio_limit < tmp_ratio then rad_c := tmp_rad
elif cnt = 0 then rad_c := tmp_rad
elif 0 < cnt then found_sing := 0
end if;
prev_tmp_rad := tmp_rad;
cnt := cnt + 1;
last_no := last_no + 1
end do;
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
end if
end if;
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 := ATS_MAX_TERMS - 12;
cnt := 0;
while last_no < ATS_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);
if glob__0 < float_abs(prev_tmp_rad) then
tmp_ratio := tmp_rad/prev_tmp_rad
else tmp_ratio := glob_large_float
end if;
if 0 < cnt and tmp_ratio < glob_upper_ratio_limit and
glob_lower_ratio_limit < tmp_ratio then rad_c := tmp_rad
elif cnt = 0 then rad_c := tmp_rad
elif 0 < cnt then found_sing := 0
end if;
prev_tmp_rad := tmp_rad;
cnt := cnt + 1;
last_no := last_no + 1
end do;
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
end if;
array_ord_test_poles[1, 2] := tmp_ord
end if
end if;
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 := ATS_MAX_TERMS - 12;
cnt := 0;
while last_no < ATS_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);
if glob__0 < float_abs(prev_tmp_rad) then
tmp_ratio := tmp_rad/prev_tmp_rad
else tmp_ratio := glob_large_float
end if;
if 0 < cnt and tmp_ratio < glob_upper_ratio_limit and
glob_lower_ratio_limit < tmp_ratio then rad_c := tmp_rad
elif cnt = 0 then rad_c := tmp_rad
elif 0 < cnt then found_sing := 0
end if;
prev_tmp_rad := tmp_rad;
cnt := cnt + 1;
last_no := last_no + 1
end do;
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
end if;
array_ord_test_poles[1, 3] := tmp_ord
end if
end if;
if
float_abs(glob_min_pole_est)*glob_ratio_of_radius < float_abs(glob_h)
then
h_new := glob_check_sign*glob_min_pole_est*glob_ratio_of_radius;
omniout_str(ALWAYS, "SETTING H FOR POLE");
glob_h_reason := 6;
if glob_check_sign*h_new < glob_check_sign*glob_min_h then
omniout_str(ALWAYS, "SETTING H FOR MIN H");
h_new := glob_min_h;
glob_h_reason := 5
end if;
term := 1;
ratio := c(1.0);
while term <= ATS_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/float_abs(glob_h);
term := term + 1
end do;
glob_h := h_new
end if;
if reached_interval() then display_poles() end if
end proc
# End Function number 10
# Begin Function number 11
> atomall := proc()
> global
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> glob_no_sing_tests,
> glob_ratio_test,
> glob_three_term_test,
> glob_six_term_test,
> glob_log_10,
#Top Generate Globals Decl
> MAX_UNCHANGED,
> glob__small,
> glob_small_float,
> glob_smallish_float,
> glob_large_float,
> glob_larger_float,
> glob__m2,
> glob__m1,
> glob__0,
> glob__1,
> glob__2,
> glob__3,
> glob__4,
> glob__5,
> glob__8,
> glob__10,
> glob__100,
> glob__pi,
> glob__0_5,
> glob__0_8,
> glob__m0_8,
> glob__0_25,
> glob__0_125,
> glob_prec,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_estimated_size_answer,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_disp_incr,
> glob_h,
> glob_diff_rc_fm,
> glob_diff_rc_fmm1,
> glob_diff_rc_fmm2,
> glob_diff_ord_fm,
> glob_diff_ord_fmm1,
> glob_diff_ord_fmm2,
> glob_six_term_ord_save,
> glob_guess_error_rc,
> glob_guess_error_ord,
> glob_least_given_sing,
> glob_least_ratio_sing,
> glob_least_3_sing,
> glob_least_6_sing,
> glob_last_good_h,
> glob_max_h,
> glob_min_h,
> glob_display_interval,
> glob_abserr,
> glob_relerr,
> glob_min_pole_est,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_max_hours,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_upper_ratio_limit,
> glob_lower_ratio_limit,
> glob_max_sec,
> glob_orig_start_sec,
> glob_normmax,
> glob_max_minutes,
> glob_next_display,
> glob_est_digits,
> glob_subiter_method,
> glob_html_log,
> glob_min_good_digits,
> glob_good_digits,
> glob_min_apfp_est_good_digits,
> glob_apfp_est_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_h_reason,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_type_given_pole,
> glob_optimize,
> glob_look_poles,
> glob_dump_closed_form,
> glob_max_iter,
> glob_no_eqs,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_start,
> glob_iter,
#Bottom Generate Globals Decl
#BEGIN CONST
> array_const_2,
> array_const_0D0,
> array_const_1,
#END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_1st_rel_error,
> array_last_rel_error,
> array_est_rel_error,
> array_max_est_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_est_digits,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_given_rad_poles,
> array_given_ord_poles,
> array_rad_test_poles,
> array_ord_test_poles,
> array_fact_2,
> ATS_MAX_TERMS,
> glob_last;
> local kkk, order_d, adj2, adj3 , temporary, term;
> #TOP ATOMALL
> # before write maple main top matter
> # before generate constants assign
> # before generate globals assign
> #END OUTFILE1
> #BEGIN OUTFILE2
> #END OUTFILE2
> #BEGIN ATOMHDR1
> #emit pre diff $eq_no = 1 i = 1 order_d = 1
> array_tmp1[1] := array_y_higher[2,1];
> #emit pre add CONST FULL $eq_no = 1 i = 1
> array_tmp2[1] := array_const_0D0[1] + array_tmp1[1];
> #emit pre assign xxx $eq_no = 1 i = 1 $min_hdrs = 5
> if ( not array_y_set_initial[1,3]) then # if number 1
> if (1 <= ATS_MAX_TERMS) then # if number 2
> temporary := c(array_tmp2[1]) * (expt((glob_h) , c(2))) * c(factorial_3(0,2));
> if (3 <= ATS_MAX_TERMS) then # if number 3
> array_y[3] := temporary;
> array_y_higher[1,3] := temporary;
> fi;# end if 3;
> temporary := c(temporary) / c(glob_h) * c(2);
> array_y_higher[2,2] := c(temporary);
> temporary := c(temporary) / c(glob_h) * c(1);
> array_y_higher[3,1] := c(temporary);
> fi;# end if 2;
> fi;# end if 1;
> kkk := 2;
> #END ATOMHDR1
> #BEGIN ATOMHDR2
> #emit pre diff $eq_no = 1 i = 2 order_d = 1
> array_tmp1[2] := array_y_higher[2,2];
> #emit pre add CONST FULL $eq_no = 1 i = 2
> array_tmp2[2] := array_tmp1[2];
> #emit pre assign xxx $eq_no = 1 i = 2 $min_hdrs = 5
> if ( not array_y_set_initial[1,4]) then # if number 1
> if (2 <= ATS_MAX_TERMS) then # if number 2
> temporary := c(array_tmp2[2]) * (expt((glob_h) , c(2))) * c(factorial_3(1,3));
> if (4 <= ATS_MAX_TERMS) then # if number 3
> array_y[4] := temporary;
> array_y_higher[1,4] := temporary;
> fi;# end if 3;
> temporary := c(temporary) / c(glob_h) * c(3);
> array_y_higher[2,3] := c(temporary);
> temporary := c(temporary) / c(glob_h) * c(2);
> array_y_higher[3,2] := c(temporary);
> fi;# end if 2;
> fi;# end if 1;
> kkk := 3;
> #END ATOMHDR2
> #BEGIN ATOMHDR3
> #emit pre diff $eq_no = 1 i = 3 order_d = 1
> array_tmp1[3] := array_y_higher[2,3];
> #emit pre add CONST FULL $eq_no = 1 i = 3
> array_tmp2[3] := array_tmp1[3];
> #emit pre assign xxx $eq_no = 1 i = 3 $min_hdrs = 5
> if ( not array_y_set_initial[1,5]) then # if number 1
> if (3 <= ATS_MAX_TERMS) then # if number 2
> temporary := c(array_tmp2[3]) * (expt((glob_h) , c(2))) * c(factorial_3(2,4));
> if (5 <= ATS_MAX_TERMS) then # if number 3
> array_y[5] := temporary;
> array_y_higher[1,5] := temporary;
> fi;# end if 3;
> temporary := c(temporary) / c(glob_h) * c(4);
> array_y_higher[2,4] := c(temporary);
> temporary := c(temporary) / c(glob_h) * c(3);
> array_y_higher[3,3] := c(temporary);
> fi;# end if 2;
> fi;# end if 1;
> kkk := 4;
> #END ATOMHDR3
> #BEGIN ATOMHDR4
> #emit pre diff $eq_no = 1 i = 4 order_d = 1
> array_tmp1[4] := array_y_higher[2,4];
> #emit pre add CONST FULL $eq_no = 1 i = 4
> array_tmp2[4] := array_tmp1[4];
> #emit pre assign xxx $eq_no = 1 i = 4 $min_hdrs = 5
> if ( not array_y_set_initial[1,6]) then # if number 1
> if (4 <= ATS_MAX_TERMS) then # if number 2
> temporary := c(array_tmp2[4]) * (expt((glob_h) , c(2))) * c(factorial_3(3,5));
> if (6 <= ATS_MAX_TERMS) then # if number 3
> array_y[6] := temporary;
> array_y_higher[1,6] := temporary;
> fi;# end if 3;
> temporary := c(temporary) / c(glob_h) * c(5);
> array_y_higher[2,5] := c(temporary);
> temporary := c(temporary) / c(glob_h) * c(4);
> array_y_higher[3,4] := c(temporary);
> fi;# end if 2;
> fi;# end if 1;
> kkk := 5;
> #END ATOMHDR4
> #BEGIN ATOMHDR5
> #emit pre diff $eq_no = 1 i = 5 order_d = 1
> array_tmp1[5] := array_y_higher[2,5];
> #emit pre add CONST FULL $eq_no = 1 i = 5
> array_tmp2[5] := array_tmp1[5];
> #emit pre assign xxx $eq_no = 1 i = 5 $min_hdrs = 5
> if ( not array_y_set_initial[1,7]) then # if number 1
> if (5 <= ATS_MAX_TERMS) then # if number 2
> temporary := c(array_tmp2[5]) * (expt((glob_h) , c(2))) * c(factorial_3(4,6));
> if (7 <= ATS_MAX_TERMS) then # if number 3
> array_y[7] := temporary;
> array_y_higher[1,7] := temporary;
> fi;# end if 3;
> temporary := c(temporary) / c(glob_h) * c(6);
> array_y_higher[2,6] := c(temporary);
> temporary := c(temporary) / c(glob_h) * c(5);
> array_y_higher[3,5] := c(temporary);
> fi;# end if 2;
> fi;# end if 1;
> kkk := 6;
> #END ATOMHDR5
> #BEGIN OUTFILE3
> #Top Atomall While Loop-- outfile3
> while (kkk <= ATS_MAX_TERMS) do # do number 1
> #END OUTFILE3
> #BEGIN OUTFILE4
> #emit diff $eq_no = 1
> if (kkk <= ATS_MAX_TERMS) then # if number 1
> array_tmp1[kkk] := array_y_higher[2,kkk];
> fi;# end if 1;
> #emit NOT FULL - FULL add $eq_no = 1
> array_tmp2[kkk] := array_tmp1[kkk];
> #emit assign $eq_no = 1
> order_d := 2;
> if (kkk + order_d <= ATS_MAX_TERMS) then # if number 1
> if ( not array_y_set_initial[1,kkk + order_d]) then # if number 2
> temporary := c(array_tmp2[kkk]) * expt((glob_h) , c(order_d)) * c(factorial_3((kkk - 1),(kkk + order_d - 1)));
> array_y[kkk + order_d] := c(temporary);
> array_y_higher[1,kkk + order_d] := c(temporary);
> term := kkk + order_d - 1;
> adj2 := kkk + order_d - 1;
> adj3 := 2;
> while ((term >= 1) and (term <= ATS_MAX_TERMS) and (adj3 < order_d + 1)) do # do number 1
> if (adj3 <= order_d + 1) then # if number 3
> if (adj2 > 0) then # if number 4
> temporary := c(temporary) / c(glob_h) * c(adj2);
> else
> temporary := c(temporary);
> fi;# end if 4;
> array_y_higher[adj3,term] := c(temporary);
> fi;# end if 3;
> term := term - 1;
> adj2 := adj2 - 1;
> adj3 := adj3 + 1;
> od;# end do number 1
> fi;# end if 2
> fi;# end if 1;
> kkk := kkk + 1;
> od;# end do number 1;
> #BOTTOM ATOMALL
> #END OUTFILE4
> #BEGIN OUTFILE5
> #BOTTOM ATOMALL ???
> end;
atomall := proc()
local kkk, order_d, adj2, adj3, temporary, term;
global ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, glob_iolevel, glob_yes_pole,
glob_no_pole, glob_not_given, glob_no_sing_tests, glob_ratio_test,
glob_three_term_test, glob_six_term_test, glob_log_10, MAX_UNCHANGED,
glob__small, glob_small_float, glob_smallish_float, glob_large_float,
glob_larger_float, glob__m2, glob__m1, glob__0, glob__1, glob__2, glob__3,
glob__4, glob__5, glob__8, glob__10, glob__100, glob__pi, glob__0_5,
glob__0_8, glob__m0_8, glob__0_25, glob__0_125, glob_prec, glob_check_sign,
glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_total_exp_sec,
glob_optimal_expect_sec, glob_estimated_size_answer, glob_almost_1,
glob_clock_sec, glob_clock_start_sec, glob_disp_incr, glob_h,
glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_diff_ord_fm,
glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_six_term_ord_save,
glob_guess_error_rc, glob_guess_error_ord, glob_least_given_sing,
glob_least_ratio_sing, glob_least_3_sing, glob_least_6_sing,
glob_last_good_h, glob_max_h, glob_min_h, glob_display_interval,
glob_abserr, glob_relerr, glob_min_pole_est, glob_max_rel_trunc_err,
glob_max_trunc_err, glob_max_hours, glob_optimal_clock_start_sec,
glob_optimal_start, glob_upper_ratio_limit, glob_lower_ratio_limit,
glob_max_sec, glob_orig_start_sec, glob_normmax, glob_max_minutes,
glob_next_display, glob_est_digits, glob_subiter_method, glob_html_log,
glob_min_good_digits, glob_good_digits, glob_min_apfp_est_good_digits,
glob_apfp_est_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_h_reason, glob_sec_in_minute,
glob_min_in_hour, glob_hours_in_day, glob_days_in_year, glob_sec_in_hour,
glob_sec_in_day, glob_sec_in_year, glob_not_yet_finished, glob_initial_pass,
glob_not_yet_start_msg, glob_reached_optimal_h, glob_optimal_done,
glob_type_given_pole, glob_optimize, glob_look_poles, glob_dump_closed_form,
glob_max_iter, glob_no_eqs, glob_unchanged_h_cnt, glob_warned, glob_warned2,
glob_start, glob_iter, array_const_2, array_const_0D0, array_const_1,
array_y_init, array_norms, array_fact_1, array_1st_rel_error,
array_last_rel_error, array_est_rel_error, array_max_est_error,
array_type_pole, array_type_real_pole, array_type_complex_pole,
array_est_digits, array_y, array_x, array_tmp0, array_tmp1, array_tmp2,
array_m1, array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_given_rad_poles, array_given_ord_poles,
array_rad_test_poles, array_ord_test_poles, array_fact_2, ATS_MAX_TERMS,
glob_last;
array_tmp1[1] := array_y_higher[2, 1];
array_tmp2[1] := array_const_0D0[1] + array_tmp1[1];
if not array_y_set_initial[1, 3] then
if 1 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp2[1])*expt(glob_h, c(2))*c(factorial_3(0, 2));
if 3 <= ATS_MAX_TERMS then
array_y[3] := temporary; array_y_higher[1, 3] := temporary
end if;
temporary := c(temporary)*c(2)/c(glob_h);
array_y_higher[2, 2] := c(temporary);
temporary := c(temporary)*c(1)/c(glob_h);
array_y_higher[3, 1] := c(temporary)
end if
end if;
kkk := 2;
array_tmp1[2] := array_y_higher[2, 2];
array_tmp2[2] := array_tmp1[2];
if not array_y_set_initial[1, 4] then
if 2 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp2[2])*expt(glob_h, c(2))*c(factorial_3(1, 3));
if 4 <= ATS_MAX_TERMS then
array_y[4] := temporary; array_y_higher[1, 4] := temporary
end if;
temporary := c(temporary)*c(3)/c(glob_h);
array_y_higher[2, 3] := c(temporary);
temporary := c(temporary)*c(2)/c(glob_h);
array_y_higher[3, 2] := c(temporary)
end if
end if;
kkk := 3;
array_tmp1[3] := array_y_higher[2, 3];
array_tmp2[3] := array_tmp1[3];
if not array_y_set_initial[1, 5] then
if 3 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp2[3])*expt(glob_h, c(2))*c(factorial_3(2, 4));
if 5 <= ATS_MAX_TERMS then
array_y[5] := temporary; array_y_higher[1, 5] := temporary
end if;
temporary := c(temporary)*c(4)/c(glob_h);
array_y_higher[2, 4] := c(temporary);
temporary := c(temporary)*c(3)/c(glob_h);
array_y_higher[3, 3] := c(temporary)
end if
end if;
kkk := 4;
array_tmp1[4] := array_y_higher[2, 4];
array_tmp2[4] := array_tmp1[4];
if not array_y_set_initial[1, 6] then
if 4 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp2[4])*expt(glob_h, c(2))*c(factorial_3(3, 5));
if 6 <= ATS_MAX_TERMS then
array_y[6] := temporary; array_y_higher[1, 6] := temporary
end if;
temporary := c(temporary)*c(5)/c(glob_h);
array_y_higher[2, 5] := c(temporary);
temporary := c(temporary)*c(4)/c(glob_h);
array_y_higher[3, 4] := c(temporary)
end if
end if;
kkk := 5;
array_tmp1[5] := array_y_higher[2, 5];
array_tmp2[5] := array_tmp1[5];
if not array_y_set_initial[1, 7] then
if 5 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp2[5])*expt(glob_h, c(2))*c(factorial_3(4, 6));
if 7 <= ATS_MAX_TERMS then
array_y[7] := temporary; array_y_higher[1, 7] := temporary
end if;
temporary := c(temporary)*c(6)/c(glob_h);
array_y_higher[2, 6] := c(temporary);
temporary := c(temporary)*c(5)/c(glob_h);
array_y_higher[3, 5] := c(temporary)
end if
end if;
kkk := 6;
while kkk <= ATS_MAX_TERMS do
if kkk <= ATS_MAX_TERMS then
array_tmp1[kkk] := array_y_higher[2, kkk]
end if;
array_tmp2[kkk] := array_tmp1[kkk];
order_d := 2;
if kkk + order_d <= ATS_MAX_TERMS then
if not array_y_set_initial[1, kkk + order_d] then
temporary := c(array_tmp2[kkk])*expt(glob_h, c(order_d))*
c(factorial_3(kkk - 1, kkk + order_d - 1));
array_y[kkk + order_d] := c(temporary);
array_y_higher[1, kkk + order_d] := c(temporary);
term := kkk + order_d - 1;
adj2 := kkk + order_d - 1;
adj3 := 2;
while
1 <= term and term <= ATS_MAX_TERMS and adj3 < order_d + 1
do
if adj3 <= order_d + 1 then
if 0 < adj2 then
temporary := c(temporary)*c(adj2)/c(glob_h)
else temporary := c(temporary)
end if;
array_y_higher[adj3, term] := c(temporary)
end if;
term := term - 1;
adj2 := adj2 - 1;
adj3 := adj3 + 1
end do
end if
end if;
kkk := kkk + 1
end do
end proc
# End Function number 12
#END OUTFILE5
# Begin Function number 12
> main := proc()
> #BEGIN OUTFIEMAIN
> local d1,d2,d3,d4,est_err_2,niii,done_once,max_terms,display_max,
> term,ord,order_diff,term_no,html_log_file,iiif,jjjf,
> rows,r_order,sub_iter,calc_term,iii,temp_sum,current_iter,
> x_start,x_end
> ,it,last_min_pole_est, opt_iter, tmp,subiter, est_needed_step_err,estimated_step_error,min_value,est_answer,found_h,repeat_it;
> global
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> glob_no_sing_tests,
> glob_ratio_test,
> glob_three_term_test,
> glob_six_term_test,
> glob_log_10,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob__small,
> glob_small_float,
> glob_smallish_float,
> glob_large_float,
> glob_larger_float,
> glob__m2,
> glob__m1,
> glob__0,
> glob__1,
> glob__2,
> glob__3,
> glob__4,
> glob__5,
> glob__8,
> glob__10,
> glob__100,
> glob__pi,
> glob__0_5,
> glob__0_8,
> glob__m0_8,
> glob__0_25,
> glob__0_125,
> glob_prec,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_estimated_size_answer,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_disp_incr,
> glob_h,
> glob_diff_rc_fm,
> glob_diff_rc_fmm1,
> glob_diff_rc_fmm2,
> glob_diff_ord_fm,
> glob_diff_ord_fmm1,
> glob_diff_ord_fmm2,
> glob_six_term_ord_save,
> glob_guess_error_rc,
> glob_guess_error_ord,
> glob_least_given_sing,
> glob_least_ratio_sing,
> glob_least_3_sing,
> glob_least_6_sing,
> glob_last_good_h,
> glob_max_h,
> glob_min_h,
> glob_display_interval,
> glob_abserr,
> glob_relerr,
> glob_min_pole_est,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_max_hours,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_upper_ratio_limit,
> glob_lower_ratio_limit,
> glob_max_sec,
> glob_orig_start_sec,
> glob_normmax,
> glob_max_minutes,
> glob_next_display,
> glob_est_digits,
> glob_subiter_method,
> glob_html_log,
> glob_min_good_digits,
> glob_good_digits,
> glob_min_apfp_est_good_digits,
> glob_apfp_est_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_h_reason,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_type_given_pole,
> glob_optimize,
> glob_look_poles,
> glob_dump_closed_form,
> glob_max_iter,
> glob_no_eqs,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_start,
> glob_iter,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_2,
> array_const_0D0,
> array_const_1,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_1st_rel_error,
> array_last_rel_error,
> array_est_rel_error,
> array_max_est_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_est_digits,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_given_rad_poles,
> array_given_ord_poles,
> array_rad_test_poles,
> array_ord_test_poles,
> array_fact_2,
> ATS_MAX_TERMS,
> glob_last;
> ATS_MAX_TERMS := 30;
> # before first input block
> #BEGIN FIRST INPUT BLOCK
> #BEGIN BLOCK 1
> #BEGIN FIRST INPUT BLOCK
> Digits:=32;
> max_terms:=30;
> #END BLOCK 1
> #END FIRST INPUT BLOCK
> #START OF INITS AFTER INPUT BLOCK
> glob_html_log := true;
> #END OF INITS AFTER INPUT BLOCK
> # before generate arrays
> array_y_init:= Array(0..(30),[]);
> array_norms:= Array(0..(30),[]);
> array_fact_1:= Array(0..(30),[]);
> array_1st_rel_error:= Array(0..(2),[]);
> array_last_rel_error:= Array(0..(2),[]);
> array_est_rel_error:= Array(0..(2),[]);
> array_max_est_error:= Array(0..(2),[]);
> array_type_pole:= Array(0..(2),[]);
> array_type_real_pole:= Array(0..(2),[]);
> array_type_complex_pole:= Array(0..(2),[]);
> array_est_digits:= Array(0..(2),[]);
> array_y:= Array(0..(30),[]);
> array_x:= Array(0..(30),[]);
> array_tmp0:= Array(0..(30),[]);
> array_tmp1:= Array(0..(30),[]);
> array_tmp2:= Array(0..(30),[]);
> array_m1:= Array(0..(30),[]);
> array_y_higher := Array(0..(3) ,(0..30+ 1),[]);
> array_y_higher_work := Array(0..(3) ,(0..30+ 1),[]);
> array_y_higher_work2 := Array(0..(3) ,(0..30+ 1),[]);
> array_y_set_initial := Array(0..(2) ,(0..30+ 1),[]);
> array_given_rad_poles := Array(0..(2) ,(0..3+ 1),[]);
> array_given_ord_poles := Array(0..(2) ,(0..3+ 1),[]);
> array_rad_test_poles := Array(0..(2) ,(0..4+ 1),[]);
> array_ord_test_poles := Array(0..(2) ,(0..4+ 1),[]);
> array_fact_2 := Array(0..(30) ,(0..30+ 1),[]);
> # before generate constants
> # before generate globals definition
> #Top Generate Globals Definition
> #Bottom Generate Globals Deninition
> # before generate const definition
> # before arrays initialized
> term := 1;
> while (term <= 30) do # do number 1
> array_y_init[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_norms[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_fact_1[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_1st_rel_error[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_last_rel_error[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_est_rel_error[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_max_est_error[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_type_pole[term] := 0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_type_real_pole[term] := 0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_type_complex_pole[term] := 0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_est_digits[term] := 0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_y[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_x[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_tmp0[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_tmp1[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_tmp2[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_m1[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=3) do # do number 1
> term := 1;
> while (term <= 30) do # do number 2
> array_y_higher[ord,term] := c(0.0);
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=3) do # do number 1
> term := 1;
> while (term <= 30) do # do number 2
> array_y_higher_work[ord,term] := c(0.0);
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=3) do # do number 1
> term := 1;
> while (term <= 30) do # do number 2
> array_y_higher_work2[ord,term] := c(0.0);
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 30) do # do number 2
> array_y_set_initial[ord,term] := c(0.0);
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_given_rad_poles[ord,term] := c(0.0);
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_given_ord_poles[ord,term] := c(0.0);
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 4) do # do number 2
> array_rad_test_poles[ord,term] := c(0.0);
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 4) do # do number 2
> array_ord_test_poles[ord,term] := c(0.0);
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=30) do # do number 1
> term := 1;
> while (term <= 30) do # do number 2
> array_fact_2[ord,term] := c(0.0);
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> # before symbols initialized
> #BEGIN SYMBOLS INITIALIZATED
> zero_ats_ar(array_y);
> zero_ats_ar(array_x);
> zero_ats_ar(array_tmp0);
> zero_ats_ar(array_tmp1);
> zero_ats_ar(array_tmp2);
> zero_ats_ar(array_m1);
> zero_ats_ar(array_const_2);
> array_const_2[1] := c(2);
> zero_ats_ar(array_const_0D0);
> array_const_0D0[1] := c(0.0);
> zero_ats_ar(array_const_1);
> array_const_1[1] := c(1);
> zero_ats_ar(array_m1);
> array_m1[1] := glob__m1;
> #END SYMBOLS INITIALIZATED
> # before generate factorials init
> #Initing Factorial Tables
> iiif := 0;
> while (iiif <= ATS_MAX_TERMS) do # do number 1
> jjjf := 0;
> while (jjjf <= ATS_MAX_TERMS) do # do number 2
> array_fact_1[iiif] := 0;
> array_fact_2[iiif,jjjf] := 0;
> jjjf := jjjf + 1;
> od;# end do number 2;
> iiif := iiif + 1;
> od;# end do number 1;
> #Done Initing Factorial Table
> ALWAYS := 1;
> INFO := 2;
> DEBUGL := 3;
> DEBUGMASSIVE := 4;
> glob_iolevel := 5;
> glob_yes_pole := 4;
> glob_no_pole := 3;
> glob_not_given := 0;
> glob_no_sing_tests := 4;
> glob_ratio_test := 1;
> glob_three_term_test := 2;
> glob_six_term_test := 3;
> glob_log_10 := log(c(10.0));
> MAX_UNCHANGED := 10;
> glob__small := c(0.1e-50);
> glob_small_float := c(0.1e-50);
> glob_smallish_float := c(0.1e-60);
> glob_large_float := c(1.0e100);
> glob_larger_float := c(1.1e100);
> glob__m2 := c(-2);
> glob__m1 := c(-1);
> glob__0 := c(0);
> glob__1 := c(1);
> glob__2 := c(2);
> glob__3 := c(3);
> glob__4 := c(4);
> glob__5 := c(5);
> glob__8 := c(8);
> glob__10 := c(10);
> glob__100 := c(100);
> glob__pi := c(0.0);
> glob__0_5 := c(0.5);
> glob__0_8 := c(0.8);
> glob__m0_8 := c(-0.8);
> glob__0_25 := c(0.25);
> glob__0_125 := c(0.125);
> glob_prec := c(1.0e-16);
> glob_check_sign := c(1.0);
> glob_desired_digits_correct := c(8.0);
> glob_max_estimated_step_error := c(0.0);
> glob_ratio_of_radius := c(0.1);
> glob_percent_done := c(0.0);
> glob_total_exp_sec := c(0.1);
> glob_optimal_expect_sec := c(0.1);
> glob_estimated_size_answer := c(100.0);
> glob_almost_1 := c(0.9990);
> glob_clock_sec := c(0.0);
> glob_clock_start_sec := c(0.0);
> glob_disp_incr := c(0.1);
> glob_h := c(0.1);
> glob_diff_rc_fm := c(0.1);
> glob_diff_rc_fmm1 := c(0.1);
> glob_diff_rc_fmm2 := c(0.1);
> glob_diff_ord_fm := c(0.1);
> glob_diff_ord_fmm1 := c(0.1);
> glob_diff_ord_fmm2 := c(0.1);
> glob_six_term_ord_save := c(0.1);
> glob_guess_error_rc := c(0.1);
> glob_guess_error_ord := c(0.1);
> glob_least_given_sing := c(9.9e200);
> glob_least_ratio_sing := c(9.9e200);
> glob_least_3_sing := c(9.9e100);
> glob_least_6_sing := c(9.9e100);
> glob_last_good_h := c(0.1);
> glob_max_h := c(0.1);
> glob_min_h := c(0.000001);
> glob_display_interval := c(0.1);
> glob_abserr := c(0.1e-10);
> glob_relerr := c(0.1e-10);
> glob_min_pole_est := c(0.1e+10);
> glob_max_rel_trunc_err := c(0.1e-10);
> glob_max_trunc_err := c(0.1e-10);
> glob_max_hours := c(0.0);
> glob_optimal_clock_start_sec := c(0.0);
> glob_optimal_start := c(0.0);
> glob_upper_ratio_limit := c(1.0001);
> glob_lower_ratio_limit := c(0.9999);
> glob_max_sec := c(10000.0);
> glob_orig_start_sec := c(0.0);
> glob_normmax := c(0.0);
> glob_max_minutes := c(0.0);
> glob_next_display := c(0.0);
> glob_est_digits := 1;
> glob_subiter_method := 3;
> glob_html_log := true;
> glob_min_good_digits := 99999;
> glob_good_digits := 0;
> glob_min_apfp_est_good_digits := 99999;
> glob_apfp_est_good_digits := 0;
> glob_max_opt_iter := 10;
> glob_dump := false;
> glob_djd_debug := true;
> glob_display_flag := true;
> glob_djd_debug2 := true;
> glob_h_reason := 0;
> glob_sec_in_minute := 60 ;
> glob_min_in_hour := 60;
> glob_hours_in_day := 24;
> glob_days_in_year := 365;
> glob_sec_in_hour := 3600;
> glob_sec_in_day := 86400;
> glob_sec_in_year := 31536000;
> glob_not_yet_finished := true;
> glob_initial_pass := true;
> glob_not_yet_start_msg := true;
> glob_reached_optimal_h := false;
> glob_optimal_done := false;
> glob_type_given_pole := 0;
> glob_optimize := false;
> glob_look_poles := false;
> glob_dump_closed_form := false;
> glob_max_iter := 1000;
> glob_no_eqs := 0;
> glob_unchanged_h_cnt := 0;
> glob_warned := false;
> glob_warned2 := false;
> glob_start := 0;
> glob_iter := 0;
> # before generate set diff initial
> array_y_set_initial[1,1] := true;
> array_y_set_initial[1,2] := true;
> array_y_set_initial[1,3] := false;
> array_y_set_initial[1,4] := false;
> array_y_set_initial[1,5] := false;
> array_y_set_initial[1,6] := false;
> array_y_set_initial[1,7] := false;
> array_y_set_initial[1,8] := false;
> array_y_set_initial[1,9] := false;
> array_y_set_initial[1,10] := false;
> array_y_set_initial[1,11] := false;
> array_y_set_initial[1,12] := false;
> array_y_set_initial[1,13] := false;
> array_y_set_initial[1,14] := false;
> array_y_set_initial[1,15] := false;
> array_y_set_initial[1,16] := false;
> array_y_set_initial[1,17] := false;
> array_y_set_initial[1,18] := false;
> array_y_set_initial[1,19] := false;
> array_y_set_initial[1,20] := false;
> array_y_set_initial[1,21] := false;
> array_y_set_initial[1,22] := false;
> array_y_set_initial[1,23] := false;
> array_y_set_initial[1,24] := false;
> array_y_set_initial[1,25] := false;
> array_y_set_initial[1,26] := false;
> array_y_set_initial[1,27] := false;
> array_y_set_initial[1,28] := false;
> array_y_set_initial[1,29] := false;
> array_y_set_initial[1,30] := false;
> # before generate init omniout const
> ALWAYS := 1;
> INFO := 2;
> DEBUGL := 3;
> DEBUGMASSIVE := 4;
> ATS_MAX_TERMS := 30;
> glob_iolevel := INFO;
> # set default block
> #Write Set Defaults
> glob_orig_start_sec := elapsed_time_seconds();
> 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/diff_Bpostode.ode#################");
> omniout_str(ALWAYS,"diff ( y , x , 2 ) = diff ( y , x , 1 ) ; ");
> omniout_str(ALWAYS,"!");
> omniout_str(ALWAYS,"#BEGIN FIRST INPUT BLOCK");
> omniout_str(ALWAYS,"Digits:=32;");
> omniout_str(ALWAYS,"max_terms:=30;");
> omniout_str(ALWAYS,"!");
> omniout_str(ALWAYS,"#END FIRST INPUT BLOCK");
> omniout_str(ALWAYS,"#BEGIN SECOND INPUT BLOCK");
> omniout_str(ALWAYS,"x_start := c(1.0);");
> omniout_str(ALWAYS,"x_end := c(5.0) ;");
> omniout_str(ALWAYS,"array_y_init[0 + 1] := exact_soln_y(x_start);");
> omniout_str(ALWAYS,"array_y_init[1 + 1] := exact_soln_yp(x_start);");
> omniout_str(ALWAYS,"glob_look_poles := true;");
> omniout_str(ALWAYS,"");
> omniout_str(ALWAYS,"");
> omniout_str(ALWAYS,"");
> omniout_str(ALWAYS,"");
> omniout_str(ALWAYS,"");
> omniout_str(ALWAYS,"");
> omniout_str(ALWAYS,"");
> omniout_str(ALWAYS,"glob_type_given_pole := 3;");
> omniout_str(ALWAYS,"#END SECOND INPUT BLOCK");
> omniout_str(ALWAYS,"#BEGIN OVERRIDE BLOCK");
> omniout_str(ALWAYS,"glob_desired_digits_correct:=8;");
> omniout_str(ALWAYS,"glob_max_minutes:=(3.0);");
> omniout_str(ALWAYS,"glob_subiter_method:=3;");
> omniout_str(ALWAYS,"glob_max_iter:=100000;");
> omniout_str(ALWAYS,"glob_upper_ratio_limit:=c(1.0000001);");
> omniout_str(ALWAYS,"glob_lower_ratio_limit:=c(0.9999999);");
> omniout_str(ALWAYS,"glob_look_poles:=true;");
> omniout_str(ALWAYS,"glob_h:=c(0.001);");
> omniout_str(ALWAYS,"glob_display_interval:=c(0.01);");
> omniout_str(ALWAYS,"#END OVERRIDE BLOCK");
> omniout_str(ALWAYS,"!");
> omniout_str(ALWAYS,"#BEGIN USER DEF BLOCK");
> omniout_str(ALWAYS,"exact_soln_y := proc(x)");
> omniout_str(ALWAYS,"return(c(1.0) + exp(c(x)));");
> omniout_str(ALWAYS,"end;");
> omniout_str(ALWAYS,"exact_soln_yp := proc(x)");
> omniout_str(ALWAYS,"return(exp(c(x)));");
> omniout_str(ALWAYS,"end;");
> omniout_str(ALWAYS,"exact_soln_ypp := proc(x)");
> omniout_str(ALWAYS,"return(exp(c(x)));");
> omniout_str(ALWAYS,"end;");
> omniout_str(ALWAYS,"");
> omniout_str(ALWAYS,"#END USER DEF BLOCK");
> omniout_str(ALWAYS,"#######END OF ECHO OF PROBLEM#################");
> glob_unchanged_h_cnt := 0;
> glob_warned := false;
> glob_warned2 := false;
> glob_small_float := glob__0;
> glob_smallish_float := glob__0;
> glob_large_float := c(1.0e100);
> glob_larger_float := c( 1.1e100);
> glob_almost_1 := c( 0.99);
> # before second block
> #TOP SECOND INPUT BLOCK
> #BEGIN SECOND INPUT BLOCK
> #BEGIN BLOCK 2
> #END FIRST INPUT BLOCK
> #BEGIN SECOND INPUT BLOCK
> x_start := c(1.0);
> x_end := c(5.0) ;
> array_y_init[0 + 1] := exact_soln_y(x_start);
> array_y_init[1 + 1] := exact_soln_yp(x_start);
> glob_look_poles := true;
> glob_type_given_pole := 3;
> #END SECOND INPUT BLOCK
> #BEGIN OVERRIDE BLOCK
> glob_desired_digits_correct:=8;
> glob_max_minutes:=(3.0);
> glob_subiter_method:=3;
> glob_max_iter:=100000;
> glob_upper_ratio_limit:=c(1.0000001);
> glob_lower_ratio_limit:=c(0.9999999);
> glob_look_poles:=true;
> glob_h:=c(0.001);
> glob_display_interval:=c(0.01);
> #END OVERRIDE BLOCK
> #END BLOCK 2
> #END SECOND INPUT BLOCK
> #BEGIN INITS AFTER SECOND INPUT BLOCK
> glob_last_good_h := glob_h;
> glob_max_sec := (60.0) * (glob_max_minutes) + (3600.0) * (glob_max_hours);
> # after second input block
> glob_check_sign := c(my_check_sign(x_start,x_end));
> glob__pi := arccos(glob__m1);
> glob_prec = expt(10.0,c(-Digits));
> if (glob_optimize) then # if number 9
> #BEGIN OPTIMIZE CODE
> omniout_str(ALWAYS,"START of Optimize");
> #Start Series -- INITIALIZE FOR OPTIMIZE
> found_h := false;
> glob_min_pole_est := glob_larger_float;
> last_min_pole_est := glob_larger_float;
> glob_least_given_sing := glob_larger_float;
> glob_least_ratio_sing := glob_larger_float;
> glob_least_3_sing := glob_larger_float;
> glob_least_6_sing := glob_larger_float;
> glob_min_h := float_abs(glob_min_h) * glob_check_sign;
> glob_max_h := float_abs(glob_max_h) * glob_check_sign;
> glob_h := float_abs(glob_min_h) * glob_check_sign;
> glob_display_interval := c((float_abs(c(glob_display_interval))) * (glob_check_sign));
> display_max := c(x_end) - c(x_start)/glob__10;
> if ((glob_display_interval) > (display_max)) then # if number 10
> glob_display_interval := c(display_max);
> fi;# end if 10;
> chk_data();
> 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 := glob_small_float;
> while ((opt_iter <= 100) and ( not found_h)) do # do number 1
> omniout_int(ALWAYS,"opt_iter",32,opt_iter,4,"");
> array_x[1] := c(x_start);
> array_x[2] := c(glob_h);
> glob_next_display := c(x_start);
> order_diff := 2;
> #Start Series array_y
> term_no := 1;
> while (term_no <= order_diff) do # do number 2
> array_y[term_no] := array_y_init[term_no] * expt(glob_h , c(term_no - 1)) / c(factorial_1(term_no - 1));
> term_no := term_no + 1;
> od;# end do number 2;
> rows := order_diff;
> r_order := 1;
> while (r_order <= rows) do # do number 2
> term_no := 1;
> while (term_no <= (rows - r_order + 1)) do # do number 3
> it := term_no + r_order - 1;
> if (term_no < ATS_MAX_TERMS) then # if number 10
> array_y_higher[r_order,term_no] := array_y_init[it]* expt(glob_h , c(term_no - 1)) / (c(factorial_1(term_no - 1)));
> fi;# end if 10;
> term_no := term_no + 1;
> od;# end do number 3;
> r_order := r_order + 1;
> od;# end do number 2
> ;
> atomall();
> if (glob_check_sign * glob_min_h >= glob_check_sign * glob_h) then # if number 10
> omniout_str(ALWAYS,"SETTING H FOR MIN H");
> glob_h := glob_check_sign * float_abs(glob_min_h);
> glob_h_reason := 1;
> found_h := true;
> fi;# end if 10;
> if (glob_check_sign * glob_display_interval <= glob_check_sign * glob_h) then # if number 10
> omniout_str(ALWAYS,"SETTING H FOR DISPLAY INTERVAL");
> glob_h_reason := 2;
> glob_h := glob_display_interval;
> found_h := true;
> fi;# end if 10;
> if (glob_look_poles) then # if number 10
> check_for_pole();
> fi;# end if 10;
> if ( not found_h) then # if number 10
> est_answer := est_size_answer();
> 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 := test_suggested_h();
> omniout_float(ALWAYS,"estimated_step_error",32,estimated_step_error,32,"");
> if (estimated_step_error < est_needed_step_err) then # if number 11
> omniout_str(ALWAYS,"Double H and LOOP");
> glob_h := glob_h*glob__2;
> else
> omniout_str(ALWAYS,"Found H for OPTIMAL");
> found_h := true;
> glob_h_reason := 3;
> glob_h := glob_h/glob__2;
> fi;# end if 11;
> fi;# end if 10;
> opt_iter := opt_iter + 1;
> od;# end do number 1;
> if (( not found_h) and (opt_iter = 1)) then # if number 10
> omniout_str(ALWAYS,"Beginning glob_h too large.");
> found_h := false;
> fi;# end if 10;
> if (glob_check_sign * glob_max_h <= glob_check_sign * glob_h) then # if number 10
> omniout_str(ALWAYS,"SETTING H FOR MAX H");
> glob_h := glob_check_sign * float_abs(glob_max_h);
> glob_h_reason := 1;
> found_h := true;
> fi;# end if 10;
> else
> found_h := true;
> glob_h := glob_h * glob_check_sign;
> fi;# end if 9;
> #END OPTIMIZE CODE
> if (glob_html_log) then # if number 9
> html_log_file := fopen("entry.html",WRITE,TEXT);
> fi;# end if 9;
> #BEGIN SOLUTION CODE
> if (found_h) then # if number 9
> omniout_str(ALWAYS,"START of Soultion");
> #Start Series -- INITIALIZE FOR SOLUTION
> array_x[1] := c(x_start);
> array_x[2] := c(glob_h);
> glob_next_display := c(x_start);
> glob_min_pole_est := glob_larger_float;
> glob_least_given_sing := glob_larger_float;
> glob_least_ratio_sing := glob_larger_float;
> glob_least_3_sing := glob_larger_float;
> glob_least_6_sing := glob_larger_float;
> order_diff := 2;
> #Start Series array_y
> term_no := 1;
> while (term_no <= order_diff) do # do number 1
> array_y[term_no] := array_y_init[term_no] * expt(glob_h , c(term_no - 1)) / c(factorial_1(term_no - 1));
> term_no := term_no + 1;
> od;# end do number 1;
> rows := order_diff;
> r_order := 1;
> while (r_order <= rows) do # do number 1
> term_no := 1;
> while (term_no <= (rows - r_order + 1)) do # do number 2
> it := term_no + r_order - 1;
> if (term_no < ATS_MAX_TERMS) then # if number 10
> array_y_higher[r_order,term_no] := array_y_init[it]* expt(glob_h , c(term_no - 1)) / (c(factorial_1(term_no - 1)));
> fi;# end if 10;
> term_no := term_no + 1;
> od;# end do number 2;
> r_order := r_order + 1;
> od;# end do number 1
> ;
> current_iter := 1;
> glob_clock_start_sec := elapsed_time_seconds();
> glob_clock_sec := elapsed_time_seconds();
> glob_iter := 0;
> omniout_str(DEBUGL," ");
> glob_reached_optimal_h := true;
> glob_optimal_clock_start_sec := elapsed_time_seconds();
> while ((glob_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 # do number 1
> #left paren 0001C
> if (reached_interval()) then # if number 10
> omniout_str(INFO," ");
> omniout_str(INFO,"TOP MAIN SOLVE Loop");
> fi;# end if 10;
> glob_iter := glob_iter + 1;
> glob_clock_sec := elapsed_time_seconds();
> track_estimated_error();
> atomall();
> track_estimated_error();
> display_alot(current_iter);
> if (glob_look_poles) then # if number 10
> check_for_pole();
> fi;# end if 10;
> if (reached_interval()) then # if number 10
> glob_next_display := glob_next_display + glob_display_interval;
> fi;# end if 10;
> array_x[1] := array_x[1] + glob_h;
> array_x[2] := glob_h;
> #Jump Series array_y;
> order_diff := 3;
> #START PART 1 SUM AND ADJUST
> #START SUM AND ADJUST EQ =1
> #sum_and_adjust array_y
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 3;
> calc_term := 1;
> #adjust_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[3,iii] := array_y_higher[3,iii] / expt(glob_h , c(calc_term - 1)) / c(factorial_3(iii - calc_term , iii - 1));
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := glob__0;
> ord := 3;
> calc_term := 1;
> #sum_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , c(calc_term - 1)) / c(factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 2;
> calc_term := 2;
> #adjust_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[2,iii] := array_y_higher[2,iii] / expt(glob_h , c(calc_term - 1)) / c(factorial_3(iii - calc_term , iii - 1));
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := glob__0;
> ord := 2;
> calc_term := 2;
> #sum_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , c(calc_term - 1)) / c(factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 2;
> calc_term := 1;
> #adjust_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[2,iii] := array_y_higher[2,iii] / expt(glob_h , c(calc_term - 1)) / c(factorial_3(iii - calc_term , iii - 1));
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := glob__0;
> ord := 2;
> calc_term := 1;
> #sum_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , c(calc_term - 1)) / c(factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 1;
> calc_term := 3;
> #adjust_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[1,iii] := array_y_higher[1,iii] / expt(glob_h , c(calc_term - 1)) / c(factorial_3(iii - calc_term , iii - 1));
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := glob__0;
> ord := 1;
> calc_term := 3;
> #sum_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , c(calc_term - 1)) / c(factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 1;
> calc_term := 2;
> #adjust_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[1,iii] := array_y_higher[1,iii] / expt(glob_h , c(calc_term - 1)) / c(factorial_3(iii - calc_term , iii - 1));
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := glob__0;
> ord := 1;
> calc_term := 2;
> #sum_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , c(calc_term - 1)) / c(factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 1;
> calc_term := 1;
> #adjust_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[1,iii] := array_y_higher[1,iii] / expt(glob_h , c(calc_term - 1)) / c(factorial_3(iii - calc_term , iii - 1));
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := glob__0;
> ord := 1;
> calc_term := 1;
> #sum_subseriesarray_y
> iii := ATS_MAX_TERMS;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , c(calc_term - 1)) / c(factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #END SUM AND ADJUST EQ =1
> #END PART 1
> #START PART 2 MOVE TERMS to REGULAR Array
> term_no := ATS_MAX_TERMS;
> while (term_no >= 1) do # do number 2
> array_y[term_no] := array_y_higher_work2[1,term_no];
> ord := 1;
> while (ord <= order_diff) do # do number 3
> array_y_higher[ord,term_no] := array_y_higher_work2[ord,term_no];
> ord := ord + 1;
> od;# end do number 3;
> term_no := term_no - 1;
> od;# end do number 2;
> #END PART 2 HEVE MOVED TERMS to REGULAR Array
> ;
> od;# end do number 1;#right paren 0001C
> omniout_str(ALWAYS,"Finished!");
> if (glob_iter >= glob_max_iter) then # if number 10
> omniout_str(ALWAYS,"Maximum Iterations Reached before Solution Completed!");
> fi;# end if 10;
> if (elapsed_time_seconds() - (glob_orig_start_sec) >= (glob_max_sec )) then # if number 10
> omniout_str(ALWAYS,"Maximum Time Reached before Solution Completed!");
> fi;# end if 10;
> glob_clock_sec := elapsed_time_seconds();
> omniout_str(INFO,"diff ( y , x , 2 ) = diff ( y , x , 1 ) ; ");
> omniout_int(INFO,"Iterations ",32,glob_iter,4," ")
> ;
> prog_report(x_start,x_end);
> if (glob_html_log) then # if number 10
> logstart(html_log_file);
> logitem_str(html_log_file,"2015-05-02T17:36:53-05:00")
> ;
> logitem_str(html_log_file,"Maple")
> ;
> logitem_str(html_log_file,"diff_B")
> ;
> logitem_str(html_log_file,"diff ( y , x , 2 ) = diff ( y , x , 1 ) ; ")
> ;
> 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_h_reason(html_log_file)
> ;
> logitem_integer(html_log_file,Digits)
> ;
> ;
> logitem_float(html_log_file,glob_desired_digits_correct)
> ;
> if (array_est_digits[1] <> -16) then # if number 11
> logitem_integer(html_log_file,array_est_digits[1])
> ;
> else
> logitem_str(html_log_file,"Unknown")
> ;
> fi;# end if 11;
> if (glob_min_good_digits <> -16) then # if number 11
> logitem_integer(html_log_file,glob_min_good_digits)
> ;
> else
> logitem_str(html_log_file,"Unknown")
> ;
> fi;# end if 11;
> if (glob_good_digits <> -16) then # if number 11
> logitem_integer(html_log_file,glob_good_digits)
> ;
> else
> logitem_str(html_log_file,"Unknown")
> ;
> fi;# end if 11;
> logitem_str(html_log_file,"NA")
> ;
> logitem_str(html_log_file,"NA")
> ;
> logitem_integer(html_log_file,ATS_MAX_TERMS)
> ;
> if (glob_type_given_pole = 0) then # if number 11
> logitem_str(html_log_file,"Not Given")
> ;
> logitem_str(html_log_file,"NA")
> ;
> elif
> (glob_type_given_pole = 4) then # if number 12
> logitem_str(html_log_file,"No Solution")
> ;
> logitem_str(html_log_file,"NA")
> ;
> elif
> (glob_type_given_pole = 5) then # if number 13
> logitem_str(html_log_file,"Some Pole")
> ;
> logitem_str(html_log_file,"????")
> ;
> elif
> (glob_type_given_pole = 3) then # if number 14
> logitem_str(html_log_file,"No Pole")
> ;
> logitem_str(html_log_file,"NA")
> ;
> elif
> (glob_type_given_pole = 1) then # if number 15
> logitem_str(html_log_file,"Real Sing")
> ;
> logitem_float(html_log_file,glob_least_given_sing)
> ;
> elif
> (glob_type_given_pole = 2) then # if number 16
> logitem_str(html_log_file,"Complex Sing")
> ;
> logitem_float(html_log_file,glob_least_given_sing)
> ;
> fi;# end if 16;
> if (glob_least_ratio_sing < glob_large_float) then # if number 16
> logitem_float(html_log_file,glob_least_ratio_sing)
> ;
> else
> logitem_str(html_log_file,"NONE")
> ;
> fi;# end if 16;
> if (glob_least_3_sing < glob_large_float) then # if number 16
> logitem_float(html_log_file,glob_least_3_sing)
> ;
> else
> logitem_str(html_log_file,"NONE")
> ;
> fi;# end if 16;
> if (glob_least_6_sing < glob_large_float) then # if number 16
> logitem_float(html_log_file,glob_least_6_sing)
> ;
> else
> logitem_str(html_log_file,"NONE")
> ;
> fi;# end if 16;
> logitem_integer(html_log_file,glob_iter)
> ;
> logitem_time(html_log_file,(glob_clock_sec))
> ;
> if (c(glob_percent_done) < glob__100) then # if number 16
> logitem_time(html_log_file,(glob_total_exp_sec))
> ;
> 0;
> else
> logitem_str(html_log_file,"Done")
> ;
> 0;
> fi;# end if 16;
> log_revs(html_log_file," 308.maple.seems.ok | ")
> ;
> logitem_str(html_log_file,"diff_B diffeq.mxt")
> ;
> logitem_str(html_log_file,"diff_B maple results")
> ;
> logitem_str(html_log_file,"OK")
> ;
> logend(html_log_file)
> ;
> ;
> fi;# end if 15;
> if (glob_html_log) then # if number 15
> fclose(html_log_file);
> fi;# end if 15
> ;
> ;;
> fi;# end if 14
> #END OUTFILEMAIN
> end;
main := proc()
local d1, d2, d3, d4, est_err_2, niii, done_once, max_terms, display_max,
term, ord, order_diff, term_no, html_log_file, iiif, jjjf, rows, r_order,
sub_iter, calc_term, iii, temp_sum, current_iter, x_start, x_end, it,
last_min_pole_est, opt_iter, tmp, subiter, est_needed_step_err,
estimated_step_error, min_value, est_answer, found_h, repeat_it;
global ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, glob_iolevel, glob_yes_pole,
glob_no_pole, glob_not_given, glob_no_sing_tests, glob_ratio_test,
glob_three_term_test, glob_six_term_test, glob_log_10, MAX_UNCHANGED,
glob__small, glob_small_float, glob_smallish_float, glob_large_float,
glob_larger_float, glob__m2, glob__m1, glob__0, glob__1, glob__2, glob__3,
glob__4, glob__5, glob__8, glob__10, glob__100, glob__pi, glob__0_5,
glob__0_8, glob__m0_8, glob__0_25, glob__0_125, glob_prec, glob_check_sign,
glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_total_exp_sec,
glob_optimal_expect_sec, glob_estimated_size_answer, glob_almost_1,
glob_clock_sec, glob_clock_start_sec, glob_disp_incr, glob_h,
glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_diff_ord_fm,
glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_six_term_ord_save,
glob_guess_error_rc, glob_guess_error_ord, glob_least_given_sing,
glob_least_ratio_sing, glob_least_3_sing, glob_least_6_sing,
glob_last_good_h, glob_max_h, glob_min_h, glob_display_interval,
glob_abserr, glob_relerr, glob_min_pole_est, glob_max_rel_trunc_err,
glob_max_trunc_err, glob_max_hours, glob_optimal_clock_start_sec,
glob_optimal_start, glob_upper_ratio_limit, glob_lower_ratio_limit,
glob_max_sec, glob_orig_start_sec, glob_normmax, glob_max_minutes,
glob_next_display, glob_est_digits, glob_subiter_method, glob_html_log,
glob_min_good_digits, glob_good_digits, glob_min_apfp_est_good_digits,
glob_apfp_est_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_h_reason, glob_sec_in_minute,
glob_min_in_hour, glob_hours_in_day, glob_days_in_year, glob_sec_in_hour,
glob_sec_in_day, glob_sec_in_year, glob_not_yet_finished, glob_initial_pass,
glob_not_yet_start_msg, glob_reached_optimal_h, glob_optimal_done,
glob_type_given_pole, glob_optimize, glob_look_poles, glob_dump_closed_form,
glob_max_iter, glob_no_eqs, glob_unchanged_h_cnt, glob_warned, glob_warned2,
glob_start, glob_iter, array_const_2, array_const_0D0, array_const_1,
array_y_init, array_norms, array_fact_1, array_1st_rel_error,
array_last_rel_error, array_est_rel_error, array_max_est_error,
array_type_pole, array_type_real_pole, array_type_complex_pole,
array_est_digits, array_y, array_x, array_tmp0, array_tmp1, array_tmp2,
array_m1, array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_given_rad_poles, array_given_ord_poles,
array_rad_test_poles, array_ord_test_poles, array_fact_2, ATS_MAX_TERMS,
glob_last;
ATS_MAX_TERMS := 30;
Digits := 32;
max_terms := 30;
glob_html_log := true;
array_y_init := Array(0 .. 30, []);
array_norms := Array(0 .. 30, []);
array_fact_1 := Array(0 .. 30, []);
array_1st_rel_error := Array(0 .. 2, []);
array_last_rel_error := Array(0 .. 2, []);
array_est_rel_error := Array(0 .. 2, []);
array_max_est_error := Array(0 .. 2, []);
array_type_pole := Array(0 .. 2, []);
array_type_real_pole := Array(0 .. 2, []);
array_type_complex_pole := Array(0 .. 2, []);
array_est_digits := Array(0 .. 2, []);
array_y := Array(0 .. 30, []);
array_x := Array(0 .. 30, []);
array_tmp0 := Array(0 .. 30, []);
array_tmp1 := Array(0 .. 30, []);
array_tmp2 := Array(0 .. 30, []);
array_m1 := Array(0 .. 30, []);
array_y_higher := Array(0 .. 3, 0 .. 31, []);
array_y_higher_work := Array(0 .. 3, 0 .. 31, []);
array_y_higher_work2 := Array(0 .. 3, 0 .. 31, []);
array_y_set_initial := Array(0 .. 2, 0 .. 31, []);
array_given_rad_poles := Array(0 .. 2, 0 .. 4, []);
array_given_ord_poles := Array(0 .. 2, 0 .. 4, []);
array_rad_test_poles := Array(0 .. 2, 0 .. 5, []);
array_ord_test_poles := Array(0 .. 2, 0 .. 5, []);
array_fact_2 := Array(0 .. 30, 0 .. 31, []);
term := 1;
while term <= 30 do array_y_init[term] := c(0.); term := term + 1
end do;
term := 1;
while term <= 30 do array_norms[term] := c(0.); term := term + 1 end do
;
term := 1;
while term <= 30 do array_fact_1[term] := c(0.); term := term + 1
end do;
term := 1;
while term <= 2 do array_1st_rel_error[term] := c(0.); term := term + 1
end do;
term := 1;
while term <= 2 do
array_last_rel_error[term] := c(0.); term := term + 1
end do;
term := 1;
while term <= 2 do array_est_rel_error[term] := c(0.); term := term + 1
end do;
term := 1;
while term <= 2 do array_max_est_error[term] := c(0.); term := term + 1
end do;
term := 1;
while term <= 2 do array_type_pole[term] := 0; term := term + 1 end do;
term := 1;
while term <= 2 do array_type_real_pole[term] := 0; term := term + 1
end do;
term := 1;
while term <= 2 do array_type_complex_pole[term] := 0; term := term + 1
end do;
term := 1;
while term <= 2 do array_est_digits[term] := 0; term := term + 1 end do
;
term := 1;
while term <= 30 do array_y[term] := c(0.); term := term + 1 end do;
term := 1;
while term <= 30 do array_x[term] := c(0.); term := term + 1 end do;
term := 1;
while term <= 30 do array_tmp0[term] := c(0.); term := term + 1 end do;
term := 1;
while term <= 30 do array_tmp1[term] := c(0.); term := term + 1 end do;
term := 1;
while term <= 30 do array_tmp2[term] := c(0.); term := term + 1 end do;
term := 1;
while term <= 30 do array_m1[term] := c(0.); term := term + 1 end do;
ord := 1;
while ord <= 3 do
term := 1;
while term <= 30 do
array_y_higher[ord, term] := c(0.); term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 3 do
term := 1;
while term <= 30 do
array_y_higher_work[ord, term] := c(0.); term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 3 do
term := 1;
while term <= 30 do
array_y_higher_work2[ord, term] := c(0.); term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 30 do
array_y_set_initial[ord, term] := c(0.); term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do
array_given_rad_poles[ord, term] := c(0.); term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do
array_given_ord_poles[ord, term] := c(0.); term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 4 do
array_rad_test_poles[ord, term] := c(0.); term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 4 do
array_ord_test_poles[ord, term] := c(0.); term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 30 do
term := 1;
while term <= 30 do
array_fact_2[ord, term] := c(0.); term := term + 1
end do;
ord := ord + 1
end do;
zero_ats_ar(array_y);
zero_ats_ar(array_x);
zero_ats_ar(array_tmp0);
zero_ats_ar(array_tmp1);
zero_ats_ar(array_tmp2);
zero_ats_ar(array_m1);
zero_ats_ar(array_const_2);
array_const_2[1] := c(2);
zero_ats_ar(array_const_0D0);
array_const_0D0[1] := c(0.);
zero_ats_ar(array_const_1);
array_const_1[1] := c(1);
zero_ats_ar(array_m1);
array_m1[1] := glob__m1;
iiif := 0;
while iiif <= ATS_MAX_TERMS do
jjjf := 0;
while jjjf <= ATS_MAX_TERMS do
array_fact_1[iiif] := 0;
array_fact_2[iiif, jjjf] := 0;
jjjf := jjjf + 1
end do;
iiif := iiif + 1
end do;
ALWAYS := 1;
INFO := 2;
DEBUGL := 3;
DEBUGMASSIVE := 4;
glob_iolevel := 5;
glob_yes_pole := 4;
glob_no_pole := 3;
glob_not_given := 0;
glob_no_sing_tests := 4;
glob_ratio_test := 1;
glob_three_term_test := 2;
glob_six_term_test := 3;
glob_log_10 := log(c(10.0));
MAX_UNCHANGED := 10;
glob__small := c(0.1*10^(-50));
glob_small_float := c(0.1*10^(-50));
glob_smallish_float := c(0.1*10^(-60));
glob_large_float := c(0.10*10^101);
glob_larger_float := c(0.11*10^101);
glob__m2 := c(-2);
glob__m1 := c(-1);
glob__0 := c(0);
glob__1 := c(1);
glob__2 := c(2);
glob__3 := c(3);
glob__4 := c(4);
glob__5 := c(5);
glob__8 := c(8);
glob__10 := c(10);
glob__100 := c(100);
glob__pi := c(0.);
glob__0_5 := c(0.5);
glob__0_8 := c(0.8);
glob__m0_8 := c(-0.8);
glob__0_25 := c(0.25);
glob__0_125 := c(0.125);
glob_prec := c(0.10*10^(-15));
glob_check_sign := c(1.0);
glob_desired_digits_correct := c(8.0);
glob_max_estimated_step_error := c(0.);
glob_ratio_of_radius := c(0.1);
glob_percent_done := c(0.);
glob_total_exp_sec := c(0.1);
glob_optimal_expect_sec := c(0.1);
glob_estimated_size_answer := c(100.0);
glob_almost_1 := c(0.9990);
glob_clock_sec := c(0.);
glob_clock_start_sec := c(0.);
glob_disp_incr := c(0.1);
glob_h := c(0.1);
glob_diff_rc_fm := c(0.1);
glob_diff_rc_fmm1 := c(0.1);
glob_diff_rc_fmm2 := c(0.1);
glob_diff_ord_fm := c(0.1);
glob_diff_ord_fmm1 := c(0.1);
glob_diff_ord_fmm2 := c(0.1);
glob_six_term_ord_save := c(0.1);
glob_guess_error_rc := c(0.1);
glob_guess_error_ord := c(0.1);
glob_least_given_sing := c(0.99*10^201);
glob_least_ratio_sing := c(0.99*10^201);
glob_least_3_sing := c(0.99*10^101);
glob_least_6_sing := c(0.99*10^101);
glob_last_good_h := c(0.1);
glob_max_h := c(0.1);
glob_min_h := c(0.1*10^(-5));
glob_display_interval := c(0.1);
glob_abserr := c(0.1*10^(-10));
glob_relerr := c(0.1*10^(-10));
glob_min_pole_est := c(0.1*10^10);
glob_max_rel_trunc_err := c(0.1*10^(-10));
glob_max_trunc_err := c(0.1*10^(-10));
glob_max_hours := c(0.);
glob_optimal_clock_start_sec := c(0.);
glob_optimal_start := c(0.);
glob_upper_ratio_limit := c(1.0001);
glob_lower_ratio_limit := c(0.9999);
glob_max_sec := c(10000.0);
glob_orig_start_sec := c(0.);
glob_normmax := c(0.);
glob_max_minutes := c(0.);
glob_next_display := c(0.);
glob_est_digits := 1;
glob_subiter_method := 3;
glob_html_log := true;
glob_min_good_digits := 99999;
glob_good_digits := 0;
glob_min_apfp_est_good_digits := 99999;
glob_apfp_est_good_digits := 0;
glob_max_opt_iter := 10;
glob_dump := false;
glob_djd_debug := true;
glob_display_flag := true;
glob_djd_debug2 := true;
glob_h_reason := 0;
glob_sec_in_minute := 60;
glob_min_in_hour := 60;
glob_hours_in_day := 24;
glob_days_in_year := 365;
glob_sec_in_hour := 3600;
glob_sec_in_day := 86400;
glob_sec_in_year := 31536000;
glob_not_yet_finished := true;
glob_initial_pass := true;
glob_not_yet_start_msg := true;
glob_reached_optimal_h := false;
glob_optimal_done := false;
glob_type_given_pole := 0;
glob_optimize := false;
glob_look_poles := false;
glob_dump_closed_form := false;
glob_max_iter := 1000;
glob_no_eqs := 0;
glob_unchanged_h_cnt := 0;
glob_warned := false;
glob_warned2 := false;
glob_start := 0;
glob_iter := 0;
array_y_set_initial[1, 1] := true;
array_y_set_initial[1, 2] := true;
array_y_set_initial[1, 3] := false;
array_y_set_initial[1, 4] := false;
array_y_set_initial[1, 5] := false;
array_y_set_initial[1, 6] := false;
array_y_set_initial[1, 7] := false;
array_y_set_initial[1, 8] := false;
array_y_set_initial[1, 9] := false;
array_y_set_initial[1, 10] := false;
array_y_set_initial[1, 11] := false;
array_y_set_initial[1, 12] := false;
array_y_set_initial[1, 13] := false;
array_y_set_initial[1, 14] := false;
array_y_set_initial[1, 15] := false;
array_y_set_initial[1, 16] := false;
array_y_set_initial[1, 17] := false;
array_y_set_initial[1, 18] := false;
array_y_set_initial[1, 19] := false;
array_y_set_initial[1, 20] := false;
array_y_set_initial[1, 21] := false;
array_y_set_initial[1, 22] := false;
array_y_set_initial[1, 23] := false;
array_y_set_initial[1, 24] := false;
array_y_set_initial[1, 25] := false;
array_y_set_initial[1, 26] := false;
array_y_set_initial[1, 27] := false;
array_y_set_initial[1, 28] := false;
array_y_set_initial[1, 29] := false;
array_y_set_initial[1, 30] := false;
ALWAYS := 1;
INFO := 2;
DEBUGL := 3;
DEBUGMASSIVE := 4;
ATS_MAX_TERMS := 30;
glob_iolevel := INFO;
glob_orig_start_sec := elapsed_time_seconds();
glob_display_flag := true;
glob_no_eqs := 1;
glob_iter := -1;
opt_iter := -1;
glob_max_iter := 50000;
glob_max_hours := 0.;
glob_max_minutes := 15.0;
omniout_str(ALWAYS, "##############ECHO OF PROBLEM#################");
omniout_str(ALWAYS,
"##############temp/diff_Bpostode.ode#################");
omniout_str(ALWAYS,
"diff ( y , x , 2 ) = diff ( y , x , 1 ) ; ");
omniout_str(ALWAYS, "!");
omniout_str(ALWAYS, "#BEGIN FIRST INPUT BLOCK");
omniout_str(ALWAYS, "Digits:=32;");
omniout_str(ALWAYS, "max_terms:=30;");
omniout_str(ALWAYS, "!");
omniout_str(ALWAYS, "#END FIRST INPUT BLOCK");
omniout_str(ALWAYS, "#BEGIN SECOND INPUT BLOCK");
omniout_str(ALWAYS, "x_start := c(1.0);");
omniout_str(ALWAYS, "x_end := c(5.0) ;");
omniout_str(ALWAYS, "array_y_init[0 + 1] := exact_soln_y(x_start);");
omniout_str(ALWAYS, "array_y_init[1 + 1] := exact_soln_yp(x_start);");
omniout_str(ALWAYS, "glob_look_poles := true;");
omniout_str(ALWAYS, "");
omniout_str(ALWAYS, "");
omniout_str(ALWAYS, "");
omniout_str(ALWAYS, "");
omniout_str(ALWAYS, "");
omniout_str(ALWAYS, "");
omniout_str(ALWAYS, "");
omniout_str(ALWAYS, "glob_type_given_pole := 3;");
omniout_str(ALWAYS, "#END SECOND INPUT BLOCK");
omniout_str(ALWAYS, "#BEGIN OVERRIDE BLOCK");
omniout_str(ALWAYS, "glob_desired_digits_correct:=8;");
omniout_str(ALWAYS, "glob_max_minutes:=(3.0);");
omniout_str(ALWAYS, "glob_subiter_method:=3;");
omniout_str(ALWAYS, "glob_max_iter:=100000;");
omniout_str(ALWAYS, "glob_upper_ratio_limit:=c(1.0000001);");
omniout_str(ALWAYS, "glob_lower_ratio_limit:=c(0.9999999);");
omniout_str(ALWAYS, "glob_look_poles:=true;");
omniout_str(ALWAYS, "glob_h:=c(0.001);");
omniout_str(ALWAYS, "glob_display_interval:=c(0.01);");
omniout_str(ALWAYS, "#END OVERRIDE BLOCK");
omniout_str(ALWAYS, "!");
omniout_str(ALWAYS, "#BEGIN USER DEF BLOCK");
omniout_str(ALWAYS, "exact_soln_y := proc(x)");
omniout_str(ALWAYS, "return(c(1.0) + exp(c(x)));");
omniout_str(ALWAYS, "end;");
omniout_str(ALWAYS, "exact_soln_yp := proc(x)");
omniout_str(ALWAYS, "return(exp(c(x)));");
omniout_str(ALWAYS, "end;");
omniout_str(ALWAYS, "exact_soln_ypp := proc(x)");
omniout_str(ALWAYS, "return(exp(c(x)));");
omniout_str(ALWAYS, "end;");
omniout_str(ALWAYS, "");
omniout_str(ALWAYS, "#END USER DEF BLOCK");
omniout_str(ALWAYS, "#######END OF ECHO OF PROBLEM#################");
glob_unchanged_h_cnt := 0;
glob_warned := false;
glob_warned2 := false;
glob_small_float := glob__0;
glob_smallish_float := glob__0;
glob_large_float := c(0.10*10^101);
glob_larger_float := c(0.11*10^101);
glob_almost_1 := c(0.99);
x_start := c(1.0);
x_end := c(5.0);
array_y_init[1] := exact_soln_y(x_start);
array_y_init[2] := exact_soln_yp(x_start);
glob_look_poles := true;
glob_type_given_pole := 3;
glob_desired_digits_correct := 8;
glob_max_minutes := 3.0;
glob_subiter_method := 3;
glob_max_iter := 100000;
glob_upper_ratio_limit := c(1.0000001);
glob_lower_ratio_limit := c(0.9999999);
glob_look_poles := true;
glob_h := c(0.001);
glob_display_interval := c(0.01);
glob_last_good_h := glob_h;
glob_max_sec := 60.0*glob_max_minutes + 3600.0*glob_max_hours;
glob_check_sign := c(my_check_sign(x_start, x_end));
glob__pi := arccos(glob__m1);
glob_prec = expt(10.0, c(-Digits));
if glob_optimize then
omniout_str(ALWAYS, "START of Optimize");
found_h := false;
glob_min_pole_est := glob_larger_float;
last_min_pole_est := glob_larger_float;
glob_least_given_sing := glob_larger_float;
glob_least_ratio_sing := glob_larger_float;
glob_least_3_sing := glob_larger_float;
glob_least_6_sing := glob_larger_float;
glob_min_h := float_abs(glob_min_h)*glob_check_sign;
glob_max_h := float_abs(glob_max_h)*glob_check_sign;
glob_h := float_abs(glob_min_h)*glob_check_sign;
glob_display_interval :=
c(float_abs(c(glob_display_interval))*glob_check_sign);
display_max := c(x_end) - c(x_start)/glob__10;
if display_max < glob_display_interval then
glob_display_interval := c(display_max)
end if;
chk_data();
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 := glob_small_float;
while opt_iter <= 100 and not found_h do
omniout_int(ALWAYS, "opt_iter", 32, opt_iter, 4, "");
array_x[1] := c(x_start);
array_x[2] := c(glob_h);
glob_next_display := c(x_start);
order_diff := 2;
term_no := 1;
while term_no <= order_diff do
array_y[term_no] := array_y_init[term_no]*
expt(glob_h, c(term_no - 1))/
c(factorial_1(term_no - 1));
term_no := term_no + 1
end do;
rows := order_diff;
r_order := 1;
while r_order <= rows do
term_no := 1;
while term_no <= rows - r_order + 1 do
it := term_no + r_order - 1;
if term_no < ATS_MAX_TERMS then
array_y_higher[r_order, term_no] :=
array_y_init[it]*expt(glob_h, c(term_no - 1))/
c(factorial_1(term_no - 1))
end if;
term_no := term_no + 1
end do;
r_order := r_order + 1
end do;
atomall();
if glob_check_sign*glob_h <= glob_check_sign*glob_min_h then
omniout_str(ALWAYS, "SETTING H FOR MIN H");
glob_h := float_abs(glob_min_h)*glob_check_sign;
glob_h_reason := 1;
found_h := true
end if;
if
glob_check_sign*glob_display_interval <= glob_check_sign*glob_h
then
omniout_str(ALWAYS, "SETTING H FOR DISPLAY INTERVAL");
glob_h_reason := 2;
glob_h := glob_display_interval;
found_h := true
end if;
if glob_look_poles then check_for_pole() end if;
if not found_h then
est_answer := est_size_answer();
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 := test_suggested_h();
omniout_float(ALWAYS, "estimated_step_error", 32,
estimated_step_error, 32, "");
if estimated_step_error < est_needed_step_err then
omniout_str(ALWAYS, "Double H and LOOP");
glob_h := glob_h*glob__2
else
omniout_str(ALWAYS, "Found H for OPTIMAL");
found_h := true;
glob_h_reason := 3;
glob_h := glob_h/glob__2
end if
end if;
opt_iter := opt_iter + 1
end do;
if not found_h and opt_iter = 1 then
omniout_str(ALWAYS, "Beginning glob_h too large.");
found_h := false
end if;
if glob_check_sign*glob_max_h <= glob_check_sign*glob_h then
omniout_str(ALWAYS, "SETTING H FOR MAX H");
glob_h := float_abs(glob_max_h)*glob_check_sign;
glob_h_reason := 1;
found_h := true
end if
else found_h := true; glob_h := glob_check_sign*glob_h
end if;
if glob_html_log then html_log_file := fopen("entry.html", WRITE, TEXT)
end if;
if found_h then
omniout_str(ALWAYS, "START of Soultion");
array_x[1] := c(x_start);
array_x[2] := c(glob_h);
glob_next_display := c(x_start);
glob_min_pole_est := glob_larger_float;
glob_least_given_sing := glob_larger_float;
glob_least_ratio_sing := glob_larger_float;
glob_least_3_sing := glob_larger_float;
glob_least_6_sing := glob_larger_float;
order_diff := 2;
term_no := 1;
while term_no <= order_diff do
array_y[term_no] := array_y_init[term_no]*
expt(glob_h, c(term_no - 1))/c(factorial_1(term_no - 1));
term_no := term_no + 1
end do;
rows := order_diff;
r_order := 1;
while r_order <= rows do
term_no := 1;
while term_no <= rows - r_order + 1 do
it := term_no + r_order - 1;
if term_no < ATS_MAX_TERMS then
array_y_higher[r_order, term_no] := array_y_init[it]*
expt(glob_h, c(term_no - 1))/
c(factorial_1(term_no - 1))
end if;
term_no := term_no + 1
end do;
r_order := r_order + 1
end do;
current_iter := 1;
glob_clock_start_sec := elapsed_time_seconds();
glob_clock_sec := elapsed_time_seconds();
glob_iter := 0;
omniout_str(DEBUGL, " ");
glob_reached_optimal_h := true;
glob_optimal_clock_start_sec := elapsed_time_seconds();
while glob_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")
end if;
glob_iter := glob_iter + 1;
glob_clock_sec := elapsed_time_seconds();
track_estimated_error();
atomall();
track_estimated_error();
display_alot(current_iter);
if glob_look_poles then check_for_pole() end if;
if reached_interval() then glob_next_display :=
glob_next_display + glob_display_interval
end if;
array_x[1] := array_x[1] + glob_h;
array_x[2] := glob_h;
order_diff := 3;
ord := 3;
calc_term := 1;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
array_y_higher_work[3, iii] := array_y_higher[3, iii]/(
expt(glob_h, c(calc_term - 1))*
c(factorial_3(iii - calc_term, iii - 1)));
iii := iii - 1
end do;
temp_sum := glob__0;
ord := 3;
calc_term := 1;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, c(calc_term - 1))/
c(factorial_1(calc_term - 1));
ord := 2;
calc_term := 2;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
array_y_higher_work[2, iii] := array_y_higher[2, iii]/(
expt(glob_h, c(calc_term - 1))*
c(factorial_3(iii - calc_term, iii - 1)));
iii := iii - 1
end do;
temp_sum := glob__0;
ord := 2;
calc_term := 2;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, c(calc_term - 1))/
c(factorial_1(calc_term - 1));
ord := 2;
calc_term := 1;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
array_y_higher_work[2, iii] := array_y_higher[2, iii]/(
expt(glob_h, c(calc_term - 1))*
c(factorial_3(iii - calc_term, iii - 1)));
iii := iii - 1
end do;
temp_sum := glob__0;
ord := 2;
calc_term := 1;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, c(calc_term - 1))/
c(factorial_1(calc_term - 1));
ord := 1;
calc_term := 3;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
array_y_higher_work[1, iii] := array_y_higher[1, iii]/(
expt(glob_h, c(calc_term - 1))*
c(factorial_3(iii - calc_term, iii - 1)));
iii := iii - 1
end do;
temp_sum := glob__0;
ord := 1;
calc_term := 3;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, c(calc_term - 1))/
c(factorial_1(calc_term - 1));
ord := 1;
calc_term := 2;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
array_y_higher_work[1, iii] := array_y_higher[1, iii]/(
expt(glob_h, c(calc_term - 1))*
c(factorial_3(iii - calc_term, iii - 1)));
iii := iii - 1
end do;
temp_sum := glob__0;
ord := 1;
calc_term := 2;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, c(calc_term - 1))/
c(factorial_1(calc_term - 1));
ord := 1;
calc_term := 1;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
array_y_higher_work[1, iii] := array_y_higher[1, iii]/(
expt(glob_h, c(calc_term - 1))*
c(factorial_3(iii - calc_term, iii - 1)));
iii := iii - 1
end do;
temp_sum := glob__0;
ord := 1;
calc_term := 1;
iii := ATS_MAX_TERMS;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, c(calc_term - 1))/
c(factorial_1(calc_term - 1));
term_no := ATS_MAX_TERMS;
while 1 <= term_no do
array_y[term_no] := array_y_higher_work2[1, term_no];
ord := 1;
while ord <= order_diff do
array_y_higher[ord, term_no] :=
array_y_higher_work2[ord, term_no];
ord := ord + 1
end do;
term_no := term_no - 1
end do
end do;
omniout_str(ALWAYS, "Finished!");
if glob_max_iter <= glob_iter then omniout_str(ALWAYS,
"Maximum Iterations Reached before Solution Completed!")
end if;
if glob_max_sec <= elapsed_time_seconds() - glob_orig_start_sec
then omniout_str(ALWAYS,
"Maximum Time Reached before Solution Completed!")
end if;
glob_clock_sec := elapsed_time_seconds();
omniout_str(INFO,
"diff ( y , x , 2 ) = diff ( y , x , 1 ) ; ")
;
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, "2015-05-02T17:36:53-05:00");
logitem_str(html_log_file, "Maple");
logitem_str(html_log_file,
"diff_B");
logitem_str(html_log_file, "diff ( y , x , 2 ) = di\
ff ( y , x , 1 ) ; ");
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_h_reason(html_log_file);
logitem_integer(html_log_file, Digits);
logitem_float(html_log_file, glob_desired_digits_correct);
if array_est_digits[1] <> -16 then
logitem_integer(html_log_file, array_est_digits[1])
else logitem_str(html_log_file, "Unknown")
end if;
if glob_min_good_digits <> -16 then
logitem_integer(html_log_file, glob_min_good_digits)
else logitem_str(html_log_file, "Unknown")
end if;
if glob_good_digits <> -16 then
logitem_integer(html_log_file, glob_good_digits)
else logitem_str(html_log_file, "Unknown")
end if;
logitem_str(html_log_file, "NA");
logitem_str(html_log_file, "NA");
logitem_integer(html_log_file, ATS_MAX_TERMS);
if glob_type_given_pole = 0 then
logitem_str(html_log_file, "Not Given");
logitem_str(html_log_file, "NA")
elif glob_type_given_pole = 4 then
logitem_str(html_log_file, "No Solution");
logitem_str(html_log_file, "NA")
elif glob_type_given_pole = 5 then
logitem_str(html_log_file, "Some Pole");
logitem_str(html_log_file, "????")
elif glob_type_given_pole = 3 then
logitem_str(html_log_file, "No Pole");
logitem_str(html_log_file, "NA")
elif glob_type_given_pole = 1 then
logitem_str(html_log_file, "Real Sing");
logitem_float(html_log_file, glob_least_given_sing)
elif glob_type_given_pole = 2 then
logitem_str(html_log_file, "Complex Sing");
logitem_float(html_log_file, glob_least_given_sing)
end if;
if glob_least_ratio_sing < glob_large_float then
logitem_float(html_log_file, glob_least_ratio_sing)
else logitem_str(html_log_file, "NONE")
end if;
if glob_least_3_sing < glob_large_float then
logitem_float(html_log_file, glob_least_3_sing)
else logitem_str(html_log_file, "NONE")
end if;
if glob_least_6_sing < glob_large_float then
logitem_float(html_log_file, glob_least_6_sing)
else logitem_str(html_log_file, "NONE")
end if;
logitem_integer(html_log_file, glob_iter);
logitem_time(html_log_file, glob_clock_sec);
if c(glob_percent_done) < glob__100 then
logitem_time(html_log_file, glob_total_exp_sec); 0
else logitem_str(html_log_file, "Done"); 0
end if;
log_revs(html_log_file, " 308.maple.seems.ok | ");
logitem_str(html_log_file,
"diff_B diffeq.mxt");
logitem_str(html_log_file, "diff_B maple results");
logitem_str(html_log_file, "OK");
logend(html_log_file)
end if;
if glob_html_log then fclose(html_log_file) end if
end if
end proc
# End Function number 12
> main();
##############ECHO OF PROBLEM#################
##############temp/diff_Bpostode.ode#################
diff ( y , x , 2 ) = diff ( y , x , 1 ) ;
!
#BEGIN FIRST INPUT BLOCK
Digits:=32;
max_terms:=30;
!
#END FIRST INPUT BLOCK
#BEGIN SECOND INPUT BLOCK
x_start := c(1.0);
x_end := c(5.0) ;
array_y_init[0 + 1] := exact_soln_y(x_start);
array_y_init[1 + 1] := exact_soln_yp(x_start);
glob_look_poles := true;
glob_type_given_pole := 3;
#END SECOND INPUT BLOCK
#BEGIN OVERRIDE BLOCK
glob_desired_digits_correct:=8;
glob_max_minutes:=(3.0);
glob_subiter_method:=3;
glob_max_iter:=100000;
glob_upper_ratio_limit:=c(1.0000001);
glob_lower_ratio_limit:=c(0.9999999);
glob_look_poles:=true;
glob_h:=c(0.001);
glob_display_interval:=c(0.01);
#END OVERRIDE BLOCK
!
#BEGIN USER DEF BLOCK
exact_soln_y := proc(x)
return(c(1.0) + exp(c(x)));
end;
exact_soln_yp := proc(x)
return(exp(c(x)));
end;
exact_soln_ypp := proc(x)
return(exp(c(x)));
end;
#END USER DEF BLOCK
#######END OF ECHO OF PROBLEM#################
START of Soultion
TOP MAIN SOLVE Loop
x[1] = 1
y[1] (closed_form) = 3.7182818284590452353602874713527
y[1] (numeric) = 3.7182818284590452353602874713527
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 14
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=4.1MB, alloc=40.3MB, time=0.11
TOP MAIN SOLVE Loop
x[1] = 1.01
y[1] (closed_form) = 3.7456010150169164939897763166604
y[1] (numeric) = 3.7456010150169164939897763166603
absolute error = 1e-31
relative error = 2.6697985076114243763339212891923e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.02
y[1] (closed_form) = 3.7731947639642979167991997771454
y[1] (numeric) = 3.7731947639642979167991997771454
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.03
y[1] (closed_form) = 3.8010658346990791093697628196836
y[1] (numeric) = 3.8010658346990791093697628196837
absolute error = 1e-31
relative error = 2.6308410416657976747105335940055e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.04
y[1] (closed_form) = 3.8292170143515595195194860071813
y[1] (numeric) = 3.8292170143515595195194860071815
absolute error = 2e-31
relative error = 5.2229998783150201140125921434517e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.05
y[1] (closed_form) = 3.8576511180631637898643122162488
y[1] (numeric) = 3.8576511180631637898643122162489
absolute error = 1e-31
relative error = 2.5922510081784600620910437293571e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.06
y[1] (closed_form) = 3.8863709892679582462413752849215
y[1] (numeric) = 3.8863709892679582462413752849216
absolute error = 1e-31
relative error = 2.5730945469731423259602329086400e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.07
y[1] (closed_form) = 3.9153794999769966738778707729755
y[1] (numeric) = 3.9153794999769966738778707729756
absolute error = 1e-31
relative error = 2.5540308417252404790846409451920e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.08
y[1] (closed_form) = 3.9446795510655238161201013252344
y[1] (numeric) = 3.9446795510655238161201013252344
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.09
y[1] (closed_form) = 3.9742740725630653163119065891359
y[1] (numeric) = 3.974274072563065316311906589136
absolute error = 1e-31
relative error = 2.5161827839293577397920941555007e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=44.5MB, alloc=40.3MB, time=0.53
TOP MAIN SOLVE Loop
x[1] = 1.1
y[1] (closed_form) = 4.0041660239464331120584079535887
y[1] (numeric) = 4.0041660239464331120584079535888
absolute error = 1e-31
relative error = 2.4973989440488239579002315758794e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.11
y[1] (closed_form) = 4.0343583944356755826586664593838
y[1] (numeric) = 4.0343583944356755826586664593839
absolute error = 1e-31
relative error = 2.4787088856042984122701949176428e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.12
y[1] (closed_form) = 4.0648542032930020449686230918988
y[1] (numeric) = 4.064854203293002044968623091899
absolute error = 2e-31
relative error = 4.9202256710210385414612421556623e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.13
y[1] (closed_form) = 4.0956565001247114903930123270235
y[1] (numeric) = 4.0956565001247114903930123270237
absolute error = 2e-31
relative error = 4.8832220181040588008789969088441e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.14
y[1] (closed_form) = 4.1267683651861557561315562411795
y[1] (numeric) = 4.1267683651861557561315562411797
absolute error = 2e-31
relative error = 4.8464072199259028194700383140066e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.15
y[1] (closed_form) = 4.1581929096897676272507006280068
y[1] (numeric) = 4.1581929096897676272507006280069
absolute error = 1e-31
relative error = 2.4048908305088892541428064407456e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.16
y[1] (closed_form) = 4.1899332761161846726477912360218
y[1] (numeric) = 4.1899332761161846726477912360219
absolute error = 1e-31
relative error = 2.3866728515708958024998546611561e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.17
y[1] (closed_form) = 4.2219926385284999275505572724101
y[1] (numeric) = 4.2219926385284999275505572724102
absolute error = 1e-31
relative error = 2.3685498427314457054997231198529e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.18
y[1] (closed_form) = 4.2543742028896708478820285629729
y[1] (numeric) = 4.2543742028896708478820285629732
absolute error = 3e-31
relative error = 7.0515658870870586851916200131920e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=84.8MB, alloc=40.3MB, time=0.95
TOP MAIN SOLVE Loop
x[1] = 1.19
y[1] (closed_form) = 4.2870812073831182776508312036078
y[1] (numeric) = 4.2870812073831182776508312036082
absolute error = 4e-31
relative error = 9.3303574308582882720334105883040e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.2
y[1] (closed_form) = 4.3201169227365474895307674296016
y[1] (numeric) = 4.320116922736547489530767429602
absolute error = 4e-31
relative error = 9.2590086600392942827634939014622e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.21
y[1] (closed_form) = 4.3534846525490236810035894273757
y[1] (numeric) = 4.3534846525490236810035894273759
absolute error = 2e-31
relative error = 4.5940210190679624037189430264081e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.22
y[1] (closed_form) = 4.3871877336213346338871451880633
y[1] (numeric) = 4.3871877336213346338871451880636
absolute error = 3e-31
relative error = 6.8380935171964877637951444662023e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.23
y[1] (closed_form) = 4.4212295362896735737901523514522
y[1] (numeric) = 4.4212295362896735737901523514526
absolute error = 4e-31
relative error = 9.0472570292218478301930964286251e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.24
y[1] (closed_form) = 4.455613464762675598057615494122
y[1] (numeric) = 4.4556134647626755980576154941224
absolute error = 4e-31
relative error = 8.9774394292370613983494789766138e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.25
y[1] (closed_form) = 4.4903429574618413761305460296723
y[1] (numeric) = 4.4903429574618413761305460296727
absolute error = 4e-31
relative error = 8.9080055530123541200192180935383e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.26
y[1] (closed_form) = 4.5254214873653821649737080556228
y[1] (numeric) = 4.5254214873653821649737080556232
absolute error = 4e-31
relative error = 8.8389556888075126678950243125635e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.27
y[1] (closed_form) = 4.5608525623555205243594713895519
y[1] (numeric) = 4.5608525623555205243594713895525
absolute error = 6e-31
relative error = 1.3155435125272302719547149165182e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=125.2MB, alloc=40.3MB, time=1.38
TOP MAIN SOLVE Loop
x[1] = 1.28
y[1] (closed_form) = 4.5966397255692814623687184072408
y[1] (numeric) = 4.5966397255692814623687184072414
absolute error = 6e-31
relative error = 1.3053013414613250211818693369299e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.29
y[1] (closed_form) = 4.6327865557528090905156817025115
y[1] (numeric) = 4.6327865557528090905156817025122
absolute error = 7e-31
relative error = 1.5109696757576020664729599468712e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.3
y[1] (closed_form) = 4.6692966676192442204574899160115
y[1] (numeric) = 4.6692966676192442204574899160121
absolute error = 6e-31
relative error = 1.2849901017446483243874691664494e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.31
y[1] (closed_form) = 4.7061737122101986903463250122245
y[1] (numeric) = 4.706173712210198690346325012225
absolute error = 5e-31
relative error = 1.0624342206126958447997239570687e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.32
y[1] (closed_form) = 4.7434213772608625685580558298259
y[1] (numeric) = 4.7434213772608625685580558298264
absolute error = 5e-31
relative error = 1.0540914673887356375848799651688e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.33
y[1] (closed_form) = 4.7810433875687807458219777860331
y[1] (numeric) = 4.7810433875687807458219777860336
absolute error = 5e-31
relative error = 1.0457968260653165457860991539873e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.34
y[1] (closed_form) = 4.8190435053663357937181865600786
y[1] (numeric) = 4.8190435053663357937181865600792
absolute error = 6e-31
relative error = 1.2450603513578136555873012598798e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.35
y[1] (closed_form) = 4.8574255306969743381388389099302
y[1] (numeric) = 4.8574255306969743381388389099308
absolute error = 6e-31
relative error = 1.2352222308056839737550908572979e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.36
y[1] (closed_form) = 4.8961933017952145706641697713002
y[1] (numeric) = 4.8961933017952145706641697713007
absolute error = 5e-31
relative error = 1.0212015114204588628299703116440e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=165.5MB, alloc=40.3MB, time=1.78
TOP MAIN SOLVE Loop
x[1] = 1.37
y[1] (closed_form) = 4.9353506954704728989210772223787
y[1] (numeric) = 4.9353506954704728989210772223791
absolute error = 4e-31
relative error = 8.1047938572452173307664215119714e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.38
y[1] (closed_form) = 4.9749016274947481189091677809396
y[1] (numeric) = 4.97490162749474811890916778094
absolute error = 4e-31
relative error = 8.0403599900211749492719142491731e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.39
y[1] (closed_form) = 5.0148500529942018780345658588566
y[1] (numeric) = 5.014850052994201878034565858857
absolute error = 4e-31
relative error = 7.9763102739467388058716276432549e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.4
y[1] (closed_form) = 5.0551999668446745872241088952286
y[1] (numeric) = 5.055199966844674587224108895229
absolute error = 4e-31
relative error = 7.9126444576567300738262563379235e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.41
y[1] (closed_form) = 5.0959554040711763340407372797126
y[1] (numeric) = 5.0959554040711763340407372797129
absolute error = 3e-31
relative error = 5.8870216909733740239808058367504e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.42
y[1] (closed_form) = 5.1371204402513927462243008090194
y[1] (numeric) = 5.1371204402513927462243008090196
absolute error = 2e-31
relative error = 3.8932316718315581867749315848776e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.43
y[1] (closed_form) = 5.1786991919232461565803917643529
y[1] (numeric) = 5.1786991919232461565803917643531
absolute error = 2e-31
relative error = 3.8619736846643286022092192894396e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.44
y[1] (closed_form) = 5.2206958169965528256733289292909
y[1] (numeric) = 5.2206958169965528256733289292911
absolute error = 2e-31
relative error = 3.8309069712293497915086607017152e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.45
y[1] (closed_form) = 5.2631145151688173883886106755809
y[1] (numeric) = 5.2631145151688173883886106755812
absolute error = 3e-31
relative error = 5.7000469804593892548177739503369e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=205.9MB, alloc=40.3MB, time=2.20
TOP MAIN SOLVE Loop
x[1] = 1.46
y[1] (closed_form) = 5.3059595283452061041559898892827
y[1] (numeric) = 5.305959528345206104155989889283
absolute error = 3e-31
relative error = 5.6540197564145833920252854862429e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.47
y[1] (closed_form) = 5.3492351410627409085081719198621
y[1] (numeric) = 5.3492351410627409085081719198625
absolute error = 4e-31
relative error = 7.4777045587218544787523095442089e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.48
y[1] (closed_form) = 5.3929456809187566857337876433172
y[1] (numeric) = 5.3929456809187566857337876433177
absolute error = 5e-31
relative error = 9.2713709646491128648472705227828e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.49
y[1] (closed_form) = 5.4370955190036646087089558540139
y[1] (numeric) = 5.4370955190036646087089558540143
absolute error = 4e-31
relative error = 7.3568690967801700585568269103616e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.5
y[1] (closed_form) = 5.4816890703380648226020554601193
y[1] (numeric) = 5.4816890703380648226020554601198
absolute error = 5e-31
relative error = 9.1212761903178170196391410671875e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.51
y[1] (closed_form) = 5.5267307943142521840843397438116
y[1] (numeric) = 5.526730794314252184084339743812
absolute error = 4e-31
relative error = 7.2375517260856805110117313721807e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.52
y[1] (closed_form) = 5.5722251951421592069882364234397
y[1] (numeric) = 5.5722251951421592069882364234401
absolute error = 4e-31
relative error = 7.1784607762930722164838883233681e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.53
y[1] (closed_form) = 5.6181768222997808090795197077546
y[1] (numeric) = 5.618176822299780809079519707755
absolute error = 4e-31
relative error = 7.1197474314498598304455659836576e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.54
y[1] (closed_form) = 5.6645902709881259027933867662438
y[1] (numeric) = 5.6645902709881259027933867662442
absolute error = 4e-31
relative error = 7.0614109911646684534802669712730e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=246.2MB, alloc=40.3MB, time=2.62
TOP MAIN SOLVE Loop
x[1] = 1.55
y[1] (closed_form) = 5.7114701825907413254726398125845
y[1] (numeric) = 5.7114701825907413254726398125849
absolute error = 4e-31
relative error = 7.0034507265615927249375040825020e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.56
y[1] (closed_form) = 5.758821245137854061883935504415
y[1] (numeric) = 5.7588212451378540618839355044154
absolute error = 4e-31
relative error = 6.9458658807602013309298623695074e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.57
y[1] (closed_form) = 5.8066481937751781736211397590791
y[1] (numeric) = 5.8066481937751781736211397590797
absolute error = 6e-31
relative error = 1.0332983504032667459949659778160e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.58
y[1] (closed_form) = 5.8549558112374333164794020642401
y[1] (numeric) = 5.8549558112374333164794020642407
absolute error = 6e-31
relative error = 1.0247728921342468477910049958360e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.59
y[1] (closed_form) = 5.9037489283266221980462867706038
y[1] (numeric) = 5.9037489283266221980462867706043
absolute error = 5e-31
relative error = 8.4691948467009356132782101404205e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.6
y[1] (closed_form) = 5.953032424395114803654286356424
y[1] (numeric) = 5.9530324243951148036542863564246
absolute error = 6e-31
relative error = 1.0078896891964531089454660307993e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.61
y[1] (closed_form) = 6.0028112278335876995198834453142
y[1] (numeric) = 6.0028112278335876995198834453149
absolute error = 7e-31
relative error = 1.1661202950282175291706837432349e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.62
y[1] (closed_form) = 6.053090316563867207406092924905
y[1] (numeric) = 6.0530903165638672074060929249056
absolute error = 6e-31
relative error = 9.9122922114368768112965197459901e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.63
y[1] (closed_form) = 6.1038747185367257355366544351225
y[1] (numeric) = 6.103874718536725735536654435123
absolute error = 5e-31
relative error = 8.1915180611679457218272881458738e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=286.5MB, alloc=40.3MB, time=3.05
TOP MAIN SOLVE Loop
x[1] = 1.64
y[1] (closed_form) = 6.1551695122346810458097983038692
y[1] (numeric) = 6.1551695122346810458097983038697
absolute error = 5e-31
relative error = 8.1232531290348038200869610416571e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.65
y[1] (closed_form) = 6.2069798271798487376573070927123
y[1] (numeric) = 6.2069798271798487376573070927129
absolute error = 6e-31
relative error = 9.6665369745951142314871558070120e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.66
y[1] (closed_form) = 6.2593108444468987342204704726538
y[1] (numeric) = 6.2593108444468987342204704726545
absolute error = 7e-31
relative error = 1.1183339786056833768144743368570e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.67
y[1] (closed_form) = 6.3121677971811670669190161888314
y[1] (numeric) = 6.312167797181167066919016188832
absolute error = 6e-31
relative error = 9.5054507306973489461842869405887e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.68
y[1] (closed_form) = 6.3655559711219747700232352669232
y[1] (numeric) = 6.3655559711219747700232352669237
absolute error = 5e-31
relative error = 7.8547734442726363100814261320687e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.69
y[1] (closed_form) = 6.4194807051312062175548592062532
y[1] (numeric) = 6.4194807051312062175548592062537
absolute error = 5e-31
relative error = 7.7887920061873699582288302312729e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.7
y[1] (closed_form) = 6.4739473917271997607908626630091
y[1] (numeric) = 6.4739473917271997607908626630097
absolute error = 6e-31
relative error = 9.2679159050120822600372259234842e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.71
y[1] (closed_form) = 6.528961477624004055878852351461
y[1] (numeric) = 6.5289614776240040558788523514616
absolute error = 6e-31
relative error = 9.1898229459051705182769958692482e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.72
y[1] (closed_form) = 6.5845284642760540076461854730193
y[1] (numeric) = 6.5845284642760540076461854730199
absolute error = 6e-31
relative error = 9.1122698193995568393371546395594e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.73
y[1] (closed_form) = 6.640653908428320797651096717808
y[1] (numeric) = 6.6406539084283207976510967178086
memory used=326.9MB, alloc=40.3MB, time=3.45
absolute error = 6e-31
relative error = 9.0352547847506364072986288254639e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.74
y[1] (closed_form) = 6.6973434226719910119370988363601
y[1] (numeric) = 6.6973434226719910119370988363606
absolute error = 5e-31
relative error = 7.4656467265421875362607060294240e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.75
y[1] (closed_form) = 6.7546026760057304368664997048427
y[1] (numeric) = 6.7546026760057304368664997048433
absolute error = 6e-31
relative error = 8.8828318819013681823710919110594e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.76
y[1] (closed_form) = 6.8124373944025886498803406244497
y[1] (numeric) = 6.8124373944025886498803406244503
absolute error = 6e-31
relative error = 8.8074203880829429486619223871459e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.77
y[1] (closed_form) = 6.8708533613826010961162539158285
y[1] (numeric) = 6.8708533613826010961162539158291
absolute error = 6e-31
relative error = 8.7325397362179158760020992029352e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.78
y[1] (closed_form) = 6.9298564185911459115690715820469
y[1] (numeric) = 6.9298564185911459115690715820473
absolute error = 4e-31
relative error = 5.7721253636207490742604666643391e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.79
y[1] (closed_form) = 6.9894524663831133289584667268155
y[1] (numeric) = 6.9894524663831133289584667268158
absolute error = 3e-31
relative error = 4.2921817044024243570457328014952e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.8
y[1] (closed_form) = 7.0496474644129460837310239530277
y[1] (numeric) = 7.0496474644129460837310239530282
absolute error = 5e-31
relative error = 7.0925532450243894797139054235477e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.81
y[1] (closed_form) = 7.1104474322306098247290409259947
y[1] (numeric) = 7.1104474322306098247290409259951
absolute error = 4e-31
relative error = 5.6255250293653670399527144550875e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.82
y[1] (closed_form) = 7.1718584498835531270637716458996
y[1] (numeric) = 7.1718584498835531270637716458999
absolute error = 3e-31
relative error = 4.1830161888495023426784370218884e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=367.3MB, alloc=40.3MB, time=3.88
TOP MAIN SOLVE Loop
x[1] = 1.83
y[1] (closed_form) = 7.2338866585247173036960337699729
y[1] (numeric) = 7.2338866585247173036960337699732
absolute error = 3e-31
relative error = 4.1471481951748212725452955217479e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.84
y[1] (closed_form) = 7.2965382610266568172120145770248
y[1] (numeric) = 7.2965382610266568172120145770252
absolute error = 4e-31
relative error = 5.4820517030183864542344549012721e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.85
y[1] (closed_form) = 7.3598195226018317043472218706367
y[1] (numeric) = 7.359819522601831704347221870637
absolute error = 3e-31
relative error = 4.0761869102728279489123955730823e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.86
y[1] (closed_form) = 7.4237367714291340430179442929097
y[1] (numeric) = 7.42373677142913404301794429291
absolute error = 3e-31
relative error = 4.0410915585608430028841467997253e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.87
y[1] (closed_form) = 7.4882963992867111150290313243491
y[1] (numeric) = 7.4882963992867111150290313243492
absolute error = 1e-31
relative error = 1.3354172253321247091165055990354e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.88
y[1] (closed_form) = 7.5535048621911485473016181413198
y[1] (numeric) = 7.5535048621911485473016181413199
absolute error = 1e-31
relative error = 1.3238887354206538659186164855676e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.89
y[1] (closed_form) = 7.6193686810430773504675724967601
y[1] (numeric) = 7.61936868104307735046757249676
absolute error = 1e-31
relative error = 1.3124446943852333269093664463054e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.9
y[1] (closed_form) = 7.6858944422792694160725307276929
y[1] (numeric) = 7.6858944422792694160725307276928
absolute error = 1e-31
relative error = 1.3010847436299785215532599107413e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.91
y[1] (closed_form) = 7.7530887985312866824806579188518
y[1] (numeric) = 7.7530887985312866824806579188518
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=407.7MB, alloc=40.3MB, time=4.30
TOP MAIN SOLVE Loop
x[1] = 1.92
y[1] (closed_form) = 7.8209584692907498349465988329418
y[1] (numeric) = 7.8209584692907498349465988329418
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.93
y[1] (closed_form) = 7.8895102415812930672790192339938
y[1] (numeric) = 7.8895102415812930672790192339938
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.94
y[1] (closed_form) = 7.958750970637272101131868125876
y[1] (numeric) = 7.9587509706372721011318681258761
absolute error = 1e-31
relative error = 1.2564785651534566440589988485892e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.95
y[1] (closed_form) = 8.0286875805892933342908819335644
y[1] (numeric) = 8.0286875805892933342908819335644
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.96
y[1] (closed_form) = 8.099327065156632671441435472082
y[1] (numeric) = 8.0993270651566326714414354720818
absolute error = 2e-31
relative error = 2.4693409513044798284235535685998e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.97
y[1] (closed_form) = 8.1706764883466132798778341038975
y[1] (numeric) = 8.1706764883466132798778341038974
absolute error = 1e-31
relative error = 1.2238888682304886607544092510165e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.98
y[1] (closed_form) = 8.2427429851610122085124347531447
y[1] (numeric) = 8.2427429851610122085124347531446
absolute error = 1e-31
relative error = 1.2131883789173685924126741343394e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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.99
y[1] (closed_form) = 8.315533762309566511435170833514
y[1] (numeric) = 8.3155337623095665114351708335138
absolute error = 2e-31
relative error = 2.4051372493550162140745554041974e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2
y[1] (closed_form) = 8.389056098930650227230427460575
y[1] (numeric) = 8.3890560989306502272304274605748
absolute error = 2e-31
relative error = 2.3840584404423511188054171739521e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=448.1MB, alloc=40.3MB, time=4.72
TOP MAIN SOLVE Loop
x[1] = 2.01
y[1] (closed_form) = 8.4633173473191942823497647873654
y[1] (numeric) = 8.4633173473191942823497647873652
absolute error = 2e-31
relative error = 2.3631395561853908306802692448450e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.02
y[1] (closed_form) = 8.5383249336619221111374286770603
y[1] (numeric) = 8.5383249336619221111374286770601
absolute error = 2e-31
relative error = 2.3423798175156104715679320916882e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.03
y[1] (closed_form) = 8.6140863587799745166833496561362
y[1] (numeric) = 8.6140863587799745166833496561358
absolute error = 4e-31
relative error = 4.6435568827597936608331583429488e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.04
y[1] (closed_form) = 8.6906091988789980356085715614843
y[1] (numeric) = 8.690609198878998035608571561484
absolute error = 3e-31
relative error = 3.4520019613664944201811426644646e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.05
y[1] (closed_form) = 8.7679011063067718162446641452442
y[1] (numeric) = 8.7679011063067718162446641452439
absolute error = 3e-31
relative error = 3.4215714383937256871055188651662e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.06
y[1] (closed_form) = 8.8459698103184487735262954149556
y[1] (numeric) = 8.8459698103184487735262954149552
absolute error = 4e-31
relative error = 4.5218332028831588068071168257510e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.07
y[1] (closed_form) = 8.9248231178494875453501560543463
y[1] (numeric) = 8.9248231178494875453501560543458
absolute error = 5e-31
relative error = 5.6023519278495154754587390578531e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.08
y[1] (closed_form) = 9.0044689142963525442399839278696
y[1] (numeric) = 9.0044689142963525442399839278691
absolute error = 5e-31
relative error = 5.5527983355703785469920242173783e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.09
y[1] (closed_form) = 9.0849151643050601749734407164419
y[1] (numeric) = 9.0849151643050601749734407164414
absolute error = 5e-31
relative error = 5.5036287181251505696789892809874e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=488.5MB, alloc=40.3MB, time=5.13
TOP MAIN SOLVE Loop
x[1] = 2.1
y[1] (closed_form) = 9.1661699125676500734497274104786
y[1] (numeric) = 9.1661699125676500734497274104782
absolute error = 4e-31
relative error = 4.3638728478245175319642428963388e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.11
y[1] (closed_form) = 9.2482412846266610145855536665902
y[1] (numeric) = 9.2482412846266610145855536665898
absolute error = 4e-31
relative error = 4.3251466704801426328406749708023e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.12
y[1] (closed_form) = 9.3311374876876919375006494494469
y[1] (numeric) = 9.3311374876876919375006494494463
absolute error = 6e-31
relative error = 6.4300842291916904983585091063440e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.13
y[1] (closed_form) = 9.414866811440129344772473954749
y[1] (numeric) = 9.4148668114401293447724739547484
absolute error = 6e-31
relative error = 6.3728995005105335545398903807364e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.14
y[1] (closed_form) = 9.4994376288861231491839890633767
y[1] (numeric) = 9.4994376288861231491839890633761
absolute error = 6e-31
relative error = 6.3161633713505867994545094200855e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.15
y[1] (closed_form) = 9.5848583971778938662399876124018
y[1] (numeric) = 9.5848583971778938662399876124011
absolute error = 7e-31
relative error = 7.3031856183300908158932486732239e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.16
y[1] (closed_form) = 9.6711376584634548838689864354103
y[1] (numeric) = 9.6711376584634548838689864354095
absolute error = 8e-31
relative error = 8.2720361166599666305973383173853e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.17
y[1] (closed_form) = 9.7582840407408343822424252687577
y[1] (numeric) = 9.758284040740834382242425268757
absolute error = 7e-31
relative error = 7.1733923410868151278376197522764e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.18
y[1] (closed_form) = 9.8463062587208823266150074163392
y[1] (numeric) = 9.8463062587208823266150074163384
absolute error = 8e-31
relative error = 8.1248742318109319325539319708255e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=528.8MB, alloc=40.3MB, time=5.55
TOP MAIN SOLVE Loop
x[1] = 2.19
y[1] (closed_form) = 9.9352131146987488146044744309985
y[1] (numeric) = 9.9352131146987488146044744309977
absolute error = 8e-31
relative error = 8.0521674851285487497968264080320e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.2
y[1] (closed_form) = 10.025013499434120926471777166889
y[1] (numeric) = 10.025013499434120926471777166887
absolute error = 2e-30
relative error = 1.9950097823937029398853866939930e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.21
y[1] (closed_form) = 10.115716393040306102820204373562
y[1] (numeric) = 10.115716393040306102820204373559
absolute error = 3e-30
relative error = 2.9656821953450810736368547506224e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.22
y[1] (closed_form) = 10.20733086588225095879214402908
y[1] (numeric) = 10.207330865882250958792144029077
absolute error = 3e-30
relative error = 2.9390641289266180610187258393680e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.23
y[1] (closed_form) = 10.299866079483585337393248594605
y[1] (numeric) = 10.299866079483585337393248594602
absolute error = 3e-30
relative error = 2.9126592295949676981955211714518e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.24
y[1] (closed_form) = 10.393331287442782307105209171014
y[1] (numeric) = 10.39333128744278230710520917101
absolute error = 4e-30
relative error = 3.8486216684277138464775733175414e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.25
y[1] (closed_form) = 10.487735836358525720550369044512
y[1] (numeric) = 10.487735836358525720550369044507
absolute error = 5e-30
relative error = 4.7674732449554746984807381614167e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.26
y[1] (closed_form) = 10.583089166764377871735185285297
y[1] (numeric) = 10.583089166764377871735185285294
absolute error = 3e-30
relative error = 2.8347110685047789180152263371461e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.27
y[1] (closed_form) = 10.679400814072840719417155056108
y[1] (numeric) = 10.679400814072840719417155056105
absolute error = 3e-30
relative error = 2.8091463671320708009967208245004e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.28
memory used=569.2MB, alloc=40.3MB, time=5.97
y[1] (closed_form) = 10.776680409528905083504263631818
y[1] (numeric) = 10.776680409528905083504263631816
absolute error = 2e-30
relative error = 1.8558590623431400217242219529765e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.29
y[1] (closed_form) = 10.874937681173183170201221053971
y[1] (numeric) = 10.874937681173183170201221053969
absolute error = 2e-30
relative error = 1.8390909986200867490350857047855e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.3
y[1] (closed_form) = 10.974182454814720739957615156909
y[1] (numeric) = 10.974182454814720739957615156907
absolute error = 2e-30
relative error = 1.8224592202971227067860949395282e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.31
y[1] (closed_form) = 11.074424655013586200245455289684
y[1] (numeric) = 11.074424655013586200245455289682
absolute error = 2e-30
relative error = 1.8059628940583969169173475822874e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.32
y[1] (closed_form) = 11.175674306073334882894211461532
y[1] (numeric) = 11.175674306073334882894211461527
absolute error = 5e-30
relative error = 4.4740029666780716503434498846966e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.33
y[1] (closed_form) = 11.277941533043447753238138736105
y[1] (numeric) = 11.277941533043447753238138736099
absolute error = 6e-30
relative error = 5.3201197952839974833674431417638e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.34
y[1] (closed_form) = 11.381236562731844795782169982426
y[1] (numeric) = 11.381236562731844795782169982419
absolute error = 7e-30
relative error = 6.1504740380510867360054934651052e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.35
y[1] (closed_form) = 11.485569724727574328568707539109
y[1] (numeric) = 11.485569724727574328568707539101
absolute error = 8e-30
relative error = 6.9652617952217007782135075000537e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.36
y[1] (closed_form) = 11.590951452433780516028994407103
y[1] (numeric) = 11.590951452433780516028994407095
absolute error = 8e-30
relative error = 6.9019355596733349885594908993159e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.37
y[1] (closed_form) = 11.69739228411105237793115923818
y[1] (numeric) = 11.69739228411105237793115923817
absolute error = 1.0e-29
relative error = 8.5489139434806547330671388333768e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=609.7MB, alloc=40.3MB, time=6.39
TOP MAIN SOLVE Loop
x[1] = 2.38
y[1] (closed_form) = 11.804902863931258630195290329287
y[1] (numeric) = 11.804902863931258630195290329277
absolute error = 1.0e-29
relative error = 8.4710565730735784928120919325876e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.39
y[1] (closed_form) = 11.913493943041973741937818758192
y[1] (numeric) = 11.913493943041973741937818758183
absolute error = 9e-30
relative error = 7.5544588707802317882017833536909e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.4
y[1] (closed_form) = 12.023176380641601652237939769668
y[1] (numeric) = 12.023176380641601652237939769658
absolute error = 1.0e-29
relative error = 8.3172696493922370662952439093841e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.41
y[1] (closed_form) = 12.133961145065304659893688471457
y[1] (numeric) = 12.133961145065304659893688471446
absolute error = 1.1e-29
relative error = 9.0654649940704077383778447435482e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.42
y[1] (closed_form) = 12.245859314881846079961589205531
y[1] (numeric) = 12.245859314881846079961589205519
absolute error = 1.2e-29
relative error = 9.7992306553913580963995464884917e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.43
y[1] (closed_form) = 12.358882080001456352259571153473
y[1] (numeric) = 12.358882080001456352259571153462
absolute error = 1.1e-29
relative error = 8.9004813937011880417432554923742e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.44
y[1] (closed_form) = 12.473040742794833389367225302064
y[1] (numeric) = 12.473040742794833389367225302053
absolute error = 1.1e-29
relative error = 8.8190203390093559090730577950503e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.45
y[1] (closed_form) = 12.58834671922338906509070619308
y[1] (numeric) = 12.58834671922338906509070619307
absolute error = 1.0e-29
relative error = 7.9438549183978374401623358208833e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.46
y[1] (closed_form) = 12.704811539980854868983000160809
y[1] (numeric) = 12.7048115399808548689830001608
absolute error = 9e-30
relative error = 7.0839303453481705699175598824257e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=650.1MB, alloc=40.3MB, time=6.81
TOP MAIN SOLVE Loop
x[1] = 2.47
y[1] (closed_form) = 12.822446851646360888436353300643
y[1] (numeric) = 12.822446851646360888436353300633
absolute error = 1.0e-29
relative error = 7.7988235129366375180165644895695e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.48
y[1] (closed_form) = 12.941264417849103427205970766319
y[1] (numeric) = 12.941264417849103427205970766309
absolute error = 1.0e-29
relative error = 7.7272202136659882477541495454451e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.49
y[1] (closed_form) = 13.061276120444717728097399349678
y[1] (numeric) = 13.061276120444717728097399349668
absolute error = 1.0e-29
relative error = 7.6562197351812162251076992796087e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.5
y[1] (closed_form) = 13.182493960703473438070175951168
y[1] (numeric) = 13.182493960703473438070175951158
absolute error = 1.0e-29
relative error = 7.5858180021243551193306176646248e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.51
y[1] (closed_form) = 13.304930060510411636294418494051
y[1] (numeric) = 13.304930060510411636294418494042
absolute error = 9e-30
relative error = 6.7644098533913951666548189643385e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.52
y[1] (closed_form) = 13.428596663577543439863282465196
y[1] (numeric) = 13.428596663577543439863282465186
absolute error = 1.0e-29
relative error = 7.4467945166028070374047383136049e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.53
y[1] (closed_form) = 13.553506136668231408032023200075
y[1] (numeric) = 13.553506136668231408032023200067
absolute error = 8e-30
relative error = 5.9025317281972227612169709485201e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.54
y[1] (closed_form) = 13.679670970833876184144409056144
y[1] (numeric) = 13.679670970833876184144409056135
absolute error = 9e-30
relative error = 6.5791056080140384049387827787305e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.55
y[1] (closed_form) = 13.807103782663032044941253752753
y[1] (numeric) = 13.807103782663032044941253752742
absolute error = 1.1e-29
relative error = 7.9669133897669489628315856762460e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=690.5MB, alloc=40.3MB, time=7.23
TOP MAIN SOLVE Loop
x[1] = 2.56
y[1] (closed_form) = 13.935817315543076269846931825039
y[1] (numeric) = 13.935817315543076269846931825028
absolute error = 1.1e-29
relative error = 7.8933296490126470904833341666846e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.57
y[1] (closed_form) = 14.065824440934558498222200489047
y[1] (numeric) = 14.065824440934558498222200489036
absolute error = 1.1e-29
relative error = 7.8203734492715880601245421675046e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.58
y[1] (closed_form) = 14.197138159658357510581014537849
y[1] (numeric) = 14.197138159658357510581014537838
absolute error = 1.1e-29
relative error = 7.7480403982098783639479134487521e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.59
y[1] (closed_form) = 14.329771603195774150522090176603
y[1] (numeric) = 14.329771603195774150522090176592
absolute error = 1.1e-29
relative error = 7.6763261164238092550027221285610e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.6
y[1] (closed_form) = 14.463738035001690397750825332584
y[1] (numeric) = 14.463738035001690397750825332574
absolute error = 1.0e-29
relative error = 6.9138420343346817852523142031625e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.61
y[1] (closed_form) = 14.599050851830925909193181507426
y[1] (numeric) = 14.599050851830925909193181507416
absolute error = 1.0e-29
relative error = 6.8497603724326089502146230199844e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.62
y[1] (closed_form) = 14.735723585077924664960939361653
y[1] (numeric) = 14.735723585077924664960939361643
absolute error = 1.0e-29
relative error = 6.7862293576994499080075666094896e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.63
y[1] (closed_form) = 14.873769902129905688949333816751
y[1] (numeric) = 14.873769902129905688949333816741
absolute error = 1.0e-29
relative error = 6.7232450587850039350879915022045e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.64
y[1] (closed_form) = 15.013203607733613160266757797534
y[1] (numeric) = 15.013203607733613160266757797523
absolute error = 1.1e-29
relative error = 7.3268839132599729843579734715272e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=730.8MB, alloc=40.3MB, time=7.66
TOP MAIN SOLVE Loop
x[1] = 2.65
y[1] (closed_form) = 15.154038645375802591646639807897
y[1] (numeric) = 15.154038645375802591646639807887
absolute error = 1.0e-29
relative error = 6.5989009491218778610486067612216e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.66
y[1] (closed_form) = 15.2962890986776011246097455111
y[1] (numeric) = 15.29628909867760112460974551109
absolute error = 1.0e-29
relative error = 6.5375333425572629076436595216688e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.67
y[1] (closed_form) = 15.439969192802881378568390330594
y[1] (numeric) = 15.439969192802881378568390330583
absolute error = 1.1e-29
relative error = 7.1243665467464087389172376580717e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.68
y[1] (closed_form) = 15.585093295880789692431122279052
y[1] (numeric) = 15.585093295880789692431122279041
absolute error = 1.1e-29
relative error = 7.0580264045691337065524324729910e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.69
y[1] (closed_form) = 15.731675920442571012717479636724
y[1] (numeric) = 15.731675920442571012717479636714
absolute error = 1.0e-29
relative error = 6.3566018335055272540284869357573e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.7
y[1] (closed_form) = 15.879731724872834111868993019468
y[1] (numeric) = 15.879731724872834111868993019459
absolute error = 9e-30
relative error = 5.6676020451296840562740695658046e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.71
y[1] (closed_form) = 16.029275514875402264487654649923
y[1] (numeric) = 16.029275514875402264487654649912
absolute error = 1.1e-29
relative error = 6.8624436517993835817535558133956e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.72
y[1] (closed_form) = 16.18032224495389596779102498073
y[1] (numeric) = 16.18032224495389596779102498072
absolute error = 1.0e-29
relative error = 6.1803466263588583368120848512546e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.73
y[1] (closed_form) = 16.332887019907195765789845226944
y[1] (numeric) = 16.332887019907195765789845226935
absolute error = 9e-30
relative error = 5.5103546537917204207705039975791e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=771.2MB, alloc=40.3MB, time=8.08
TOP MAIN SOLVE Loop
x[1] = 2.74
y[1] (closed_form) = 16.486985096339934724716796743092
y[1] (numeric) = 16.486985096339934724716796743083
absolute error = 9e-30
relative error = 5.4588512984086915976069074837261e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.75
y[1] (closed_form) = 16.642631884188171610212698046157
y[1] (numeric) = 16.642631884188171610212698046147
absolute error = 1.0e-29
relative error = 6.0086650174007622019723445594907e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.76
y[1] (closed_form) = 16.799842948260397334859256656509
y[1] (numeric) = 16.7998429482603973348592566565
absolute error = 9e-30
relative error = 5.3571929378851358317262216431947e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.77
y[1] (closed_form) = 16.958634009794028777987305352163
y[1] (numeric) = 16.958634009794028777987305352154
absolute error = 9e-30
relative error = 5.3070312118312585545302652636566e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.78
y[1] (closed_form) = 17.119020948027545628439586166743
y[1] (numeric) = 17.119020948027545628439586166735
absolute error = 8e-30
relative error = 4.6731644433917001331427570331877e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.79
y[1] (closed_form) = 17.281019801788427465282476812269
y[1] (numeric) = 17.281019801788427465282476812261
absolute error = 8e-30
relative error = 4.6293564221088810874528746270984e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.8
y[1] (closed_form) = 17.444646771097049871498016010925
y[1] (numeric) = 17.444646771097049871498016010917
absolute error = 8e-30
relative error = 4.5859340719094996966632939189770e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.81
y[1] (closed_form) = 17.609918218786699971604181488378
y[1] (numeric) = 17.609918218786699971604181488369
absolute error = 9e-30
relative error = 5.1107562727909636329305669969852e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.82
y[1] (closed_form) = 17.776850672139873396107200104494
y[1] (numeric) = 17.776850672139873396107200104484
absolute error = 1.0e-29
relative error = 5.6252933573167369357994027999470e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.83
y[1] (closed_form) = 17.945460824541016303845920701474
y[1] (numeric) = 17.945460824541016303845920701464
absolute error = 1.0e-29
relative error = 5.5724397928665428413553129183815e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=811.8MB, alloc=40.3MB, time=8.50
TOP MAIN SOLVE Loop
x[1] = 2.84
y[1] (closed_form) = 18.11576553714587773780777371626
y[1] (numeric) = 18.115765537145877737807773716249
absolute error = 1.1e-29
relative error = 6.0720591561227723426828004484452e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.85
y[1] (closed_form) = 18.287781840567639251043030753446
y[1] (numeric) = 18.287781840567639251043030753434
absolute error = 1.2e-29
relative error = 6.5617580659128908640753798824388e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.86
y[1] (closed_form) = 18.46152693657999041704506824997
y[1] (numeric) = 18.461526936579990417045068249958
absolute error = 1.2e-29
relative error = 6.5000040577483281654678355614093e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.87
y[1] (closed_form) = 18.637018199837320533566907580682
y[1] (numeric) = 18.637018199837320533566907580672
absolute error = 1.0e-29
relative error = 5.3656652007171878789017485567616e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.88
y[1] (closed_form) = 18.814273179612198540477911123657
y[1] (numeric) = 18.814273179612198540477911123645
absolute error = 1.2e-29
relative error = 6.3781363677676466369056520730395e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.89
y[1] (closed_form) = 18.993309601550314901100324712728
y[1] (numeric) = 18.993309601550314901100324712716
absolute error = 1.2e-29
relative error = 6.3180142122363491837887146516939e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.9
y[1] (closed_form) = 19.174145369443060942676256574128
y[1] (numeric) = 19.174145369443060942676256574115
absolute error = 1.3e-29
relative error = 6.7799632001943055213941922485577e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.91
y[1] (closed_form) = 19.356798567017922915376293819354
y[1] (numeric) = 19.35679856701792291537629381934
absolute error = 1.4e-29
relative error = 7.2326009652518780950823793110061e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.92
y[1] (closed_form) = 19.541287459746869810747657378403
y[1] (numeric) = 19.541287459746869810747657378388
absolute error = 1.5e-29
relative error = 7.6760551375637478744546818296457e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=852.2MB, alloc=40.3MB, time=8.92
TOP MAIN SOLVE Loop
x[1] = 2.93
y[1] (closed_form) = 19.727630496672915779890735060899
y[1] (numeric) = 19.727630496672915779890735060882
absolute error = 1.7e-29
relative error = 8.6173552383126126897229653557367e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.94
y[1] (closed_form) = 19.915846312255039809127950820668
y[1] (numeric) = 19.91584631225503980912795082065
absolute error = 1.8e-29
relative error = 9.0380291742479752253124810832710e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.95
y[1] (closed_form) = 20.105953728231647146669975298563
y[1] (numeric) = 20.105953728231647146669975298544
absolute error = 1.9e-29
relative error = 9.4499371961257777849545738706233e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.96
y[1] (closed_form) = 20.297971755502758827974833963076
y[1] (numeric) = 20.297971755502758827974833963055
absolute error = 2.1e-29
relative error = 1.0345861277645596315377308579965e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.97
y[1] (closed_form) = 20.491919596031117520320945259013
y[1] (numeric) = 20.491919596031117520320945258992
absolute error = 2.1e-29
relative error = 1.0247941829747998658986391218703e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.98
y[1] (closed_form) = 20.687816644762399798762806219384
y[1] (numeric) = 20.687816644762399798762806219364
absolute error = 2.0e-29
relative error = 9.6675257439810418458122237994715e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 2.99
y[1] (closed_form) = 20.885682491564726876297103339624
y[1] (numeric) = 20.885682491564726876297103339602
absolute error = 2.2e-29
relative error = 1.0533531766982152362590747654324e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3
y[1] (closed_form) = 21.085536923187667740928529654582
y[1] (numeric) = 21.08553692318766774092852965456
absolute error = 2.2e-29
relative error = 1.0433692099064691793346593389785e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.01
y[1] (closed_form) = 21.28739992524093060158152265589
y[1] (numeric) = 21.287399925240930601581522655869
absolute error = 2.1e-29
relative error = 9.8649905924395424671370465384622e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=892.6MB, alloc=40.3MB, time=9.33
TOP MAIN SOLVE Loop
x[1] = 3.02
y[1] (closed_form) = 21.491291684192940513651429258142
y[1] (numeric) = 21.491291684192940513651429258121
absolute error = 2.1e-29
relative error = 9.7713996480936087942215760223942e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.03
y[1] (closed_form) = 21.697232589389503043623139836616
y[1] (numeric) = 21.697232589389503043623139836593
absolute error = 2.3e-29
relative error = 1.0600430218574318670044036066258e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.04
y[1] (closed_form) = 21.905243235092755840805878527866
y[1] (numeric) = 21.905243235092755840805878527844
absolute error = 2.2e-29
relative error = 1.0043257572577619871356135446996e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.05
y[1] (closed_form) = 22.115344422540612013040455245769
y[1] (numeric) = 22.115344422540612013040455245746
absolute error = 2.3e-29
relative error = 1.0400018901156122579793625482439e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.06
y[1] (closed_form) = 22.327557162026901252432758671981
y[1] (numeric) = 22.327557162026901252432758671959
absolute error = 2.2e-29
relative error = 9.8532946709530826564842246277279e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.07
y[1] (closed_form) = 22.541902675002416726959520286426
y[1] (numeric) = 22.541902675002416726959520286403
absolute error = 2.3e-29
relative error = 1.0203220345505965219163430260099e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.08
y[1] (closed_form) = 22.758402396197077844386388260106
y[1] (numeric) = 22.758402396197077844386388260084
absolute error = 2.2e-29
relative error = 9.6667593871510916533571243044579e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.09
y[1] (closed_form) = 22.977077975763421106543177882497
y[1] (numeric) = 22.977077975763421106543177882475
absolute error = 2.2e-29
relative error = 9.5747596901598810177886915850384e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.1
y[1] (closed_form) = 23.197951281441633404827974381257
y[1] (numeric) = 23.197951281441633404827974381234
absolute error = 2.3e-29
relative error = 9.9146686364498081873673860443622e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=933.0MB, alloc=40.3MB, time=9.75
TOP MAIN SOLVE Loop
x[1] = 3.11
y[1] (closed_form) = 23.421044400746344262073838971462
y[1] (numeric) = 23.421044400746344262073838971438
absolute error = 2.4e-29
relative error = 1.0247194612395340709002916243810e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.12
y[1] (closed_form) = 23.646379643175395701824637747618
y[1] (numeric) = 23.646379643175395701824637747594
absolute error = 2.4e-29
relative error = 1.0149545242088110941908175763521e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.13
y[1] (closed_form) = 23.873979542440810623847568694562
y[1] (numeric) = 23.873979542440810623847568694539
absolute error = 2.3e-29
relative error = 9.6339196232923229955224520193064e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.14
y[1] (closed_form) = 24.103866858722182784579084580015
y[1] (numeric) = 24.103866858722182784579084579992
absolute error = 2.3e-29
relative error = 9.5420374393900456397660134650463e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.15
y[1] (closed_form) = 24.33606458094271372338008756421
y[1] (numeric) = 24.336064580942713723380087564188
absolute error = 2.2e-29
relative error = 9.0400812041023023694006967997347e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.16
y[1] (closed_form) = 24.57059592906812424018972480695
y[1] (numeric) = 24.570595929068124240189724806927
absolute error = 2.3e-29
relative error = 9.3607823214372923082052397108146e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.17
y[1] (closed_form) = 24.807484356428670317641316402232
y[1] (numeric) = 24.807484356428670317641316402209
absolute error = 2.3e-29
relative error = 9.2713955472231207773574531609644e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.18
y[1] (closed_form) = 25.046753552064495691167646951714
y[1] (numeric) = 25.046753552064495691167646951691
absolute error = 2.3e-29
relative error = 9.1828268091471716349353751617110e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.19
y[1] (closed_form) = 25.288427443094555604307098296172
y[1] (numeric) = 25.288427443094555604307098296147
absolute error = 2.5e-29
relative error = 9.8859448877382386511803806281212e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=973.4MB, alloc=40.3MB, time=10.17
TOP MAIN SOLVE Loop
x[1] = 3.2
y[1] (closed_form) = 25.532530197109348643560263727964
y[1] (numeric) = 25.532530197109348643560263727939
absolute error = 2.5e-29
relative error = 9.7914306991910896645919721138969e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.21
y[1] (closed_form) = 25.779086224587695927974479188157
y[1] (numeric) = 25.779086224587695927974479188132
absolute error = 2.5e-29
relative error = 9.6977836150590103266591329999287e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.22
y[1] (closed_form) = 26.02812018133780933338921927269
y[1] (numeric) = 26.028120181337809333389219272664
absolute error = 2.6e-29
relative error = 9.9891962304069997593619959089124e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.23
y[1] (closed_form) = 26.279656970962892860199012888142
y[1] (numeric) = 26.279656970962892860199012888117
absolute error = 2.5e-29
relative error = 9.5130617677480263071030194383974e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.24
y[1] (closed_form) = 26.533721747351523706825329504055
y[1] (numeric) = 26.533721747351523706825329504031
absolute error = 2.4e-29
relative error = 9.0450937220654210068526594667412e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.25
y[1] (closed_form) = 26.790339917193062089080107669377
y[1] (numeric) = 26.790339917193062089080107669354
absolute error = 2.3e-29
relative error = 8.5851840891497758454742581888546e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.26
y[1] (closed_form) = 27.049537142518341348499043982636
y[1] (numeric) = 27.049537142518341348499043982612
absolute error = 2.4e-29
relative error = 8.8726102312024899508371812032454e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.27
y[1] (closed_form) = 27.311339343265892420772724659149
y[1] (numeric) = 27.311339343265892420772724659125
absolute error = 2.4e-29
relative error = 8.7875587858775723579767754451149e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.28
y[1] (closed_form) = 27.575772699873959288860970327214
y[1] (numeric) = 27.57577269987395928886097032719
absolute error = 2.4e-29
relative error = 8.7032919299156019335805281157862e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1013.8MB, alloc=40.3MB, time=10.59
TOP MAIN SOLVE Loop
x[1] = 3.29
y[1] (closed_form) = 27.842863655898564624495725565399
y[1] (numeric) = 27.842863655898564624495725565374
absolute error = 2.5e-29
relative error = 8.9789614706904264678347960386468e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.3
y[1] (closed_form) = 28.112638920657887426818372110231
y[1] (numeric) = 28.112638920657887426818372110205
absolute error = 2.6e-29
relative error = 9.2485092108854049221126832505634e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.31
y[1] (closed_form) = 28.385125471903217098118984843308
y[1] (numeric) = 28.385125471903217098118984843282
absolute error = 2.6e-29
relative error = 9.1597269935395868085198727911453e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.32
y[1] (closed_form) = 28.660350558516751054310906965868
y[1] (numeric) = 28.660350558516751054310906965842
absolute error = 2.6e-29
relative error = 9.0717662182515777182719701982418e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.33
y[1] (closed_form) = 28.938341703236505652149863987642
y[1] (numeric) = 28.938341703236505652149863987617
absolute error = 2.5e-29
relative error = 8.6390575715691283492021395950256e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.34
y[1] (closed_form) = 29.2191267054086129265611051166
y[1] (numeric) = 29.219126705408612926561105116574
absolute error = 2.6e-29
relative error = 8.8982810000229282129469979392994e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.35
y[1] (closed_form) = 29.502733643767278370041893023457
y[1] (numeric) = 29.502733643767278370041893023431
absolute error = 2.6e-29
relative error = 8.8127426813863186515101631678618e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.36
y[1] (closed_form) = 29.789190879242677752233921434877
y[1] (numeric) = 29.78919087924267775223392143485
absolute error = 2.7e-29
relative error = 9.0636902860002800552886082142262e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.37
y[1] (closed_form) = 30.078527057797073771687539613154
y[1] (numeric) = 30.078527057797073771687539613127
absolute error = 2.7e-29
relative error = 8.9765033866580092685231560539260e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.38
y[1] (closed_form) = 30.370771113289436153846398566086
y[1] (numeric) = 30.37077111328943615384639856606
absolute error = 2.6e-29
relative error = 8.5608626475154251985388448326903e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1054.3MB, alloc=40.3MB, time=11.02
TOP MAIN SOLVE Loop
x[1] = 3.39
y[1] (closed_form) = 30.665952270368851659649508823945
y[1] (numeric) = 30.665952270368851659649508823916
absolute error = 2.9e-29
relative error = 9.4567420389620225872754734425409e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.4
y[1] (closed_form) = 30.96410004739701334816275303373
y[1] (numeric) = 30.964100047397013348162753033701
absolute error = 2.9e-29
relative error = 9.3656847625506478242449301268292e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.41
y[1] (closed_form) = 31.265244259400081344601532358897
y[1] (numeric) = 31.265244259400081344601532358868
absolute error = 2.9e-29
relative error = 9.2754752719646441890084490035950e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.42
y[1] (closed_form) = 31.569415021050210302281241122151
y[1] (numeric) = 31.569415021050210302281241122122
absolute error = 2.9e-29
relative error = 9.1861062299263553664505453376164e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.43
y[1] (closed_form) = 31.876642749677041713726379239121
y[1] (numeric) = 31.876642749677041713726379239093
absolute error = 2.8e-29
relative error = 8.7838610294942939279561088456249e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.44
y[1] (closed_form) = 32.186958168309462222678998645337
y[1] (numeric) = 32.186958168309462222678998645309
absolute error = 2.8e-29
relative error = 8.6991755647068740986183325858536e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.45
y[1] (closed_form) = 32.500392308747932115372491603845
y[1] (numeric) = 32.500392308747932115372491603818
absolute error = 2.7e-29
relative error = 8.3075920264299624749631374200062e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.46
y[1] (closed_form) = 32.81697651466769122648013054928
y[1] (numeric) = 32.816976514667691226480130549252
absolute error = 2.8e-29
relative error = 8.5321693141003643345610188320434e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.47
y[1] (closed_form) = 33.136742444753152582914967864034
y[1] (numeric) = 33.136742444753152582914967864005
absolute error = 2.9e-29
relative error = 8.7516146309040219679614990194284e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1094.6MB, alloc=40.3MB, time=11.44
TOP MAIN SOLVE Loop
x[1] = 3.48
y[1] (closed_form) = 33.459722075863797227457478986324
y[1] (numeric) = 33.459722075863797227457478986296
absolute error = 2.8e-29
relative error = 8.3682703450181455602350123455310e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.49
y[1] (closed_form) = 33.785947706231886814331566095013
y[1] (numeric) = 33.785947706231886814331566094984
absolute error = 2.9e-29
relative error = 8.5834502119503639024065333797215e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.5
y[1] (closed_form) = 34.115451958692313750653249350389
y[1] (numeric) = 34.115451958692313750653249350359
absolute error = 3.0e-29
relative error = 8.7936692254068956595868674342544e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.51
y[1] (closed_form) = 34.448267783944911871457741316409
y[1] (numeric) = 34.448267783944911871457741316378
absolute error = 3.1e-29
relative error = 8.9990011092656379046759895548900e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.52
y[1] (closed_form) = 34.78442846384955388209100856303
y[1] (numeric) = 34.784428463849553882091008563
absolute error = 3.0e-29
relative error = 8.6245487779619919841141799780498e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.53
y[1] (closed_form) = 35.123967614754365080455983293164
y[1] (numeric) = 35.123967614754365080455983293133
absolute error = 3.1e-29
relative error = 8.8258821839301466643307816988538e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.54
y[1] (closed_form) = 35.466919190857386183259170295692
y[1] (numeric) = 35.466919190857386183259170295661
absolute error = 3.1e-29
relative error = 8.7405392707441974577389207067749e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.55
y[1] (closed_form) = 35.813317487602021425341668911734
y[1] (numeric) = 35.813317487602021425341668911703
absolute error = 3.1e-29
relative error = 8.6559978730626358804240529770877e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.56
y[1] (closed_form) = 36.163197145106611479734092630969
y[1] (numeric) = 36.163197145106611479734092630937
absolute error = 3.2e-29
relative error = 8.8487751433034038226527541871445e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1135.0MB, alloc=40.3MB, time=11.86
TOP MAIN SOLVE Loop
x[1] = 3.57
y[1] (closed_form) = 36.516593151628474158585378769949
y[1] (numeric) = 36.516593151628474158585378769916
absolute error = 3.3e-29
relative error = 9.0369876135414757112929510854360e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.58
y[1] (closed_form) = 36.873540847062759301922291319834
y[1] (numeric) = 36.873540847062759301922291319799
absolute error = 3.5e-29
relative error = 9.4919010206170639015233542526849e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.59
y[1] (closed_form) = 37.234075926476467742644215040193
y[1] (numeric) = 37.234075926476467742644215040159
absolute error = 3.4e-29
relative error = 9.1314203868352817823909496319612e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.6
y[1] (closed_form) = 37.598234443677987752594765899184
y[1] (numeric) = 37.598234443677987752594765899149
absolute error = 3.5e-29
relative error = 9.3089477519030493118802949104473e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.61
y[1] (closed_form) = 37.966052814822505926329448641597
y[1] (numeric) = 37.966052814822505926329448641563
absolute error = 3.4e-29
relative error = 8.9553686725963515168997365928593e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.62
y[1] (closed_form) = 38.337567822053653046672257335396
y[1] (numeric) = 38.337567822053653046672257335363
absolute error = 3.3e-29
relative error = 8.6077447983063699388841628438997e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.63
y[1] (closed_form) = 38.71281661718174909968248956046
y[1] (numeric) = 38.712816617181749099682489560426
absolute error = 3.4e-29
relative error = 8.7826210983857787255386038952004e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.64
y[1] (closed_form) = 39.091836725399015266598485317448
y[1] (numeric) = 39.091836725399015266598485317414
absolute error = 3.4e-29
relative error = 8.6974680260826137346668978759811e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.65
y[1] (closed_form) = 39.474666049032124417053505344034
y[1] (numeric) = 39.474666049032124417053505343999
absolute error = 3.5e-29
relative error = 8.8664461294051052957840452074153e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1175.4MB, alloc=40.3MB, time=12.27
TOP MAIN SOLVE Loop
x[1] = 3.66
y[1] (closed_form) = 39.861342871332465361740206261101
y[1] (numeric) = 39.861342871332465361740206261066
absolute error = 3.5e-29
relative error = 8.7804367537179354480869306646790e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.67
y[1] (closed_form) = 40.251905860304499894107543068851
y[1] (numeric) = 40.251905860304499894107543068817
absolute error = 3.4e-29
relative error = 8.4468050079412550024664800644792e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.68
y[1] (closed_form) = 40.646394072572595459984576852157
y[1] (numeric) = 40.646394072572595459984576852121
absolute error = 3.6e-29
relative error = 8.8568742249861980334617685129640e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.69
y[1] (closed_form) = 41.044846957286720141620521375166
y[1] (numeric) = 41.044846957286720141620521375131
absolute error = 3.5e-29
relative error = 8.5272580103472467036013100585821e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.7
y[1] (closed_form) = 41.447304360067390528894189239039
y[1] (numeric) = 41.447304360067390528894189239002
absolute error = 3.7e-29
relative error = 8.9269979245376044737406918107621e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.71
y[1] (closed_form) = 41.853806526990266975767426064963
y[1] (numeric) = 41.853806526990266975767426064927
absolute error = 3.6e-29
relative error = 8.6013681878097939850259690401811e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.72
y[1] (closed_form) = 42.264394108610794704828685161265
y[1] (numeric) = 42.264394108610794704828685161227
absolute error = 3.8e-29
relative error = 8.9910196990752595500758014358833e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.73
y[1] (closed_form) = 42.679108164029293227391075798772
y[1] (numeric) = 42.679108164029293227391075798735
absolute error = 3.7e-29
relative error = 8.6693470392580166485094331126365e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.74
y[1] (closed_form) = 43.097990164996900591474480707947
y[1] (numeric) = 43.097990164996900591474480707908
absolute error = 3.9e-29
relative error = 9.0491458768011913624668493949428e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1215.9MB, alloc=40.3MB, time=12.69
TOP MAIN SOLVE Loop
x[1] = 3.75
y[1] (closed_form) = 43.521082000062783055518172621604
y[1] (numeric) = 43.521082000062783055518172621565
absolute error = 3.9e-29
relative error = 8.9611742649099898320225158091618e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.76
y[1] (closed_form) = 43.948425978763024912247320706349
y[1] (numeric) = 43.94842597876302491224732070631
absolute error = 3.9e-29
relative error = 8.8740379504935563080780981618112e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.77
y[1] (closed_form) = 44.380064835851617355166526689092
y[1] (numeric) = 44.380064835851617355166526689052
absolute error = 4.0e-29
relative error = 9.0130557825789243300566207260976e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.78
y[1] (closed_form) = 44.816041735573969490092875840424
y[1] (numeric) = 44.816041735573969490092875840386
absolute error = 3.8e-29
relative error = 8.4791067056322494619286388766447e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.79
y[1] (closed_form) = 45.256400275983368846390927167131
y[1] (numeric) = 45.256400275983368846390927167092
absolute error = 3.9e-29
relative error = 8.6175656398143732923768791188535e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.8
y[1] (closed_form) = 45.701184493300823037557828729065
y[1] (numeric) = 45.701184493300823037557828729026
absolute error = 3.9e-29
relative error = 8.5336956650908848413780058244127e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.81
y[1] (closed_form) = 46.150438866318718558957830086431
y[1] (numeric) = 46.150438866318718558957830086391
absolute error = 4.0e-29
relative error = 8.6673065267842120232663865174674e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.82
y[1] (closed_form) = 46.604208320848737092255693225917
y[1] (numeric) = 46.604208320848737092255693225875
absolute error = 4.2e-29
relative error = 9.0120616813934782654689057407793e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.83
y[1] (closed_form) = 47.062538234214474111886054582464
y[1] (numeric) = 47.06253823421447411188605458242
absolute error = 4.4e-29
relative error = 9.3492619928459344672687575428436e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1256.3MB, alloc=40.3MB, time=13.11
TOP MAIN SOLVE Loop
x[1] = 3.84
y[1] (closed_form) = 47.525474439789209059163246411121
y[1] (numeric) = 47.525474439789209059163246411079
absolute error = 4.2e-29
relative error = 8.8373657485966769580904618260818e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.85
y[1] (closed_form) = 47.993063231579280864830476241162
y[1] (numeric) = 47.99306323157928086483047624112
absolute error = 4.2e-29
relative error = 8.7512646978457785579365216627909e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.86
y[1] (closed_form) = 48.46535136885352716142011166414
y[1] (numeric) = 48.465351368853527161420111664096
absolute error = 4.4e-29
relative error = 9.0786507798387272175065471410805e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.87
y[1] (closed_form) = 48.942386080819250133204185354246
y[1] (numeric) = 48.942386080819250133204185354203
absolute error = 4.3e-29
relative error = 8.7858405450427969604861356636046e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.88
y[1] (closed_form) = 49.424215071345176604216766568584
y[1] (numeric) = 49.424215071345176604216766568541
absolute error = 4.3e-29
relative error = 8.7001887511877223959245851622450e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.89
y[1] (closed_form) = 49.910886523731884664292814557216
y[1] (numeric) = 49.91088652373188466429281455717
absolute error = 4.6e-29
relative error = 9.2164261554696456345535504223912e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.9
y[1] (closed_form) = 50.40244910553017387976148654122
y[1] (numeric) = 50.402449105530173879761486541175
absolute error = 4.5e-29
relative error = 8.9281375803348779485859376085455e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.91
y[1] (closed_form) = 50.89895197340786092983029148288
y[1] (numeric) = 50.898951973407860929830291482833
absolute error = 4.7e-29
relative error = 9.2339818754136888752135272593153e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.92
y[1] (closed_form) = 51.400444778065487352279404612568
y[1] (numeric) = 51.400444778065487352279404612522
absolute error = 4.6e-29
relative error = 8.9493389013687949120784995608253e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1296.8MB, alloc=40.3MB, time=13.51
TOP MAIN SOLVE Loop
x[1] = 3.93
y[1] (closed_form) = 51.906977669201430973337148919991
y[1] (numeric) = 51.906977669201430973337148919945
absolute error = 4.6e-29
relative error = 8.8620070105321723369890058082203e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.94
y[1] (closed_form) = 52.418601300526917537017237808153
y[1] (numeric) = 52.418601300526917537017237808105
absolute error = 4.8e-29
relative error = 9.1570547113239167502391390253370e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.95
y[1] (closed_form) = 52.9353668348314340392599029227
y[1] (numeric) = 52.935366834831434039259902922652
absolute error = 4.8e-29
relative error = 9.0676617297787447950373000309846e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.96
y[1] (closed_form) = 53.457325949099050312431513118509
y[1] (numeric) = 53.457325949099050312431513118461
absolute error = 4.8e-29
relative error = 8.9791247780902093488172098367782e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.97
y[1] (closed_form) = 53.984530839676160496604750057851
y[1] (numeric) = 53.984530839676160496604750057801
absolute error = 5.0e-29
relative error = 9.2619124816497038791075230005068e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.98
y[1] (closed_form) = 54.517034227491161176072934038621
y[1] (numeric) = 54.517034227491161176072934038572
absolute error = 4.9e-29
relative error = 8.9880164418942105868021097464366e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 3.99
y[1] (closed_form) = 55.054889363326588153261897764787
y[1] (numeric) = 55.054889363326588153261897764736
absolute error = 5.1e-29
relative error = 9.2634824245005840678108767115197e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4
y[1] (closed_form) = 55.598150033144239078110261202861
y[1] (numeric) = 55.598150033144239078110261202809
absolute error = 5.2e-29
relative error = 9.3528291802876101739324317337600e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.01
y[1] (closed_form) = 56.146870563463814449618662535082
y[1] (numeric) = 56.146870563463814449618662535029
absolute error = 5.3e-29
relative error = 9.4395287694784609176388874429317e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1337.2MB, alloc=40.3MB, time=13.94
TOP MAIN SOLVE Loop
x[1] = 4.02
y[1] (closed_form) = 56.701105826795614858150315907712
y[1] (numeric) = 56.701105826795614858150315907657
absolute error = 5.5e-29
relative error = 9.6999871868474720154794969501899e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.03
y[1] (closed_form) = 57.260911247127837742734388822998
y[1] (numeric) = 57.260911247127837742734388822942
absolute error = 5.6e-29
relative error = 9.7797954626174266378184341277537e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.04
y[1] (closed_form) = 57.826342805469022397620692052799
y[1] (numeric) = 57.826342805469022397620692052742
absolute error = 5.7e-29
relative error = 9.8570992448460929376700389868164e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.05
y[1] (closed_form) = 58.397457045446197477205057110728
y[1] (numeric) = 58.39745704544619747720505711067
absolute error = 5.8e-29
relative error = 9.9319393231220860214816434850243e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.06
y[1] (closed_form) = 58.974311078959290818741032291737
y[1] (numeric) = 58.974311078959290818741032291679
absolute error = 5.8e-29
relative error = 9.8347905959164475731749336660531e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.07
y[1] (closed_form) = 59.556962591892367028532192341085
y[1] (numeric) = 59.556962591892367028532192341027
absolute error = 5.8e-29
relative error = 9.7385758903520173640245293027311e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.08
y[1] (closed_form) = 60.145469849882263960123061503388
y[1] (numeric) = 60.14546984988226396012306150333
absolute error = 5.8e-29
relative error = 9.6432865425713415117484683483198e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.09
y[1] (closed_form) = 60.739891704145204952943682133229
y[1] (numeric) = 60.739891704145204952943682133169
absolute error = 6.0e-29
relative error = 9.8781868581937707160796928356291e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.1
y[1] (closed_form) = 61.340287597361969497487219708124
y[1] (numeric) = 61.340287597361969497487219708064
absolute error = 6.0e-29
relative error = 9.7814996228645640449431798359728e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1377.6MB, alloc=40.3MB, time=14.36
TOP MAIN SOLVE Loop
x[1] = 4.11
y[1] (closed_form) = 61.946717569622210848991447239727
y[1] (numeric) = 61.946717569622210848991447239668
absolute error = 5.9e-29
relative error = 9.5243141710760734108196196021005e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.12
y[1] (closed_form) = 62.559242264428515026339091755126
y[1] (numeric) = 62.559242264428515026339091755066
absolute error = 6.0e-29
relative error = 9.5909090053215506346780773953198e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.13
y[1] (closed_form) = 63.177922934760801607080332059943
y[1] (numeric) = 63.177922934760801607080332059882
absolute error = 6.1e-29
relative error = 9.6552715199248030712545148430493e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.14
y[1] (closed_form) = 63.802821449201672763710634207787
y[1] (numeric) = 63.802821449201672763710634207724
absolute error = 6.3e-29
relative error = 9.8741714816105960785776732989438e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.15
y[1] (closed_form) = 64.434000298123323081212027004718
y[1] (numeric) = 64.434000298123323081212027004654
absolute error = 6.4e-29
relative error = 9.9326442101816913597987641343215e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.16
y[1] (closed_form) = 65.071522599936628851995347043461
y[1] (numeric) = 65.071522599936628851995347043397
absolute error = 6.4e-29
relative error = 9.8353315617763533975164147120227e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.17
y[1] (closed_form) = 65.71545210740304176238053926293
y[1] (numeric) = 65.715452107403041762380539262865
absolute error = 6.5e-29
relative error = 9.8911287856265933004655083488536e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.18
y[1] (closed_form) = 66.365853214009918165243590001587
y[1] (numeric) = 66.36585321400991816524359000152
absolute error = 6.7e-29
relative error = 1.0095553173097187368217894764685e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.19
y[1] (closed_form) = 67.022790960409921477070149341099
y[1] (numeric) = 67.022790960409921477070149341032
absolute error = 6.7e-29
relative error = 9.9965995208371158400763157704347e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.2
y[1] (closed_form) = 67.686331040925141645021734653992
y[1] (numeric) = 67.686331040925141645021734653925
absolute error = 6.7e-29
relative error = 9.8986012344929486928577805808124e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1418.1MB, alloc=40.3MB, time=14.78
TOP MAIN SOLVE Loop
x[1] = 4.21
y[1] (closed_form) = 68.356539810116582101381339598584
y[1] (numeric) = 68.356539810116582101381339598517
absolute error = 6.7e-29
relative error = 9.8015493742244955037193822254802e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.22
y[1] (closed_form) = 69.033484289419671159548483832735
y[1] (numeric) = 69.033484289419671159548483832667
absolute error = 6.8e-29
relative error = 9.8502923182774845380642230601523e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.23
y[1] (closed_form) = 69.717232173846461408252914213396
y[1] (numeric) = 69.717232173846461408252914213329
absolute error = 6.7e-29
relative error = 9.6102495625370227019731367355715e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.24
y[1] (closed_form) = 70.407851838755187329511563631169
y[1] (numeric) = 70.407851838755187329511563631101
absolute error = 6.8e-29
relative error = 9.6580137334299676578106626048742e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.25
y[1] (closed_form) = 71.105412346687858101731879995094
y[1] (numeric) = 71.105412346687858101731879995026
absolute error = 6.8e-29
relative error = 9.5632663894069224857347157254406e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.26
y[1] (closed_form) = 71.809983454276569352939848696489
y[1] (numeric) = 71.80998345427656935293984869642
absolute error = 6.9e-29
relative error = 9.6086918114852700620857477161701e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.27
y[1] (closed_form) = 72.521635619219224501063310332678
y[1] (numeric) = 72.52163561921922450106331033261
absolute error = 6.8e-29
relative error = 9.3765121841762585301559442138254e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.28
y[1] (closed_form) = 73.240440007325363259217722516329
y[1] (numeric) = 73.240440007325363259217722516261
absolute error = 6.8e-29
relative error = 9.2844881861986049149920419176610e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.29
y[1] (closed_form) = 73.96646849963280189471643767276
y[1] (numeric) = 73.966468499632801894716437672692
absolute error = 6.8e-29
relative error = 9.1933549592593538857710812038805e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1458.6MB, alloc=40.3MB, time=15.20
TOP MAIN SOLVE Loop
x[1] = 4.3
y[1] (closed_form) = 74.699793699595796911761951170653
y[1] (numeric) = 74.699793699595796911761951170583
absolute error = 7.0e-29
relative error = 9.3708424793653442642580118198373e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.31
y[1] (closed_form) = 75.440488940345450980176545280381
y[1] (numeric) = 75.44048894034545098017654528031
absolute error = 7.1e-29
relative error = 9.4113918132401333489195527760698e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.32
y[1] (closed_form) = 76.188628292023087156815560466137
y[1] (numeric) = 76.188628292023087156815560466063
absolute error = 7.4e-29
relative error = 9.7127355694560738680006985580941e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.33
y[1] (closed_form) = 76.944286569187324743196600893995
y[1] (numeric) = 76.944286569187324743196600893921
absolute error = 7.4e-29
relative error = 9.6173482528114859218860555877366e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.34
y[1] (closed_form) = 77.70753933829559749310302086642
y[1] (numeric) = 77.707539338295597493103020866346
absolute error = 7.4e-29
relative error = 9.5228855050788541662725786210454e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.35
y[1] (closed_form) = 78.478462925260862328217071820222
y[1] (numeric) = 78.478462925260862328217071820146
absolute error = 7.6e-29
relative error = 9.6841855927248177662928606648692e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.36
y[1] (closed_form) = 79.257134423084254238951551456582
y[1] (numeric) = 79.257134423084254238951551456505
absolute error = 7.7e-29
relative error = 9.7152137230907951730137372629934e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.37
y[1] (closed_form) = 80.043631699564450642330605120616
y[1] (numeric) = 80.043631699564450642330605120539
absolute error = 7.7e-29
relative error = 9.6197534226097574408802798336464e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.38
y[1] (closed_form) = 80.838033405084516139779959223782
y[1] (numeric) = 80.838033405084516139779959223706
absolute error = 7.6e-29
relative error = 9.4015152025234429344044742975457e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1499.1MB, alloc=40.3MB, time=15.63
TOP MAIN SOLVE Loop
x[1] = 4.39
y[1] (closed_form) = 81.640418980477006365791424660798
y[1] (numeric) = 81.640418980477006365791424660719
absolute error = 7.9e-29
relative error = 9.6765794427012408995692426527817e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.4
y[1] (closed_form) = 82.450868664968117444400811726181
y[1] (numeric) = 82.450868664968117444400811726101
absolute error = 8.0e-29
relative error = 9.7027479874193918342773327879541e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.41
y[1] (closed_form) = 83.269463504201675475045050936085
y[1] (numeric) = 83.269463504201675475045050936004
absolute error = 8.1e-29
relative error = 9.7274554910411832883815799652250e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.42
y[1] (closed_form) = 84.096285358343768453433785661304
y[1] (numeric) = 84.096285358343768453433785661221
absolute error = 8.3e-29
relative error = 9.8696392648412028255567479927247e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.43
y[1] (closed_form) = 84.931416910268831097381406177663
y[1] (numeric) = 84.93141691026883109738140617758
absolute error = 8.3e-29
relative error = 9.7725909939416884224784683269037e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.44
y[1] (closed_form) = 85.774941673828001192903868431231
y[1] (numeric) = 85.774941673828001192903868431149
absolute error = 8.2e-29
relative error = 9.5599015749631425586371665986140e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.45
y[1] (closed_form) = 86.626944002200574303105227123016
y[1] (numeric) = 86.626944002200574303105227122933
absolute error = 8.3e-29
relative error = 9.5813145616555006879343796530730e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.46
y[1] (closed_form) = 87.4875090963293919922843405557
y[1] (numeric) = 87.487509096329391992284340555617
absolute error = 8.3e-29
relative error = 9.4870685949706997653502424465277e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.47
y[1] (closed_form) = 88.356723013441007111113671531353
y[1] (numeric) = 88.35672301344100711111367153127
absolute error = 8.3e-29
relative error = 9.3937390579066483319297672265699e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1539.6MB, alloc=40.3MB, time=16.05
TOP MAIN SOLVE Loop
x[1] = 4.48
y[1] (closed_form) = 89.234672675651478166518863585011
y[1] (numeric) = 89.234672675651478166518863584927
absolute error = 8.4e-29
relative error = 9.4133813103480113998545749687507e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.49
y[1] (closed_form) = 90.121445878658653362867599725013
y[1] (numeric) = 90.121445878658653362867599724929
absolute error = 8.4e-29
relative error = 9.3207559178643568895874362771889e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.5
y[1] (closed_form) = 91.017131300521813550115456745574
y[1] (numeric) = 91.017131300521813550115456745489
absolute error = 8.5e-29
relative error = 9.3389012360042030328400717223722e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.51
y[1] (closed_form) = 91.92181851052955205051996320841
y[1] (numeric) = 91.921818510529552050519963208324
absolute error = 8.6e-29
relative error = 9.3557766146835733364288464402860e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.52
y[1] (closed_form) = 92.835597978156778159295456987861
y[1] (numeric) = 92.835597978156778159295456987772
absolute error = 8.9e-29
relative error = 9.5868397401760418152953308166556e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.53
y[1] (closed_form) = 93.758561082111740027023002329753
y[1] (numeric) = 93.758561082111740027023002329663
absolute error = 9.0e-29
relative error = 9.5991234252389952190015912470359e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.54
y[1] (closed_form) = 94.690800119473971633642818281708
y[1] (numeric) = 94.690800119473971633642818281614
absolute error = 9.4e-29
relative error = 9.9270467544257340486709780245469e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.55
y[1] (closed_form) = 95.632408314924077656341598932635
y[1] (numeric) = 95.632408314924077656341598932542
absolute error = 9.3e-29
relative error = 9.7247367956838045337997865291288e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.56
y[1] (closed_form) = 96.583479830066279217513027221686
y[1] (numeric) = 96.58347983006627921751302722159
absolute error = 9.6e-29
relative error = 9.9395880298480773001464946034336e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1579.9MB, alloc=40.3MB, time=16.45
TOP MAIN SOLVE Loop
x[1] = 4.57
y[1] (closed_form) = 97.54410977284465277513509238733
y[1] (numeric) = 97.544109772844652775135092387233
absolute error = 9.7e-29
relative error = 9.9442191051708047130186491959316e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.58
y[1] (closed_form) = 98.51439420705400378730014068658
y[1] (numeric) = 98.514394207054003787300140686482
absolute error = 9.8e-29
relative error = 9.9477848682728669498731604178705e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.59
y[1] (closed_form) = 99.494430161946326246189866862324
y[1] (numeric) = 99.494430161946326246189866862226
absolute error = 9.8e-29
relative error = 9.8497976058042793297220791785025e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.6
y[1] (closed_form) = 100.48431564193380873545405348757
y[1] (numeric) = 100.48431564193380873545405348747
absolute error = 1.0e-28
relative error = 9.9518018669043215729490384494368e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.61
y[1] (closed_form) = 101.48414963638935731968466139449
y[1] (numeric) = 101.48414963638935731968466139439
absolute error = 1.0e-28
relative error = 9.8537555232312669379092982607586e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.62
y[1] (closed_form) = 102.49403212954561532644134822903
y[1] (numeric) = 102.49403212954561532644134822893
absolute error = 1.0e-28
relative error = 9.7566656245513567866386240448819e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.63
y[1] (closed_form) = 103.51406411049346993105582833176
y[1] (numeric) = 103.51406411049346993105582833166
absolute error = 1.0e-28
relative error = 9.6605230274079016871836139596531e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.64
y[1] (closed_form) = 104.54434758328104540320567097554
y[1] (numeric) = 104.54434758328104540320567097544
absolute error = 1.0e-28
relative error = 9.5653186720916715403805310951390e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.65
y[1] (closed_form) = 105.58498557711419292299805009791
y[1] (numeric) = 105.5849855771141929229980500978
absolute error = 1.1e-28
relative error = 1.0418147940140721332425183444017e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.66
y[1] (closed_form) = 106.63608215665949702404549041811
y[1] (numeric) = 106.636082156659497024045490418
absolute error = 1.1e-28
relative error = 1.0315457748944541843515551832059e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1620.3MB, alloc=40.3MB, time=16.88
TOP MAIN SOLVE Loop
x[1] = 4.67
y[1] (closed_form) = 107.69774243245082897276378483542
y[1] (numeric) = 107.6977424324508289727637848353
absolute error = 1.2e-28
relative error = 1.1142294841998687019071557892410e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.68
y[1] (closed_form) = 108.77007257140048774790216962363
y[1] (numeric) = 108.77007257140048774790216962353
absolute error = 1.0e-28
relative error = 9.1937053672880925271528538623071e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.69
y[1] (closed_form) = 109.85317980741597974316302378673
y[1] (numeric) = 109.85317980741597974316302378662
absolute error = 1.1e-28
relative error = 1.0013365129060570780510004042418e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.7
y[1] (closed_form) = 110.94717245212349887972870045537
y[1] (numeric) = 110.94717245212349887972870045525
absolute error = 1.2e-28
relative error = 1.0815958383417389421623073798081e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.71
y[1] (closed_form) = 112.05215990569917948564300622207
y[1] (numeric) = 112.05215990569917948564300622195
absolute error = 1.2e-28
relative error = 1.0709298250117584633076736590533e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.72
y[1] (closed_form) = 113.1682526678092050763613407161
y[1] (numeric) = 113.16825266780920507636134071599
absolute error = 1.1e-28
relative error = 9.7200405066684910528765829706804e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.73
y[1] (closed_form) = 114.29556234865986705646433913828
y[1] (numeric) = 114.29556234865986705646433913815
absolute error = 1.3e-28
relative error = 1.1374019894441183426759443471814e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.74
y[1] (closed_form) = 115.43420168015867835761360206601
y[1] (numeric) = 115.43420168015867835761360206587
absolute error = 1.4e-28
relative error = 1.2128121298738430618922418135884e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.75
y[1] (closed_form) = 116.58428452718765813341426713653
y[1] (numeric) = 116.58428452718765813341426713638
absolute error = 1.5e-28
relative error = 1.2866228120567977482346487848808e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1660.7MB, alloc=40.3MB, time=17.30
TOP MAIN SOLVE Loop
x[1] = 4.76
y[1] (closed_form) = 117.74592589898991484904834409238
y[1] (numeric) = 117.74592589898991484904834409222
absolute error = 1.6e-28
relative error = 1.3588580562630962532936554309718e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.77
y[1] (closed_form) = 118.91924196067066643347662739359
y[1] (numeric) = 118.91924196067066643347662739345
absolute error = 1.4e-28
relative error = 1.1772695292348165657915986386695e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.78
y[1] (closed_form) = 120.10435004481384760580862199534
y[1] (numeric) = 120.10435004481384760580862199518
absolute error = 1.6e-28
relative error = 1.3321748957494055563982666007008e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.79
y[1] (closed_form) = 121.30136866321546604625365765727
y[1] (numeric) = 121.30136866321546604625365765711
absolute error = 1.6e-28
relative error = 1.3190288103362502294649165072850e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.8
y[1] (closed_form) = 122.51041751873488075704811629788
y[1] (numeric) = 122.51041751873488075704811629772
absolute error = 1.6e-28
relative error = 1.3060113845055832288216680052900e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.81
y[1] (closed_form) = 123.73161751726518775107096333766
y[1] (numeric) = 123.73161751726518775107096333749
absolute error = 1.7e-28
relative error = 1.3739414663053171726721907539276e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.82
y[1] (closed_form) = 124.96509077982391011669179924248
y[1] (numeric) = 124.9650907798239101166917992423
absolute error = 1.8e-28
relative error = 1.4404022665589235549790333912250e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.83
y[1] (closed_form) = 126.21096065476520153793352471171
y[1] (numeric) = 126.21096065476520153793352471152
absolute error = 1.9e-28
relative error = 1.5054160036046472271613550582068e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.84
y[1] (closed_form) = 127.46935173011478450047850596726
y[1] (numeric) = 127.46935173011478450047850596707
absolute error = 1.9e-28
relative error = 1.4905543757865701625510203516420e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1701.0MB, alloc=40.3MB, time=17.72
TOP MAIN SOLVE Loop
x[1] = 4.85
y[1] (closed_form) = 128.74038984602885668761799019549
y[1] (numeric) = 128.74038984602885668761799019529
absolute error = 2.0e-28
relative error = 1.5535140156030001861436306301642e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.86
y[1] (closed_form) = 130.0242021073782114671668226883
y[1] (numeric) = 130.0242021073782114671668226881
absolute error = 2.0e-28
relative error = 1.5381751763016665208645775254987e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.87
y[1] (closed_form) = 131.32091689645883089187895918358
y[1] (numeric) = 131.32091689645883089187895918338
absolute error = 2.0e-28
relative error = 1.5229866248778312724992777134705e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.88
y[1] (closed_form) = 132.63066388583022228325601109699
y[1] (numeric) = 132.6306638858302222832560110968
absolute error = 1.9e-28
relative error = 1.4325495660909445912811022042928e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.89
y[1] (closed_form) = 133.95357405128278224310585398182
y[1] (numeric) = 133.95357405128278224310585398162
absolute error = 2.0e-28
relative error = 1.4930546005695376671467161470584e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.9
y[1] (closed_form) = 135.28977968493548484005862777435
y[1] (numeric) = 135.28977968493548484005862777415
absolute error = 2.0e-28
relative error = 1.4783082688563946070735884456289e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.91
y[1] (closed_form) = 136.63941440846520375077355696288
y[1] (numeric) = 136.63941440846520375077355696268
absolute error = 2.0e-28
relative error = 1.4637065071292447385211997464811e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.92
y[1] (closed_form) = 138.00261318646899129907518322816
y[1] (numeric) = 138.00261318646899129907518322796
absolute error = 2.0e-28
relative error = 1.4492479191662856584518371770470e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.93
y[1] (closed_form) = 139.37951233996065063205819382868
y[1] (numeric) = 139.3795123399606506320581938285
absolute error = 1.8e-28
relative error = 1.2914380096334523971790149867962e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
memory used=1741.5MB, alloc=40.3MB, time=18.14
TOP MAIN SOLVE Loop
x[1] = 4.94
y[1] (closed_form) = 140.77024956000295070162563718432
y[1] (numeric) = 140.77024956000295070162563718414
absolute error = 1.8e-28
relative error = 1.2786792703899801696067845751765e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.95
y[1] (closed_form) = 142.17496392147684728431889649845
y[1] (numeric) = 142.17496392147684728431889649826
absolute error = 1.9e-28
relative error = 1.3363815594490805939577394294627e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.96
y[1] (closed_form) = 143.59379589698908697301579351366
y[1] (numeric) = 143.59379589698908697301579351346
absolute error = 2.0e-28
relative error = 1.3928178355524178559951330124037e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.97
y[1] (closed_form) = 145.02688737091958491248570083683
y[1] (numeric) = 145.02688737091958491248570083663
absolute error = 2.0e-28
relative error = 1.3790546265292285447465721094936e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.98
y[1] (closed_form) = 146.47438165360998102828140547844
y[1] (numeric) = 146.47438165360998102828140547824
absolute error = 2.0e-28
relative error = 1.3654264844276325797734014223431e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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] = 4.99
y[1] (closed_form) = 147.93642349569479361641444906234
y[1] (numeric) = 147.93642349569479361641444906212
absolute error = 2.2e-28
relative error = 1.4871253123569151405634099803583e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO POLE (given) for Equation 1
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
Finished!
diff ( y , x , 2 ) = diff ( y , x , 1 ) ;
Iterations = 4000
Total Elapsed Time = 18 Seconds
Elapsed Time(since restart) = 18 Seconds
Time to Timeout = 2 Minutes 41 Seconds
Percent Done = 100 %
> quit
memory used=1769.5MB, alloc=40.3MB, time=18.42