|\^/| 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(7.2134752044448170367996234050095)*expt(c(2.0),(c(0.2)*c(x)+c(0.3))));
> end;
exact_soln_y := proc(x)
return
c(7.2134752044448170367996234050095)*expt(c(2.0), c(0.2)*c(x) + c(0.3))
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_1,
> array_const_0D0,
> array_const_2D0,
> array_const_0D2,
> array_const_0D3,
#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_tmp3_c1,
> array_tmp3_a1,
> array_tmp3_a2,
> array_tmp3,
> array_tmp4,
> 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_1, array_const_0D0, array_const_2D0,
array_const_0D2, array_const_0D3, 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_tmp3_c1, array_tmp3_a1, array_tmp3_a2,
array_tmp3, array_tmp4, 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_1,
> array_const_0D0,
> array_const_2D0,
> array_const_0D2,
> array_const_0D3,
#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_tmp3_c1,
> array_tmp3_a1,
> array_tmp3_a2,
> array_tmp3,
> array_tmp4,
> 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_1, array_const_0D0, array_const_2D0,
array_const_0D2, array_const_0D3, 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_tmp3_c1, array_tmp3_a1, array_tmp3_a2,
array_tmp3, array_tmp4, 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_1,
> array_const_0D0,
> array_const_2D0,
> array_const_0D2,
> array_const_0D3,
#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_tmp3_c1,
> array_tmp3_a1,
> array_tmp3_a2,
> array_tmp3,
> array_tmp4,
> 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_1, array_const_0D0, array_const_2D0,
array_const_0D2, array_const_0D3, 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_tmp3_c1, array_tmp3_a1, array_tmp3_a2,
array_tmp3, array_tmp4, 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_1,
> array_const_0D0,
> array_const_2D0,
> array_const_0D2,
> array_const_0D3,
#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_tmp3_c1,
> array_tmp3_a1,
> array_tmp3_a2,
> array_tmp3,
> array_tmp4,
> 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_1, array_const_0D0, array_const_2D0,
array_const_0D2, array_const_0D3, 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_tmp3_c1, array_tmp3_a1, array_tmp3_a2,
array_tmp3, array_tmp4, 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_1,
> array_const_0D0,
> array_const_2D0,
> array_const_0D2,
> array_const_0D3,
#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_tmp3_c1,
> array_tmp3_a1,
> array_tmp3_a2,
> array_tmp3,
> array_tmp4,
> 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)*25*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_1, array_const_0D0, array_const_2D0,
array_const_0D2, array_const_0D3, 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_tmp3_c1, array_tmp3_a1, array_tmp3_a2,
array_tmp3, array_tmp4, 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)*25*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_1,
> array_const_0D0,
> array_const_2D0,
> array_const_0D2,
> array_const_0D3,
#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_tmp3_c1,
> array_tmp3_a1,
> array_tmp3_a2,
> array_tmp3,
> array_tmp4,
> 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_1, array_const_0D0, array_const_2D0,
array_const_0D2, array_const_0D3, 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_tmp3_c1, array_tmp3_a1, array_tmp3_a2,
array_tmp3, array_tmp4, 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_1,
> array_const_0D0,
> array_const_2D0,
> array_const_0D2,
> array_const_0D3,
#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_tmp3_c1,
> array_tmp3_a1,
> array_tmp3_a2,
> array_tmp3,
> array_tmp4,
> 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 - 1 - 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 - 1 - 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 - 1 - 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_1, array_const_0D0, array_const_2D0,
array_const_0D2, array_const_0D3, 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_tmp3_c1, array_tmp3_a1, array_tmp3_a2,
array_tmp3, array_tmp4, 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 - 11;
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 - 11;
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 - 11;
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_1,
> array_const_0D0,
> array_const_2D0,
> array_const_0D2,
> array_const_0D3,
#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_tmp3_c1,
> array_tmp3_a1,
> array_tmp3_a2,
> array_tmp3,
> array_tmp4,
> 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 mult CONST - LINEAR $eq_no = 1 i = 1
> array_tmp1[1] := array_const_0D2[1] * array_x[1];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 1
> array_tmp2[1] := array_tmp1[1] + array_const_0D3[1];
> #emit pre expt CONST - LINEAR $eq_no = 1 i = 1
> array_tmp3[1] := expt(array_const_2D0[1] , c(array_tmp2[1]));
> array_tmp3_c1[1] := ln(array_const_2D0[1]);
> #emit pre add CONST FULL $eq_no = 1 i = 1
> array_tmp4[1] := array_const_0D0[1] + array_tmp3[1];
> #emit pre assign xxx $eq_no = 1 i = 1 $min_hdrs = 5
> if ( not array_y_set_initial[1,2]) then # if number 1
> if (1 <= ATS_MAX_TERMS) then # if number 2
> temporary := c(array_tmp4[1]) * (expt((glob_h) , c(1))) * c(factorial_3(0,1));
> if (2 <= ATS_MAX_TERMS) then # if number 3
> array_y[2] := temporary;
> array_y_higher[1,2] := temporary;
> fi;# end if 3;
> temporary := c(temporary) / c(glob_h) * c(1);
> array_y_higher[2,1] := c(temporary);
> fi;# end if 2;
> fi;# end if 1;
> kkk := 2;
> #END ATOMHDR1
> #BEGIN ATOMHDR2
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 2
> array_tmp1[2] := array_const_0D2[1] * array_x[2];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 2
> array_tmp2[2] := array_tmp1[2];
> #emit pre expt CONST LINEAR $eq_no = 1 iii = 2
> array_tmp3[2] := array_tmp3_c1[1] * array_tmp3[1] * array_tmp2[2] / c(1);
> #emit pre add CONST FULL $eq_no = 1 i = 2
> array_tmp4[2] := array_tmp3[2];
> #emit pre assign xxx $eq_no = 1 i = 2 $min_hdrs = 5
> if ( not array_y_set_initial[1,3]) then # if number 1
> if (2 <= ATS_MAX_TERMS) then # if number 2
> temporary := c(array_tmp4[2]) * (expt((glob_h) , c(1))) * c(factorial_3(1,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);
> fi;# end if 2;
> fi;# end if 1;
> kkk := 3;
> #END ATOMHDR2
> #BEGIN ATOMHDR3
> #emit pre expt CONST LINEAR $eq_no = 1 iii = 3
> array_tmp3[3] := array_tmp3_c1[1] * array_tmp3[2] * array_tmp2[2] / c(2);
> #emit pre add CONST FULL $eq_no = 1 i = 3
> array_tmp4[3] := array_tmp3[3];
> #emit pre assign xxx $eq_no = 1 i = 3 $min_hdrs = 5
> if ( not array_y_set_initial[1,4]) then # if number 1
> if (3 <= ATS_MAX_TERMS) then # if number 2
> temporary := c(array_tmp4[3]) * (expt((glob_h) , c(1))) * c(factorial_3(2,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);
> fi;# end if 2;
> fi;# end if 1;
> kkk := 4;
> #END ATOMHDR3
> #BEGIN ATOMHDR4
> #emit pre expt CONST LINEAR $eq_no = 1 iii = 4
> array_tmp3[4] := array_tmp3_c1[1] * array_tmp3[3] * array_tmp2[2] / c(3);
> #emit pre add CONST FULL $eq_no = 1 i = 4
> array_tmp4[4] := array_tmp3[4];
> #emit pre assign xxx $eq_no = 1 i = 4 $min_hdrs = 5
> if ( not array_y_set_initial[1,5]) then # if number 1
> if (4 <= ATS_MAX_TERMS) then # if number 2
> temporary := c(array_tmp4[4]) * (expt((glob_h) , c(1))) * c(factorial_3(3,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);
> fi;# end if 2;
> fi;# end if 1;
> kkk := 5;
> #END ATOMHDR4
> #BEGIN ATOMHDR5
> #emit pre expt CONST LINEAR $eq_no = 1 iii = 5
> array_tmp3[5] := array_tmp3_c1[1] * array_tmp3[4] * array_tmp2[2] / c(4);
> #emit pre add CONST FULL $eq_no = 1 i = 5
> array_tmp4[5] := array_tmp3[5];
> #emit pre assign xxx $eq_no = 1 i = 5 $min_hdrs = 5
> if ( not array_y_set_initial[1,6]) then # if number 1
> if (5 <= ATS_MAX_TERMS) then # if number 2
> temporary := c(array_tmp4[5]) * (expt((glob_h) , c(1))) * c(factorial_3(4,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);
> 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 expt CONST LINEAR (NOP) $eq_no = 1 i = 1
> array_tmp3[kkk] := array_tmp3_c1[1] * array_tmp3[kkk - 1] * array_tmp2[2] / c(kkk - 1);
> #emit NOT FULL - FULL add $eq_no = 1
> array_tmp4[kkk] := array_tmp3[kkk];
> #emit assign $eq_no = 1
> order_d := 1;
> if (kkk + order_d <= ATS_MAX_TERMS) then # if number 1
> if ( not array_y_set_initial[1,kkk + order_d]) then # if number 2
> temporary := c(array_tmp4[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_1, array_const_0D0, array_const_2D0,
array_const_0D2, array_const_0D3, 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_tmp3_c1, array_tmp3_a1, array_tmp3_a2,
array_tmp3, array_tmp4, 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_const_0D2[1]*array_x[1];
array_tmp2[1] := array_tmp1[1] + array_const_0D3[1];
array_tmp3[1] := expt(array_const_2D0[1], c(array_tmp2[1]));
array_tmp3_c1[1] := ln(array_const_2D0[1]);
array_tmp4[1] := array_const_0D0[1] + array_tmp3[1];
if not array_y_set_initial[1, 2] then
if 1 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp4[1])*expt(glob_h, c(1))*c(factorial_3(0, 1));
if 2 <= ATS_MAX_TERMS then
array_y[2] := temporary; array_y_higher[1, 2] := temporary
end if;
temporary := c(temporary)*c(1)/c(glob_h);
array_y_higher[2, 1] := c(temporary)
end if
end if;
kkk := 2;
array_tmp1[2] := array_const_0D2[1]*array_x[2];
array_tmp2[2] := array_tmp1[2];
array_tmp3[2] := array_tmp3_c1[1]*array_tmp3[1]*array_tmp2[2]/c(1);
array_tmp4[2] := array_tmp3[2];
if not array_y_set_initial[1, 3] then
if 2 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp4[2])*expt(glob_h, c(1))*c(factorial_3(1, 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)
end if
end if;
kkk := 3;
array_tmp3[3] := array_tmp3_c1[1]*array_tmp3[2]*array_tmp2[2]/c(2);
array_tmp4[3] := array_tmp3[3];
if not array_y_set_initial[1, 4] then
if 3 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp4[3])*expt(glob_h, c(1))*c(factorial_3(2, 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)
end if
end if;
kkk := 4;
array_tmp3[4] := array_tmp3_c1[1]*array_tmp3[3]*array_tmp2[2]/c(3);
array_tmp4[4] := array_tmp3[4];
if not array_y_set_initial[1, 5] then
if 4 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp4[4])*expt(glob_h, c(1))*c(factorial_3(3, 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)
end if
end if;
kkk := 5;
array_tmp3[5] := array_tmp3_c1[1]*array_tmp3[4]*array_tmp2[2]/c(4);
array_tmp4[5] := array_tmp3[5];
if not array_y_set_initial[1, 6] then
if 5 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp4[5])*expt(glob_h, c(1))*c(factorial_3(4, 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)
end if
end if;
kkk := 6;
while kkk <= ATS_MAX_TERMS do
array_tmp3[kkk] :=
array_tmp3_c1[1]*array_tmp3[kkk - 1]*array_tmp2[2]/c(kkk - 1);
array_tmp4[kkk] := array_tmp3[kkk];
order_d := 1;
if kkk + order_d <= ATS_MAX_TERMS then
if not array_y_set_initial[1, kkk + order_d] then
temporary := c(array_tmp4[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_1,
> array_const_0D0,
> array_const_2D0,
> array_const_0D2,
> array_const_0D3,
> #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_tmp3_c1,
> array_tmp3_a1,
> array_tmp3_a2,
> array_tmp3,
> array_tmp4,
> 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_tmp3_c1:= Array(0..(30),[]);
> array_tmp3_a1:= Array(0..(30),[]);
> array_tmp3_a2:= Array(0..(30),[]);
> array_tmp3:= Array(0..(30),[]);
> array_tmp4:= Array(0..(30),[]);
> array_m1:= Array(0..(30),[]);
> array_y_higher := Array(0..(2) ,(0..30+ 1),[]);
> array_y_higher_work := Array(0..(2) ,(0..30+ 1),[]);
> array_y_higher_work2 := Array(0..(2) ,(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_tmp3_c1[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_tmp3_a1[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_tmp3_a2[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_tmp3[term] := c(0.0);
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 30) do # do number 1
> array_tmp4[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 <=2) 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 <=2) 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 <=2) 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_tmp3_c1);
> zero_ats_ar(array_tmp3_a1);
> zero_ats_ar(array_tmp3_a2);
> zero_ats_ar(array_tmp3);
> zero_ats_ar(array_tmp4);
> zero_ats_ar(array_m1);
> zero_ats_ar(array_const_1);
> array_const_1[1] := c(1);
> zero_ats_ar(array_const_0D0);
> array_const_0D0[1] := c(0.0);
> zero_ats_ar(array_const_2D0);
> array_const_2D0[1] := c(2.0);
> zero_ats_ar(array_const_0D2);
> array_const_0D2[1] := c(0.2);
> zero_ats_ar(array_const_0D3);
> array_const_0D3[1] := c(0.3);
> 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] := false;
> array_y_set_initial[1,3] := false;
> array_y_set_initial[1,4] := false;
> array_y_set_initial[1,5] := false;
> array_y_set_initial[1,6] := false;
> array_y_set_initial[1,7] := false;
> array_y_set_initial[1,8] := false;
> array_y_set_initial[1,9] := false;
> array_y_set_initial[1,10] := false;
> array_y_set_initial[1,11] := false;
> array_y_set_initial[1,12] := false;
> array_y_set_initial[1,13] := false;
> array_y_set_initial[1,14] := false;
> array_y_set_initial[1,15] := false;
> array_y_set_initial[1,16] := false;
> array_y_set_initial[1,17] := false;
> array_y_set_initial[1,18] := false;
> array_y_set_initial[1,19] := false;
> array_y_set_initial[1,20] := false;
> array_y_set_initial[1,21] := false;
> array_y_set_initial[1,22] := false;
> array_y_set_initial[1,23] := false;
> array_y_set_initial[1,24] := false;
> array_y_set_initial[1,25] := false;
> array_y_set_initial[1,26] := false;
> array_y_set_initial[1,27] := false;
> array_y_set_initial[1,28] := false;
> array_y_set_initial[1,29] := false;
> array_y_set_initial[1,30] := false;
> # 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/expt_c_linpostode.ode#################");
> omniout_str(ALWAYS,"diff ( y , x , 1 ) = expt ( 2.0 , ( 0.2 * x + 0.3 ) ) ; ");
> 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,"");
> omniout_str(ALWAYS,"x_end := c(5.0) ;");
> omniout_str(ALWAYS,"array_y_init[0 + 1] := exact_soln_y(x_start);");
> omniout_str(ALWAYS,"glob_look_poles := true;");
> omniout_str(ALWAYS,"");
> 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 := 0;");
> 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.000001);");
> omniout_str(ALWAYS,"glob_lower_ratio_limit:=c(0.999999);");
> 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(7.2134752044448170367996234050095)*expt(c(2.0),(c(0.2)*c(x)+c(0.3))));");
> omniout_str(ALWAYS,"end;");
> 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);
> glob_look_poles := true;
> glob_type_given_pole := 0;
> #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.000001);
> glob_lower_ratio_limit:=c(0.999999);
> 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 := 1;
> #Start Series array_y
> term_no := 1;
> while (term_no <= order_diff) do # do number 2
> array_y[term_no] := array_y_init[term_no] * expt(glob_h , 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 := 1;
> #Start Series array_y
> term_no := 1;
> while (term_no <= order_diff) do # do number 1
> array_y[term_no] := array_y_init[term_no] * expt(glob_h , 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 := 2;
> #START PART 1 SUM AND ADJUST
> #START SUM AND ADJUST EQ =1
> #sum_and_adjust array_y
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 2;
> calc_term := 1;
> #adjust_subseriesarray_y
> iii := 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 := 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 , 1 ) = expt ( 2.0 , ( 0.2 * x + 0.3 ) ) ; ");
> 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-01T22:00:39-05:00")
> ;
> logitem_str(html_log_file,"Maple")
> ;
> logitem_str(html_log_file,"expt_c_lin")
> ;
> logitem_str(html_log_file,"diff ( y , x , 1 ) = expt ( 2.0 , ( 0.2 * x + 0.3 ) ) ; ")
> ;
> 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,"expt_c_lin diffeq.mxt")
> ;
> logitem_str(html_log_file,"expt_c_lin 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_1, array_const_0D0, array_const_2D0,
array_const_0D2, array_const_0D3, 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_tmp3_c1, array_tmp3_a1, array_tmp3_a2,
array_tmp3, array_tmp4, 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_tmp3_c1 := Array(0 .. 30, []);
array_tmp3_a1 := Array(0 .. 30, []);
array_tmp3_a2 := Array(0 .. 30, []);
array_tmp3 := Array(0 .. 30, []);
array_tmp4 := Array(0 .. 30, []);
array_m1 := Array(0 .. 30, []);
array_y_higher := Array(0 .. 2, 0 .. 31, []);
array_y_higher_work := Array(0 .. 2, 0 .. 31, []);
array_y_higher_work2 := Array(0 .. 2, 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_tmp3_c1[term] := c(0.); term := term + 1
end do;
term := 1;
while term <= 30 do array_tmp3_a1[term] := c(0.); term := term + 1
end do;
term := 1;
while term <= 30 do array_tmp3_a2[term] := c(0.); term := term + 1
end do;
term := 1;
while term <= 30 do array_tmp3[term] := c(0.); term := term + 1 end do;
term := 1;
while term <= 30 do array_tmp4[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 <= 2 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 <= 2 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 <= 2 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_tmp3_c1);
zero_ats_ar(array_tmp3_a1);
zero_ats_ar(array_tmp3_a2);
zero_ats_ar(array_tmp3);
zero_ats_ar(array_tmp4);
zero_ats_ar(array_m1);
zero_ats_ar(array_const_1);
array_const_1[1] := c(1);
zero_ats_ar(array_const_0D0);
array_const_0D0[1] := c(0.);
zero_ats_ar(array_const_2D0);
array_const_2D0[1] := c(2.0);
zero_ats_ar(array_const_0D2);
array_const_0D2[1] := c(0.2);
zero_ats_ar(array_const_0D3);
array_const_0D3[1] := c(0.3);
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] := false;
array_y_set_initial[1, 3] := false;
array_y_set_initial[1, 4] := false;
array_y_set_initial[1, 5] := false;
array_y_set_initial[1, 6] := false;
array_y_set_initial[1, 7] := false;
array_y_set_initial[1, 8] := false;
array_y_set_initial[1, 9] := false;
array_y_set_initial[1, 10] := false;
array_y_set_initial[1, 11] := false;
array_y_set_initial[1, 12] := false;
array_y_set_initial[1, 13] := false;
array_y_set_initial[1, 14] := false;
array_y_set_initial[1, 15] := false;
array_y_set_initial[1, 16] := false;
array_y_set_initial[1, 17] := false;
array_y_set_initial[1, 18] := false;
array_y_set_initial[1, 19] := false;
array_y_set_initial[1, 20] := false;
array_y_set_initial[1, 21] := false;
array_y_set_initial[1, 22] := false;
array_y_set_initial[1, 23] := false;
array_y_set_initial[1, 24] := false;
array_y_set_initial[1, 25] := false;
array_y_set_initial[1, 26] := false;
array_y_set_initial[1, 27] := false;
array_y_set_initial[1, 28] := false;
array_y_set_initial[1, 29] := false;
array_y_set_initial[1, 30] := false;
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/expt_c_linpostode.ode#################");
omniout_str(ALWAYS, "diff ( y , x , 1 ) = expt ( 2.0 , \
( 0.2 * x + 0.3 ) ) ; ");
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, "");
omniout_str(ALWAYS, "x_end := c(5.0) ;");
omniout_str(ALWAYS, "array_y_init[0 + 1] := exact_soln_y(x_start);");
omniout_str(ALWAYS, "glob_look_poles := true;");
omniout_str(ALWAYS, "");
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 := 0;");
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.000001);");
omniout_str(ALWAYS, "glob_lower_ratio_limit:=c(0.999999);");
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(7.2134752044448170367996234050095)*expt\
(c(2.0),(c(0.2)*c(x)+c(0.3))));");
omniout_str(ALWAYS, "end;");
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);
glob_look_poles := true;
glob_type_given_pole := 0;
glob_desired_digits_correct := 8;
glob_max_minutes := 3.0;
glob_subiter_method := 3;
glob_max_iter := 100000;
glob_upper_ratio_limit := c(1.000001);
glob_lower_ratio_limit := c(0.999999);
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 := 1;
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 := 1;
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 := 2;
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 := 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 , 1 ) = expt ( 2.0 , \
( 0.2 * x + 0.3 ) ) ; ");
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-01T22:00:39-05:00");
logitem_str(html_log_file, "Maple");
logitem_str(html_log_file,
"expt_c_lin");
logitem_str(html_log_file, "diff ( y , x , 1 ) = e\
xpt ( 2.0 , ( 0.2 * x + 0.3 ) ) ; ");
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, "expt_c_lin diffeq.mxt");
logitem_str(html_log_file, "expt_c_lin 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/expt_c_linpostode.ode#################
diff ( y , x , 1 ) = expt ( 2.0 , ( 0.2 * x + 0.3 ) ) ;
!
#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);
glob_look_poles := true;
glob_type_given_pole := 0;
#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.000001);
glob_lower_ratio_limit:=c(0.999999);
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(7.2134752044448170367996234050095)*expt(c(2.0),(c(0.2)*c(x)+c(0.3))));
end;
#END USER DEF BLOCK
#######END OF ECHO OF PROBLEM#################
START of Soultion
TOP MAIN SOLVE Loop
x[1] = 1
y[1] (closed_form) = 10.201394465967894817482791055323
y[1] (numeric) = 10.201394465967894817482791055323
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 14
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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.2MB, alloc=40.3MB, time=0.11
TOP MAIN SOLVE Loop
x[1] = 1.01
y[1] (closed_form) = 10.215546408704385237849305886931
y[1] (numeric) = 10.215546408704385237849305886933
absolute error = 2e-30
relative error = 1.9578003172653155214232202036974e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.229717983804263333756000444598
y[1] (numeric) = 10.2297179838042633337560004446
absolute error = 2e-30
relative error = 1.9550881101183915520234399706513e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.243909218502637341750671383274
y[1] (numeric) = 10.243909218502637341750671383276
absolute error = 2e-30
relative error = 1.9523796602839692480245081035612e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.258120140072397557831080363532
y[1] (numeric) = 10.258120140072397557831080363534
absolute error = 2e-30
relative error = 1.9496749625569162318415268837659e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.272350775824268750822711996241
y[1] (numeric) = 10.272350775824268750822711996242
absolute error = 1e-30
relative error = 9.7348700586965548611044943328655e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.286601153106862648467289432275
y[1] (numeric) = 10.286601153106862648467289432277
absolute error = 2e-30
relative error = 1.9442768026404327948104638597714e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.300871299306730496322916011095
y[1] (numeric) = 10.300871299306730496322916011098
absolute error = 3e-30
relative error = 2.9123749951151278598524975841666e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.31516124184841568957685131228
y[1] (numeric) = 10.315161241848415689576851312284
absolute error = 4e-30
relative error = 3.8777871777438388679824795439755e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.329471008194506477872070078535
y[1] (numeric) = 10.329471008194506477872070078538
absolute error = 3e-30
relative error = 2.9043113607851362127149352046286e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.1
y[1] (closed_form) = 10.343800625845688743248892797458
y[1] (numeric) = 10.343800625845688743248892797463
absolute error = 5e-30
relative error = 4.8338131996731229136648723237163e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.358150122340798851303117242815
y[1] (numeric) = 10.358150122340798851303117242819
absolute error = 4e-30
relative error = 3.8616934035090575147004311754875e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.372519525256876575662220984428
y[1] (numeric) = 10.372519525256876575662220984432
absolute error = 4e-30
relative error = 3.8563436687297434269037943514760e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.386908862209218095881345779404
y[1] (numeric) = 10.386908862209218095881345779406
absolute error = 2e-30
relative error = 1.9255006725596848137309488677856e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.4013181608514290688609158564
y[1] (numeric) = 10.401318160851429068860915856402
absolute error = 2e-30
relative error = 1.9228332112054962761958681925697e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=45.5MB, alloc=44.3MB, time=0.56
TOP MAIN SOLVE Loop
x[1] = 1.15
y[1] (closed_form) = 10.415747448875477773887883399497
y[1] (numeric) = 10.415747448875477773887883399498
absolute error = 1e-30
relative error = 9.6008472258797294566707848249342e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.430196754011748331402736028956
y[1] (numeric) = 10.430196754011748331402736028959
absolute error = 3e-30
relative error = 2.8762640540276627553148366976095e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.444666104029093995594542763307
y[1] (numeric) = 10.44466610402909399559454276331
absolute error = 3e-30
relative error = 2.8722794679312262593141975341612e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.459155526734890520926456830768
y[1] (numeric) = 10.459155526734890520926456830771
absolute error = 3e-30
relative error = 2.8683004018169825256249040948581e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.19
y[1] (closed_form) = 10.473665049975089602694235778532
y[1] (numeric) = 10.473665049975089602694235778537
absolute error = 5e-30
relative error = 4.7738780800631885014943888171402e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.488194701634272391720481605975
y[1] (numeric) = 10.48819470163427239172048160598
absolute error = 5e-30
relative error = 4.7672646649293220094475760038775e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.502744509635703083287446122811
y[1] (numeric) = 10.502744509635703083287446122817
absolute error = 6e-30
relative error = 5.7127924939003541171874626756301e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.517314501941382580411389405808
y[1] (numeric) = 10.517314501941382580411389405814
absolute error = 6e-30
relative error = 5.7048783688007664419890125009123e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.53190470655210223156162209818
y[1] (numeric) = 10.531904706552102231561622098186
absolute error = 6e-30
relative error = 5.6969752074069599234407830324778e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.546515151507497642927505364494
y[1] (numeric) = 10.5465151515074976429275053645
absolute error = 6e-30
relative error = 5.6890829945305412845613041308779e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.561145864886102565336825581137
y[1] (numeric) = 10.561145864886102565336825581141
absolute error = 4e-30
relative error = 3.7874678100027721629644083176489e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.575796874805402855929104308278
y[1] (numeric) = 10.575796874805402855929104308282
absolute error = 4e-30
relative error = 3.7822209024543135796434115211960e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.590468209421890514687547754257
y[1] (numeric) = 10.590468209421890514687547754261
absolute error = 4e-30
relative error = 3.7769812636247466432221959139536e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.28
y[1] (closed_form) = 10.60515989693111779593348380759
y[1] (numeric) = 10.605159896931117795933483807594
absolute error = 4e-30
relative error = 3.7717488834444686710108427974909e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.61987196556775139488727877558
y[1] (numeric) = 10.619871965567751394887278775585
absolute error = 5e-30
relative error = 4.7081546898222834278311673829261e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=87.0MB, alloc=44.3MB, time=1.00
TOP MAIN SOLVE Loop
x[1] = 1.3
y[1] (closed_form) = 10.63460444360562670939987023226
y[1] (numeric) = 10.634604443605626709399870232265
absolute error = 5e-30
relative error = 4.7016323235288729663843071619245e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.649357359357802176959196842172
y[1] (numeric) = 10.649357359357802176959196842177
absolute error = 5e-30
relative error = 4.6951189928905902727779120402859e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.664130741176613687075950690748
y[1] (numeric) = 10.664130741176613687075950690752
absolute error = 4e-30
relative error = 3.7508917483120287992826900534436e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.678924617453729069153222516941
y[1] (numeric) = 10.678924617453729069153222516946
absolute error = 5e-30
relative error = 4.6821193885271515750956555438790e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.693739016620202655944755309666
y[1] (numeric) = 10.69373901662020265594475530967
absolute error = 4e-30
relative error = 3.7405064718553561482930398449078e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.708573967146529922706666996695
y[1] (numeric) = 10.7085739671465299227066669967
absolute error = 5e-30
relative error = 4.6691557768007177799157656156172e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.723429497542702202147648423336
y[1] (numeric) = 10.723429497542702202147648423339
absolute error = 3e-30
relative error = 2.7976124622141234707276306278666e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.37
y[1] (closed_form) = 10.738305636358261475282788488629
y[1] (numeric) = 10.738305636358261475282788488633
absolute error = 4e-30
relative error = 3.7249824464453790755685274135601e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.753202412182355238296324179379
y[1] (numeric) = 10.753202412182355238296324179383
absolute error = 4e-30
relative error = 3.7198221019892460808048088591756e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.768119853643791445518759317157
y[1] (numeric) = 10.76811985364379144551875931716
absolute error = 3e-30
relative error = 2.7860016797499139009050284353410e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.783057989411093528623942111019
y[1] (numeric) = 10.783057989411093528623942111023
absolute error = 4e-30
relative error = 3.7095228495738213137284053774981e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.798016848192555492151838089104
y[1] (numeric) = 10.798016848192555492151838089109
absolute error = 5e-30
relative error = 4.6304799022766236439120926989455e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.81299645873629708546288166593
y[1] (numeric) = 10.812996458736297085462881665934
absolute error = 4e-30
relative error = 3.6992521131995964490547816223590e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.827996849830319051229936489397
y[1] (numeric) = 10.827996849830319051229936489402
absolute error = 5e-30
relative error = 4.6176592673079258243018130512231e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.843018050302558450574041802402
y[1] (numeric) = 10.843018050302558450574041802407
absolute error = 5e-30
relative error = 4.6112622673910262127791651386055e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=128.4MB, alloc=44.3MB, time=1.44
TOP MAIN SOLVE Loop
x[1] = 1.45
y[1] (closed_form) = 10.858060089020944064950269348952
y[1] (numeric) = 10.858060089020944064950269348956
absolute error = 4e-30
relative error = 3.6838993035639705579562577957417e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.46
y[1] (closed_form) = 10.873122994893451874890162853968
y[1] (numeric) = 10.873122994893451874890162853971
absolute error = 3e-30
relative error = 2.7590969047337605879989162345065e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.888206796868160615707379809925
y[1] (numeric) = 10.888206796868160615707379809927
absolute error = 2e-30
relative error = 1.8368497561740578264378860607903e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.903311523933307410273303212268
y[1] (numeric) = 10.903311523933307410273303212272
absolute error = 4e-30
relative error = 3.6686102118790262967935371700516e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.918437205117343478969538999612
y[1] (numeric) = 10.918437205117343478969538999615
absolute error = 3e-30
relative error = 2.7476459713427991146967445232729e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.933583869488989926924363274182
y[1] (numeric) = 10.933583869488989926924363274185
absolute error = 3e-30
relative error = 2.7438395642363266250984754643632e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.948751546157293608640331903237
y[1] (numeric) = 10.948751546157293608640331903241
absolute error = 4e-30
relative error = 3.6533845736995360216617595510732e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.963940264271683070120413833485
y[1] (numeric) = 10.963940264271683070120413833489
absolute error = 4e-30
relative error = 3.6483234162036120606041279250395e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.979150053022024568600158388134
y[1] (numeric) = 10.979150053022024568600158388138
absolute error = 4e-30
relative error = 3.6432692701007352345757959354574e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 10.994380941638678169993555960463
y[1] (numeric) = 10.994380941638678169993555960468
absolute error = 5e-30
relative error = 4.5477776570972313454631241370992e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.55
y[1] (closed_form) = 11.009632959392553924160400868914
y[1] (numeric) = 11.009632959392553924160400868918
absolute error = 4e-30
relative error = 3.6331819732350970338299843897112e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.02490613559516811810311469705
y[1] (numeric) = 11.024906135595168118103114697054
absolute error = 4e-30
relative error = 3.6281488030864438289087504480920e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.040200499598699607201138207519
y[1] (numeric) = 11.040200499598699607201138207523
absolute error = 4e-30
relative error = 3.6231226055590168425627115247690e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.055516080796046224591149892721
y[1] (numeric) = 11.055516080796046224591149892727
absolute error = 6e-30
relative error = 5.4271550564901112881390045507774e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=169.7MB, alloc=44.3MB, time=1.87
TOP MAIN SOLVE Loop
x[1] = 1.59
y[1] (closed_form) = 11.070852908620881268801519406504
y[1] (numeric) = 11.070852908620881268801519406511
absolute error = 7e-30
relative error = 6.3229094070512804599203639109268e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.08621101254771006974955451116
y[1] (numeric) = 11.086211012547710069749554511166
absolute error = 6e-30
relative error = 5.4121286282653450410004903025014e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.101590422091926633210250772576
y[1] (numeric) = 11.101590422091926633210250772583
absolute error = 7e-30
relative error = 6.3054028601795201001182649394345e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.116991166809870363865404043917
y[1] (numeric) = 11.116991166809870363865404043924
absolute error = 7e-30
relative error = 6.2966677718506442303735618370466e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.132413276298882867042096794908
y[1] (numeric) = 11.132413276298882867042096794915
absolute error = 7e-30
relative error = 6.2879447845357408589791881695241e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.64
y[1] (closed_form) = 11.147856780197364829249720570007
y[1] (numeric) = 11.147856780197364829249720570014
absolute error = 7e-30
relative error = 6.2792338814708651179105337029127e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.163321708184832977624848294757
y[1] (numeric) = 11.163321708184832977624848294763
absolute error = 6e-30
relative error = 5.3747443250702535430706956275074e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.178808089981977118393421795689
y[1] (numeric) = 11.178808089981977118393421795693
absolute error = 4e-30
relative error = 3.5781990063722875358044207652113e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.194315955350717254459871755602
y[1] (numeric) = 11.194315955350717254459871755607
absolute error = 5e-30
relative error = 4.4665525074893692303034940241016e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.209845334094260782232939393164
y[1] (numeric) = 11.209845334094260782232939393169
absolute error = 5e-30
relative error = 4.4603648408892099457269356483547e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.225396256057159767798121433835
y[1] (numeric) = 11.225396256057159767798121433839
absolute error = 4e-30
relative error = 3.5633485970186779143318511449670e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.240968751125368302546812428461
y[1] (numeric) = 11.240968751125368302546812428465
absolute error = 4e-30
relative error = 3.5584121694133769153255005432599e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.25656284922629993837237117674
y[1] (numeric) = 11.256562849226299938372371176746
absolute error = 6e-30
relative error = 5.3302238706128660346068456139776e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.27217858032888520254349092545
y[1] (numeric) = 11.272178580328885202543490925455
absolute error = 5e-30
relative error = 4.4356997756631676767543636483603e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.287815974443629192365406136156
y[1] (numeric) = 11.28781597444362919236540613616
absolute error = 4e-30
relative error = 3.5436438803186264743886613805985e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=211.1MB, alloc=44.3MB, time=2.31
TOP MAIN SOLVE Loop
x[1] = 1.74
y[1] (closed_form) = 11.303475061622669249739621954401
y[1] (numeric) = 11.303475061622669249739621954405
absolute error = 4e-30
relative error = 3.5387347503253396781203720059070e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.319155871959832715733006062294
y[1] (numeric) = 11.319155871959832715733006062298
absolute error = 4e-30
relative error = 3.5338324211162470377023266179018e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.334858435590694765267236359438
y[1] (numeric) = 11.334858435590694765267236359444
absolute error = 6e-30
relative error = 5.2934053249049875040755998106027e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.350582782692636322039751893419
y[1] (numeric) = 11.350582782692636322039751893424
absolute error = 5e-30
relative error = 4.4050601592228355180989552952436e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.36632894348490205378750865095
y[1] (numeric) = 11.366328943484902053787508650955
absolute error = 5e-30
relative error = 4.3989576800572571979642294256053e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.382096948228658448004996224597
y[1] (numeric) = 11.3820969482286584480049962246
absolute error = 3e-30
relative error = 2.6357181929177608309217936540721e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.397886827227051968228125987977
y[1] (numeric) = 11.397886827227051968228125987979
absolute error = 2e-30
relative error = 1.7547112287713180468689943049236e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.413698610825267290995756244819
y[1] (numeric) = 11.413698610825267290995756244823
absolute error = 4e-30
relative error = 3.5045607356463918978112045594262e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.429532329410585623600774864558
y[1] (numeric) = 11.429532329410585623600774864561
absolute error = 3e-30
relative error = 2.6247793116437234541824925806269e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.83
y[1] (closed_form) = 11.445388013412443102742815179498
y[1] (numeric) = 11.445388013412443102742815179502
absolute error = 4e-30
relative error = 3.4948574878479805832746142646342e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.46126569330248927419483639635
y[1] (numeric) = 11.461265693302489274194836396355
absolute error = 5e-30
relative error = 4.3625199291224898500378241712396e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.477165399594645653595955468381
y[1] (numeric) = 11.477165399594645653595955468385
absolute error = 4e-30
relative error = 3.4851811059037916548003531057149e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.493087162845164368483073283855
y[1] (numeric) = 11.493087162845164368483073283858
absolute error = 3e-30
relative error = 2.6102647247802972210946690989648e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.509031013652686881673994152169
y[1] (numeric) = 11.509031013652686881673994152171
absolute error = 2e-30
relative error = 1.7377657577145137793293622393681e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.524996982658302796114893911377
y[1] (numeric) = 11.524996982658302796114893911379
absolute error = 2e-30
relative error = 1.7353583719018807055437372072792e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
memory used=252.4MB, alloc=44.3MB, time=2.75
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.540985100545608741305148540002
y[1] (numeric) = 11.540985100545608741305148540004
absolute error = 2e-30
relative error = 1.7329543211224217743867529356593e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.556995398040767341412691932418
y[1] (numeric) = 11.55699539804076734141269193242
absolute error = 2e-30
relative error = 1.7305536007560024755255177855903e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.573027905912566265193228490928
y[1] (numeric) = 11.57302790591256626519322849093
absolute error = 2e-30
relative error = 1.7281562061888887275821104065298e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.92
y[1] (closed_form) = 11.589082654972477357826783399362
y[1] (numeric) = 11.589082654972477357826783399365
absolute error = 3e-30
relative error = 2.5886431992206070171035706899260e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.605159676074715854785230872741
y[1] (numeric) = 11.605159676074715854785230872743
absolute error = 2e-30
relative error = 1.7233713760295905156081326464034e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.621259000116299677844598325702
y[1] (numeric) = 11.621259000116299677844598325706
absolute error = 4e-30
relative error = 3.4419678624837205888313548974330e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.637380658037108813356102269262
y[1] (numeric) = 11.637380658037108813356102269266
absolute error = 4e-30
relative error = 3.4371995877246528754075111554078e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.653524680819944772890029831277
y[1] (numeric) = 11.65352468081994477289002983128
absolute error = 3e-30
relative error = 2.5743284389636863799707999716282e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.669691099490590136366738101185
y[1] (numeric) = 11.66969109949059013636673810119
absolute error = 5e-30
relative error = 4.2846035575168411539151402950941e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.685879945117868177789202024326
y[1] (numeric) = 11.685879945117868177789202024332
absolute error = 6e-30
relative error = 5.1344015411579532059197140328471e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.70209124881370257369170031583
y[1] (numeric) = 11.702091248813702573691700315836
absolute error = 6e-30
relative error = 5.1272886806520577564114630877560e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.718325041733177194419387828965
y[1] (numeric) = 11.71832504173317719441938782897
absolute error = 5e-30
relative error = 4.2668213948607831470227394275478e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.01
y[1] (closed_form) = 11.734581355074595978353661998257
y[1] (numeric) = 11.734581355074595978353661998265
absolute error = 8e-30
relative error = 6.8174566760666039243941231456086e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.750860220079542889198390383935
y[1] (numeric) = 11.750860220079542889198390383943
absolute error = 8e-30
relative error = 6.8080122222284821832512609319811e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=293.9MB, alloc=44.3MB, time=3.19
TOP MAIN SOLVE Loop
x[1] = 2.03
y[1] (closed_form) = 11.767161668032941956442225971653
y[1] (numeric) = 11.767161668032941956442225971661
absolute error = 8e-30
relative error = 6.7985808521124196596447034674438e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.783485730263117399112396730285
y[1] (numeric) = 11.783485730263117399112396730293
absolute error = 8e-30
relative error = 6.7891625475930926602247442172744e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.799832438141853832935516001148
y[1] (numeric) = 11.799832438141853832935516001157
absolute error = 9e-30
relative error = 7.6272269518915730066068848241914e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.81620182308445656102112058468
y[1] (numeric) = 11.816201823084456561021120584689
absolute error = 9e-30
relative error = 7.6166606958399717772969373096114e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.832593916549811948183803905585
y[1] (numeric) = 11.832593916549811948183803905594
absolute error = 9e-30
relative error = 7.6061090775810640394461281111538e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.849008750040447879019972375166
y[1] (numeric) = 11.849008750040447879019972375173
absolute error = 7e-30
relative error = 5.9076671708729261756163585762041e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.865446355102594299855414030223
y[1] (numeric) = 11.86544635510259429985541403023
absolute error = 7e-30
relative error = 5.8994830792772773581826779668359e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.1
y[1] (closed_form) = 11.881906763326243844680029711861
y[1] (numeric) = 11.881906763326243844680029711868
absolute error = 7e-30
relative error = 5.8913103253811482773410563714767e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.898390006345212545186238455116
y[1] (numeric) = 11.898390006345212545186238455121
absolute error = 5e-30
relative error = 4.2022492096271710371802167487542e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.914896115837200625027730391803
y[1] (numeric) = 11.914896115837200625027730391809
absolute error = 6e-30
relative error = 5.0357132296141801263792720519635e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.931425123523853378415402324675
y[1] (numeric) = 11.931425123523853378415402324679
absolute error = 4e-30
relative error = 3.3524913902477989895281465385188e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.947977061170822133167473211226
y[1] (numeric) = 11.947977061170822133167473211231
absolute error = 5e-30
relative error = 4.1848088378486000532689345136830e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.964551960587825298330939100593
y[1] (numeric) = 11.964551960587825298330939100597
absolute error = 4e-30
relative error = 3.3432091842438517074139667428795e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.981149853628709496491689597178
y[1] (numeric) = 11.981149853628709496491689597184
absolute error = 6e-30
relative error = 5.0078665848443508922820039957515e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 11.997770772191510780890770680441
y[1] (numeric) = 11.997770772191510780890770680446
absolute error = 5e-30
relative error = 4.1674408479190345835437945296877e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=335.3MB, alloc=44.3MB, time=3.62
TOP MAIN SOLVE Loop
x[1] = 2.18
y[1] (closed_form) = 12.014414748218515937464441691689
y[1] (numeric) = 12.014414748218515937464441691694
absolute error = 5e-30
relative error = 4.1616675508404555798603225307850e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.19
y[1] (closed_form) = 12.031081813696323871925837506397
y[1] (numeric) = 12.031081813696323871925837506402
absolute error = 5e-30
relative error = 4.1559022517060283623512877361183e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.047772000655907082006210344533
y[1] (numeric) = 12.047772000655907082006210344539
absolute error = 6e-30
relative error = 4.9801739273231157305637993891397e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.064485341172673214973889332115
y[1] (numeric) = 12.06448534117267321497388933212
absolute error = 5e-30
relative error = 4.1443956029656859182810842138006e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.081221867366526710549259815003
y[1] (numeric) = 12.081221867366526710549259815007
absolute error = 4e-30
relative error = 3.3109233849969207044955313151288e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.097981611401930529334228541056
y[1] (numeric) = 12.097981611401930529334228541061
absolute error = 5e-30
relative error = 4.1329208132434855087032249225968e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.114764605487967966874805169577
y[1] (numeric) = 12.114764605487967966874805169581
absolute error = 4e-30
relative error = 3.3017562703513089601331574702354e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.131570881878404553475595137735
y[1] (numeric) = 12.131570881878404553475595137738
absolute error = 3e-30
relative error = 2.4728866765978882370795986567013e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.148400472871750039885163712776
y[1] (numeric) = 12.148400472871750039885163712779
absolute error = 3e-30
relative error = 2.4694609028564832579747053573367e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.165253410811320468971396086493
y[1] (numeric) = 12.165253410811320468971396086496
absolute error = 3e-30
relative error = 2.4660398749555724521606066564657e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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
y[1] (closed_form) = 12.182129728085300333506143625097
y[1] (numeric) = 12.1821297280853003335061436251
absolute error = 3e-30
relative error = 2.4626235863205821039493989266890e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.19902945712680482017861187349
y[1] (numeric) = 12.199029457126804820178611873494
absolute error = 4e-30
relative error = 3.2789493738480619699904069592907e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.215952630413942139957111628439
y[1] (numeric) = 12.215952630413942139957111628444
absolute error = 5e-30
relative error = 4.0930086676593253319815871418997e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.232899280469875944918960340467
y[1] (numeric) = 12.232899280469875944918960340473
absolute error = 6e-30
relative error = 4.9048061808038813151374544163131e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=376.6MB, alloc=44.3MB, time=4.06
TOP MAIN SOLVE Loop
x[1] = 2.32
y[1] (closed_form) = 12.249869439862887831668487279867
y[1] (numeric) = 12.249869439862887831668487279873
absolute error = 6e-30
relative error = 4.8980113865337308412749972067268e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.2668631412064399314632623083
y[1] (numeric) = 12.266863141206439931463262308307
absolute error = 7e-30
relative error = 5.7064303395428225648453820185095e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.28388041715923758716883473442
y[1] (numeric) = 12.283880417159237587168834734428
absolute error = 8e-30
relative error = 6.5126000321729564167476625604410e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.300921300425292117162435600023
y[1] (numeric) = 12.300921300425292117162435600031
absolute error = 8e-30
relative error = 6.5035779065779470992128552251700e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.317985823753983666306263842842
y[1] (numeric) = 12.317985823753983666306263842849
absolute error = 7e-30
relative error = 5.6827472446844446573415254526573e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.33507401994012414411114411351
y[1] (numeric) = 12.335074019940124144111144113517
absolute error = 7e-30
relative error = 5.6748747422870988156629229953200e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.38
y[1] (closed_form) = 12.352185921824020250211511587738
y[1] (numeric) = 12.352185921824020250211511587747
absolute error = 9e-30
relative error = 7.2861597590582491048840629403347e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.369321562291536587272846910739
y[1] (numeric) = 12.369321562291536587272846910746
absolute error = 7e-30
relative error = 5.6591624405172163875926031350720e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.38648097427415886145285243971
y[1] (numeric) = 12.386480974274158861452852439716
absolute error = 6e-30
relative error = 4.8439908093845005727460510412406e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.40366419074905717053782921203
y[1] (numeric) = 12.403664190749057170537829212036
absolute error = 6e-30
relative error = 4.8372802647099558837554984582142e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.420871244739149379875882562133
y[1] (numeric) = 12.42087124473914937987588256214
absolute error = 7e-30
relative error = 5.6356755191105009682417235001423e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.43810216931316458622875303902
y[1] (numeric) = 12.438102169313164586228753039028
absolute error = 8e-30
relative error = 6.4318494020231723137029781205314e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.4553569975857066696642382395
y[1] (numeric) = 12.455356997585706669664238239509
absolute error = 9e-30
relative error = 7.2258065358901568639017059770101e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.472635762717317933611340369747
y[1] (numeric) = 12.472635762717317933611340369755
absolute error = 8e-30
relative error = 6.4140412276876279713536595776851e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.48993849791454283320044377994
y[1] (numeric) = 12.489938497914542833200443779948
absolute error = 8e-30
relative error = 6.4051556389455142418599990216776e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=418.2MB, alloc=44.3MB, time=4.51
TOP MAIN SOLVE Loop
x[1] = 2.47
y[1] (closed_form) = 12.507265236429991792010996384074
y[1] (numeric) = 12.507265236429991792010996384083
absolute error = 9e-30
relative error = 7.1958176546745344380639575800513e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.524616011562405107349338779604
y[1] (numeric) = 12.524616011562405107349338779614
absolute error = 1.0e-29
relative error = 7.9842767161629991784615617253634e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.541990856656716944179495019961
y[1] (numeric) = 12.54199085665671694417949501997
absolute error = 9e-30
relative error = 7.1758942442723997996308380357048e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.559389805104119417829909367307
y[1] (numeric) = 12.559389805104119417829909367316
absolute error = 9e-30
relative error = 7.1659532347203778122566646771093e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.576812890342126765599283963635
y[1] (numeric) = 12.576812890342126765599283963644
absolute error = 9e-30
relative error = 7.1560259967858782362130900285765e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.594260145854639607384843205681
y[1] (numeric) = 12.594260145854639607384843205691
absolute error = 1.0e-29
relative error = 7.9401250126562360822662601277540e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.611731605172009295456521693537
y[1] (numeric) = 12.611731605172009295456521693549
absolute error = 1.2e-29
relative error = 9.5149503459769623042723097485339e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.629227301871102353500743944576
y[1] (numeric) = 12.62922730187110235350074394459
absolute error = 1.4e-29
relative error = 1.1085397123168262824230702311614e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.646747269575365005057635623737
y[1] (numeric) = 12.646747269575365005057635623751
absolute error = 1.4e-29
relative error = 1.1070040146749981384084933085140e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.56
y[1] (closed_form) = 12.664291541954887791475677838562
y[1] (numeric) = 12.664291541954887791475677838577
absolute error = 1.5e-29
relative error = 1.1844326190933983452112437501636e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.681860152726470279507988083172
y[1] (numeric) = 12.681860152726470279507988083187
absolute error = 1.5e-29
relative error = 1.1827917844351211642159153766283e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.699453135653685858674583689708
y[1] (numeric) = 12.699453135653685858674583689722
absolute error = 1.4e-29
relative error = 1.1024096746886707878063261002988e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.717070524546946628515156159155
y[1] (numeric) = 12.71707052454694662851515615917
absolute error = 1.5e-29
relative error = 1.1795169312811831026973405003468e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.734712353263568375857057496169
y[1] (numeric) = 12.734712353263568375857057496184
absolute error = 1.5e-29
relative error = 1.1778829064918689424430180356748e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.752378655707835642223372664853
y[1] (numeric) = 12.752378655707835642223372664869
absolute error = 1.6e-29
relative error = 1.2546678883973196567098987526086e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=459.6MB, alloc=44.3MB, time=4.95
TOP MAIN SOLVE Loop
x[1] = 2.62
y[1] (closed_form) = 12.770069465831066881506125514794
y[1] (numeric) = 12.770069465831066881506125514809
absolute error = 1.5e-29
relative error = 1.1746216447870991164351657380440e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.787784817631679708029838999275
y[1] (numeric) = 12.787784817631679708029838999288
absolute error = 1.3e-29
relative error = 1.0165951480568956678660750407316e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.805524745155256235130844220929
y[1] (numeric) = 12.805524745155256235130844220943
absolute error = 1.4e-29
relative error = 1.0932781185165139248159871592230e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.65
y[1] (closed_form) = 12.82328928249460850437790679435
y[1] (numeric) = 12.823289282494608504377906794364
absolute error = 1.4e-29
relative error = 1.0917635632779296803227813975952e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.841078463789844005559913210783
y[1] (numeric) = 12.841078463789844005559913210797
absolute error = 1.4e-29
relative error = 1.0902511062040593108094350446660e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.858892323228431287566534327305
y[1] (numeric) = 12.858892323228431287566534327319
absolute error = 1.4e-29
relative error = 1.0887407443882441125199899043027e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.876730895045265660287957782109
y[1] (numeric) = 12.876730895045265660287957782122
absolute error = 1.3e-29
relative error = 1.0095730124330054977811445049091e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.894594213522734987659956059115
y[1] (numeric) = 12.894594213522734987659956059129
absolute error = 1.4e-29
relative error = 1.0857262949242723004501476130449e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.912482312990785571980732089339
y[1] (numeric) = 12.912482312990785571980732089353
absolute error = 1.4e-29
relative error = 1.0842222014829094378045833810979e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.930395227826988129626159683703
y[1] (numeric) = 12.930395227826988129626159683717
absolute error = 1.4e-29
relative error = 1.0827201917131781151971930976064e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.948332992456603858290211742513
y[1] (numeric) = 12.948332992456603858290211742526
absolute error = 1.3e-29
relative error = 1.0039902439621761451932498623111e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 12.966295641352650595877545081077
y[1] (numeric) = 12.966295641352650595877545081089
absolute error = 1.2e-29
relative error = 9.2547635283967301703918569088009e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.74
y[1] (closed_form) = 12.984283209035969071175386849198
y[1] (numeric) = 12.984283209035969071175386849208
absolute error = 1.0e-29
relative error = 7.7016188256282341788140581496513e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.002295730075289246432043904846
y[1] (numeric) = 13.002295730075289246432043904857
absolute error = 1.1e-29
relative error = 8.4600444631913513343527633915205e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=501.0MB, alloc=44.3MB, time=5.42
TOP MAIN SOLVE Loop
x[1] = 2.76
y[1] (closed_form) = 13.020333239087296751969533129624
y[1] (numeric) = 13.020333239087296751969533129635
absolute error = 1.1e-29
relative error = 8.4483244768096897948826614333560e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.038395770736699412958007545932
y[1] (numeric) = 13.038395770736699412958007545943
absolute error = 1.1e-29
relative error = 8.4366207265224582505077268324001e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.056483359736293868479830213423
y[1] (numeric) = 13.056483359736293868479830213434
absolute error = 1.1e-29
relative error = 8.4249331898372447004602825931945e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.074596040847032283011325245743
y[1] (numeric) = 13.074596040847032283011325245754
absolute error = 1.1e-29
relative error = 8.4132618442927966447869390295614e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.092733848878089150450412897947
y[1] (numeric) = 13.092733848878089150450412897958
absolute error = 1.1e-29
relative error = 8.4016066674589779180358407155473e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.110896818686928190818513530845
y[1] (numeric) = 13.110896818686928190818513530856
absolute error = 1.1e-29
relative error = 8.3899676369367255827436697867494e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.129084985179369339765283361069
y[1] (numeric) = 13.129084985179369339765283361082
absolute error = 1.3e-29
relative error = 9.9016801358776444976649380464774e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.147298383309655831004923255274
y[1] (numeric) = 13.147298383309655831004923255288
absolute error = 1.4e-29
relative error = 1.0648575541400078870615000175140e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.84
y[1] (closed_form) = 13.165537048080521371812980423952
y[1] (numeric) = 13.165537048080521371812980423964
absolute error = 1.2e-29
relative error = 9.1147060360515626241322377670640e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.183801014543257411712741715131
y[1] (numeric) = 13.183801014543257411712741715143
absolute error = 1.2e-29
relative error = 9.1020791248006641109227085788410e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.202090317797780504480496301142
y[1] (numeric) = 13.202090317797780504480496301155
absolute error = 1.3e-29
relative error = 9.8469255148744574972567644882893e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.220404992992699763599124892994
y[1] (numeric) = 13.220404992992699763599124893006
absolute error = 1.2e-29
relative error = 9.0768777555305157173407945847992e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.238745075325384411289652207042
y[1] (numeric) = 13.238745075325384411289652207054
absolute error = 1.2e-29
relative error = 9.0643032490789627976538070740214e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.257110600042031421250579247946
y[1] (numeric) = 13.257110600042031421250579247957
absolute error = 1.1e-29
relative error = 8.2974339823076717076638671877534e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.275501602437733255234992060632
y[1] (numeric) = 13.275501602437733255234992060645
absolute error = 1.3e-29
relative error = 9.7924736776897801936826490744436e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=542.4MB, alloc=44.3MB, time=5.86
TOP MAIN SOLVE Loop
x[1] = 2.91
y[1] (closed_form) = 13.293918117856545693595623942642
y[1] (numeric) = 13.293918117856545693595623942655
absolute error = 1.3e-29
relative error = 9.7789078319492945774457046249687e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.312360181691555759928228696956
y[1] (numeric) = 13.312360181691555759928228696969
absolute error = 1.3e-29
relative error = 9.7653607794347814683128471761924e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.93
y[1] (closed_form) = 13.330827829384949739943803344725
y[1] (numeric) = 13.330827829384949739943803344738
absolute error = 1.3e-29
relative error = 9.7518324941113478555463163112861e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.349321096428081294700379807502
y[1] (numeric) = 13.349321096428081294700379807514
absolute error = 1.2e-29
relative error = 8.9892211845970779214635800990475e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.367840018361539668325286409925
y[1] (numeric) = 13.367840018361539668325286409938
absolute error = 1.3e-29
relative error = 9.7248321210784322105152689065388e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.386384630775217990358961646801
y[1] (numeric) = 13.386384630775217990358961646814
absolute error = 1.3e-29
relative error = 9.7113599814792994657516556410140e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.404954969308381672851584503364
y[1] (numeric) = 13.404954969308381672851584503377
absolute error = 1.3e-29
relative error = 9.6979065052918450701839009716939e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.423551069649736902343967714649
y[1] (numeric) = 13.423551069649736902343967714662
absolute error = 1.3e-29
relative error = 9.6844716666610121553421976772486e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.442172967537499226864342699654
y[1] (numeric) = 13.442172967537499226864342699669
absolute error = 1.5e-29
relative error = 1.1158910122808725084034370826330e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.460820698759462238072847508687
y[1] (numeric) = 13.460820698759462238072847508701
absolute error = 1.4e-29
relative error = 1.0400554552584024885456192359819e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.479494299153066348685711978316
y[1] (numeric) = 13.47949429915306634868571197833
absolute error = 1.4e-29
relative error = 1.0386146311794232282062118226842e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.02
y[1] (closed_form) = 13.498193804605467665311317398061
y[1] (numeric) = 13.498193804605467665311317398074
absolute error = 1.3e-29
relative error = 9.6309181718553424364273859340596e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.516919251053606956830491356656
y[1] (numeric) = 13.51691925105360695683049135667
absolute error = 1.4e-29
relative error = 1.0357389683236243508308147556544e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.535670674484278718453582053838
y[1] (numeric) = 13.535670674484278718453582053851
absolute error = 1.3e-29
relative error = 9.6042525801886885408395474016864e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
memory used=583.7MB, alloc=44.3MB, time=6.30
x[1] = 3.05
y[1] (closed_form) = 13.554448110934200331587040236396
y[1] (numeric) = 13.554448110934200331587040236409
absolute error = 1.3e-29
relative error = 9.5909474835150727269755529675333e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.573251596490081319642421045164
y[1] (numeric) = 13.573251596490081319642421045177
absolute error = 1.3e-29
relative error = 9.5776608188429079604024719162439e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.592081167288692699920902442898
y[1] (numeric) = 13.592081167288692699920902442911
absolute error = 1.3e-29
relative error = 9.5643925606377178051004279741967e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.610936859516936431706601532169
y[1] (numeric) = 13.610936859516936431706601532182
absolute error = 1.3e-29
relative error = 9.5511426834003996008488413510396e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.62981870941191496070215496761
y[1] (numeric) = 13.629818709411914960702154967623
absolute error = 1.3e-29
relative error = 9.5379111616671754587356793715967e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.648726753261000859940214818618
y[1] (numeric) = 13.64872675326100085994021481863
absolute error = 1.2e-29
relative error = 8.7920288953934246072808824720254e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.11
y[1] (closed_form) = 13.667661027401906567304696647244
y[1] (numeric) = 13.667661027401906567304696647255
absolute error = 1.1e-29
relative error = 8.0481949164135776315331872076085e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.686621568222754219795802231786
y[1] (numeric) = 13.686621568222754219795802231795
absolute error = 9e-30
relative error = 6.5757644829575535402892673374562e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.705608412162145584673025290002
y[1] (numeric) = 13.705608412162145584673025290012
absolute error = 1.0e-29
relative error = 7.2962831705640693668586140155577e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.724621595709232087610534737178
y[1] (numeric) = 13.72462159570923208761053473719
absolute error = 1.2e-29
relative error = 8.7434104585816737592628932989824e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.743661155403784937999516453823
y[1] (numeric) = 13.743661155403784937999516453837
absolute error = 1.4e-29
relative error = 1.0186514234960912711850477521340e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.762727127836265351532241236057
y[1] (numeric) = 13.762727127836265351532241236069
absolute error = 1.2e-29
relative error = 8.7192021526961742359839537146267e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.781819549647894870202813558925
y[1] (numeric) = 13.781819549647894870202813558937
absolute error = 1.2e-29
relative error = 8.7071231463820626446684931790341e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.800938457530725779859742999486
y[1] (numeric) = 13.800938457530725779859742999498
absolute error = 1.2e-29
relative error = 8.6950608735248638778108985249323e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.820083888227711625445667642801
y[1] (numeric) = 13.820083888227711625445667642812
absolute error = 1.1e-29
relative error = 7.9594307016978900915115937586650e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=625.2MB, alloc=44.3MB, time=6.73
TOP MAIN SOLVE Loop
x[1] = 3.2
y[1] (closed_form) = 13.839255878532777824059746530348
y[1] (numeric) = 13.839255878532777824059746530358
absolute error = 1.0e-29
relative error = 7.2258220295730153318898774571222e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.858454465290892375978426207174
y[1] (numeric) = 13.858454465290892375978426207185
absolute error = 1.1e-29
relative error = 7.9373930387042674372200778708438e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.877679685398136673770474681745
y[1] (numeric) = 13.877679685398136673770474681757
absolute error = 1.2e-29
relative error = 8.6469786535181382290798989985619e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.896931575801776409642364631187
y[1] (numeric) = 13.8969315758017764096423646312
absolute error = 1.3e-29
relative error = 9.3545830092712186374224883775593e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.916210173500332581150276464959
y[1] (numeric) = 13.916210173500332581150276464973
absolute error = 1.4e-29
relative error = 1.0060210233572946846792497190443e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.935515515543652595415180902146
y[1] (numeric) = 13.935515515543652595415180902161
absolute error = 1.5e-29
relative error = 1.0763864446398859838449117502371e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.954847639032981471977650022019
y[1] (numeric) = 13.954847639032981471977650022033
absolute error = 1.4e-29
relative error = 1.0032356040090845031288695666836e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.974206581121033144429235314542
y[1] (numeric) = 13.974206581121033144429235314556
absolute error = 1.4e-29
relative error = 1.0018457877181959955225655870702e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 13.993592379012061860957441087559
y[1] (numeric) = 13.993592379012061860957441087572
absolute error = 1.3e-29
relative error = 9.2899661844500512672524969778238e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.29
y[1] (closed_form) = 14.01300506996193368394151168073
y[1] (numeric) = 14.013005069961933683941511680742
absolute error = 1.2e-29
relative error = 8.5634736732687116551086205175432e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.032444691278198088736441293389
y[1] (numeric) = 14.032444691278198088736441293402
absolute error = 1.3e-29
relative error = 9.2642446031375349931760687162831e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.051911280320159661782805854651
y[1] (numeric) = 14.051911280320159661782805854663
absolute error = 1.2e-29
relative error = 8.5397635671142603587977941416087e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.071404874498949898180207249664
y[1] (numeric) = 14.071404874498949898180207249676
absolute error = 1.2e-29
relative error = 8.5279331431555388153587235864574e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.090925511277599098862311366323
y[1] (numeric) = 14.090925511277599098862311366337
absolute error = 1.4e-29
relative error = 9.9354722929981942365469253438498e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.110473228171108367511652842346
y[1] (numeric) = 14.110473228171108367511652842359
absolute error = 1.3e-29
relative error = 9.2130148931121005250653272898566e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=666.6MB, alloc=44.3MB, time=7.20
TOP MAIN SOLVE Loop
x[1] = 3.35
y[1] (closed_form) = 14.130048062746521707352571073678
y[1] (numeric) = 14.13004806274652170735257107369
absolute error = 1.2e-29
relative error = 8.4925401150174894892425415038925e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.1496500526229982179608339923
y[1] (numeric) = 14.149650052622998217960833992312
absolute error = 1.2e-29
relative error = 8.4807751113077840392323405142360e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.169279235471884392228698334735
y[1] (numeric) = 14.169279235471884392228698334747
absolute error = 1.2e-29
relative error = 8.4690264060565391646478630966704e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.18893564901678651362434760258
y[1] (numeric) = 14.188935649016786513624347602593
absolute error = 1.3e-29
relative error = 9.1620684747420268473388674615027e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.39
y[1] (closed_form) = 14.208619331033643153884841663309
y[1] (numeric) = 14.208619331033643153884841663321
absolute error = 1.2e-29
relative error = 8.4455778006454823028720693531681e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.228330319350797771281904953981
y[1] (numeric) = 14.228330319350797771281904953993
absolute error = 1.2e-29
relative error = 8.4338778554218505309817725085893e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.24806865184907140960007353263
y[1] (numeric) = 14.248068651849071409600073532643
absolute error = 1.3e-29
relative error = 9.1240436284063659243226675107138e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.267834366461835497966914772327
y[1] (numeric) = 14.267834366461835497966914772339
absolute error = 1.2e-29
relative error = 8.4105265675128401805648450166589e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.287627501175084751675227311695
y[1] (numeric) = 14.287627501175084751675227311707
absolute error = 1.2e-29
relative error = 8.3988751799506677959525778112349e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.307448094027510174137322963292
y[1] (numeric) = 14.307448094027510174137322963306
absolute error = 1.4e-29
relative error = 9.7851132556924312284967898187925e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.327296183110572160111686638155
y[1] (numeric) = 14.327296183110572160111686638172
absolute error = 1.7e-29
relative error = 1.1865462808007059830501291483499e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.347171806568573700342504971307
y[1] (numeric) = 14.347171806568573700342504971324
absolute error = 1.7e-29
relative error = 1.1849025180152147117033650800723e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.367075002598733687752749229525
y[1] (numeric) = 14.367075002598733687752749229542
absolute error = 1.7e-29
relative error = 1.1832610323900320485361791987583e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.48
y[1] (closed_form) = 14.387005809451260325331693249581
y[1] (numeric) = 14.387005809451260325331693249596
absolute error = 1.5e-29
relative error = 1.0426074889151740805666674615392e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=708.0MB, alloc=44.3MB, time=7.64
TOP MAIN SOLVE Loop
x[1] = 3.49
y[1] (closed_form) = 14.406964265429424635857942592728
y[1] (numeric) = 14.406964265429424635857942592745
absolute error = 1.7e-29
relative error = 1.1799848800064532833479163706263e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.426950408889634073599246810019
y[1] (numeric) = 14.426950408889634073599246810036
absolute error = 1.7e-29
relative error = 1.1783502069519070260092946064789e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.44696427824150623813056269321
y[1] (numeric) = 14.446964278241506238130562693227
absolute error = 1.7e-29
relative error = 1.1767177984653569661959507491246e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.467005911947942690412032638202
y[1] (numeric) = 14.467005911947942690412032638221
absolute error = 1.9e-29
relative error = 1.3133332574578109148681500108734e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.48707534852520287126873877228
y[1] (numeric) = 14.487075348525202871268738772297
absolute error = 1.7e-29
relative error = 1.1734597626518602382116160367654e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.507172626542978122414290293418
y[1] (numeric) = 14.507172626542978122414290293434
absolute error = 1.6e-29
relative error = 1.1029027097068988829083307405664e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.527297784624465810160498539962
y[1] (numeric) = 14.52729778462446581016049853998
absolute error = 1.8e-29
relative error = 1.2390466738453592172190642526160e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.547450861446443551955591652351
y[1] (numeric) = 14.547450861446443551955591652369
absolute error = 1.8e-29
relative error = 1.2373301804856738824410401598827e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.57
y[1] (closed_form) = 14.567631895739343545893618305716
y[1] (numeric) = 14.567631895739343545893618305735
absolute error = 1.9e-29
relative error = 1.3042614019892285828712657640549e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.587840926287327003337887883505
y[1] (numeric) = 14.587840926287327003337887883523
absolute error = 1.8e-29
relative error = 1.2339043242214105542074513622557e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.608077991928358684801492628096
y[1] (numeric) = 14.608077991928358684801492628116
absolute error = 2.0e-29
relative error = 1.3691055052588662629754025296141e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.628343131554281539228155745119
y[1] (numeric) = 14.628343131554281539228155745139
absolute error = 2.0e-29
relative error = 1.3672088369911632326056216956191e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.648636384110891446816848154201
y[1] (numeric) = 14.648636384110891446816848154223
absolute error = 2.2e-29
relative error = 1.5018462758665372093908522282495e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.668957788598012065533815570589
y[1] (numeric) = 14.668957788598012065533815570611
absolute error = 2.2e-29
relative error = 1.4997657173095358290068398649733e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.689307384069569781455856869796
y[1] (numeric) = 14.689307384069569781455856869816
absolute error = 2.0e-29
relative error = 1.3615345827462111427100458870221e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=749.5MB, alloc=44.3MB, time=8.09
TOP MAIN SOLVE Loop
x[1] = 3.64
y[1] (closed_form) = 14.70968520963366876308889423165
y[1] (numeric) = 14.70968520963366876308889423167
absolute error = 2.0e-29
relative error = 1.3596484027341113767544585206434e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.730091304452666119806075381094
y[1] (numeric) = 14.730091304452666119806075381113
absolute error = 1.9e-29
relative error = 1.2898765939255658375652277199502e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.66
y[1] (closed_form) = 14.750525707743247164549848341304
y[1] (numeric) = 14.750525707743247164549848341325
absolute error = 2.1e-29
relative error = 1.4236780719602494442663832342961e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.770988458776500780942649490476
y[1] (numeric) = 14.770988458776500780942649490496
absolute error = 2.0e-29
relative error = 1.3540055261580391691575187853650e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.791479596877994894951046367399
y[1] (numeric) = 14.791479596877994894951046367419
absolute error = 2.0e-29
relative error = 1.3521297764032582693498541227645e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.811999161427852051248377603061
y[1] (numeric) = 14.811999161427852051248377603082
absolute error = 2.1e-29
relative error = 1.4177694564476085869163649564939e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.832547191860825094421133566391
y[1] (numeric) = 14.832547191860825094421133566411
absolute error = 2.0e-29
relative error = 1.3483860689130151600076451503258e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.853123727666372955164522802227
y[1] (numeric) = 14.853123727666372955164522802246
absolute error = 1.9e-29
relative error = 1.2791921987837071300438307719462e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.873728808388736541612871109156
y[1] (numeric) = 14.873728808388736541612871109175
absolute error = 1.9e-29
relative error = 1.2774200904674327131812049417477e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.894362473627014735950702154244
y[1] (numeric) = 14.894362473627014735950702154262
absolute error = 1.8e-29
relative error = 1.2085109404227298229924921283720e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.915024763035240496450550851413
y[1] (numeric) = 14.915024763035240496450550851433
absolute error = 2.0e-29
relative error = 1.3409297213885386675514545413553e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.75
y[1] (closed_form) = 14.935715716322457065083763340634
y[1] (numeric) = 14.935715716322457065083763340652
absolute error = 1.8e-29
relative error = 1.2051648773904251560203336966716e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.956435373252794280850740296535
y[1] (numeric) = 14.956435373252794280850740296553
absolute error = 1.8e-29
relative error = 1.2034953216319268794302987727488e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.977183773645544998977283468016
y[1] (numeric) = 14.977183773645544998977283468035
absolute error = 1.9e-29
relative error = 1.2685963053637069102518116131639e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 14.997960957375241616123908805179
y[1] (numeric) = 14.997960957375241616123908805198
absolute error = 1.9e-29
relative error = 1.2668388758977771042639687928560e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=791.0MB, alloc=44.3MB, time=8.53
TOP MAIN SOLVE Loop
x[1] = 3.79
y[1] (closed_form) = 15.018766964371732701755193266975
y[1] (numeric) = 15.018766964371732701755193266994
absolute error = 1.9e-29
relative error = 1.2650838810584615014702476302448e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.039601834620259735816426422585
y[1] (numeric) = 15.039601834620259735816426422604
absolute error = 1.9e-29
relative error = 1.2633313174729893218777872670569e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.060465608161533952865042262291
y[1] (numeric) = 15.06046560816153395286504226231
absolute error = 1.9e-29
relative error = 1.2615811817732621991887100725477e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.081358325091813292804511219654
y[1] (numeric) = 15.081358325091813292804511219674
absolute error = 2.0e-29
relative error = 1.3261404953640502188916210174054e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.102280025562979458368577276794
y[1] (numeric) = 15.102280025562979458368577276812
absolute error = 1.8e-29
relative error = 1.1918730131829216944078054585101e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.84
y[1] (closed_form) = 15.123230749782615079503930178656
y[1] (numeric) = 15.123230749782615079503930178673
absolute error = 1.7e-29
relative error = 1.1240984338114633375321514261724e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.144210538014080984799608220917
y[1] (numeric) = 15.144210538014080984799608220933
absolute error = 1.6e-29
relative error = 1.0565093479014814332959292120945e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.165219430576593580111632799886
y[1] (numeric) = 15.165219430576593580111632799903
absolute error = 1.7e-29
relative error = 1.1209860877927070402029962539213e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.1862574678453023345315819219
y[1] (numeric) = 15.186257467845302334531581921917
absolute error = 1.7e-29
relative error = 1.1194331477650128363151764639969e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.207324690251367373848016164603
y[1] (numeric) = 15.207324690251367373848016164619
absolute error = 1.6e-29
relative error = 1.0521245732496772388609573321393e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.228421138282037181649877163609
y[1] (numeric) = 15.228421138282037181649877163625
absolute error = 1.6e-29
relative error = 1.0506670294124139839093589798384e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.24954685248072640822118556571
y[1] (numeric) = 15.249546852480726408221185565727
absolute error = 1.7e-29
relative error = 1.1147872238075400840093195399662e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.270701873447093787376572544448
y[1] (numeric) = 15.270701873447093787376572544464
absolute error = 1.6e-29
relative error = 1.0477579964953031932648761541901e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.29188624183712016138738641589
y[1] (numeric) = 15.291886241837120161387386415905
absolute error = 1.5e-29
relative error = 9.8091234546078771729080021797321e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=832.5MB, alloc=44.3MB, time=8.97
TOP MAIN SOLVE Loop
x[1] = 3.93
y[1] (closed_form) = 15.313099998363186614148323622264
y[1] (numeric) = 15.31309999836318661414832362228
absolute error = 1.6e-29
relative error = 1.0448570179591484384805558370032e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.33434318379415271273474136908
y[1] (numeric) = 15.334343183794152712734741369097
absolute error = 1.7e-29
relative error = 1.1086226384946287871429037415496e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.355615838955434857501017507917
y[1] (numeric) = 15.355615838955434857501017507933
absolute error = 1.6e-29
relative error = 1.0419640715033933376148306953378e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.376918004729084740870531852569
y[1] (numeric) = 15.376918004729084740870531852585
absolute error = 1.6e-29
relative error = 1.0405206033536297645678379977248e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.398249722053867914968052001182
y[1] (numeric) = 15.398249722053867914968052001197
absolute error = 1.5e-29
relative error = 9.7413668895864951005318653368084e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.419611031925342468245515911645
y[1] (numeric) = 15.419611031925342468245515911661
absolute error = 1.6e-29
relative error = 1.0376396633399505596630872613235e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.441001975395937811252412942392
y[1] (numeric) = 15.441001975395937811252412942406
absolute error = 1.4e-29
relative error = 9.0667691269698269225651475763057e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.462422593575033571702174826191
y[1] (numeric) = 15.462422593575033571702174826204
absolute error = 1.3e-29
relative error = 8.4074794368909418585305387503085e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.483872927629038598986198090933
y[1] (numeric) = 15.483872927629038598986198090947
absolute error = 1.4e-29
relative error = 9.0416655222084310888253647424970e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.02
y[1] (closed_form) = 15.50535301878147007828732977923
y[1] (numeric) = 15.505353018781470078287329779242
absolute error = 1.2e-29
relative error = 7.7392626826777351987589309840082e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.52686290831303275444485894824
y[1] (numeric) = 15.526862908313032754444858948252
absolute error = 1.2e-29
relative error = 7.7285412197303799015514028987208e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.54840263756169826572326735296
y[1] (numeric) = 15.548402637561698265723267352973
absolute error = 1.3e-29
relative error = 8.3609874937215164828151920018817e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.569972247922784587637203930584
y[1] (numeric) = 15.569972247922784587637203930595
absolute error = 1.1e-29
relative error = 7.0648809290379614872021138615854e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.591571780849035586985359210978
y[1] (numeric) = 15.591571780849035586985359210989
absolute error = 1.1e-29
relative error = 7.0550937099947709294192707770447e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.613201277850700686246127579138
y[1] (numeric) = 15.613201277850700686246127579149
absolute error = 1.1e-29
relative error = 7.0453200495178975587769541446507e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=873.8MB, alloc=44.3MB, time=9.41
TOP MAIN SOLVE Loop
x[1] = 4.08
y[1] (closed_form) = 15.634860780495614638488157410128
y[1] (numeric) = 15.634860780495614638488157410137
absolute error = 9e-30
relative error = 5.7563672144925271374232348295914e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.656550330409277412949101485896
y[1] (numeric) = 15.656550330409277412949101485906
absolute error = 1.0e-29
relative error = 6.3871030265059610354838787716398e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.678269969274934191436092786873
y[1] (numeric) = 15.678269969274934191436092786884
absolute error = 1.1e-29
relative error = 7.0160802317838337290863470782994e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.11
y[1] (closed_form) = 15.700019738833655475701683729813
y[1] (numeric) = 15.700019738833655475701683729823
absolute error = 1.0e-29
relative error = 6.3694187436371297629084527115956e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.721799680884417305949200197367
y[1] (numeric) = 15.721799680884417305949200197376
absolute error = 9e-30
relative error = 5.7245354747413447362801301201800e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.743609837284181590621675274752
y[1] (numeric) = 15.743609837284181590621675274762
absolute error = 1.0e-29
relative error = 6.3517834241025811876675597934306e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.765450249947976547628741475046
y[1] (numeric) = 15.765450249947976547628741475055
absolute error = 9e-30
relative error = 5.7086856748856243758283971692017e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.787320960848977257166074397474
y[1] (numeric) = 15.787320960848977257166074397483
absolute error = 9e-30
relative error = 5.7007772391016347447358609883536e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.809222012018586326282195223014
y[1] (numeric) = 15.809222012018586326282195223024
absolute error = 1.0e-29
relative error = 6.3254219546020272337534939326802e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.831153445546514665347654209086
y[1] (numeric) = 15.831153445546514665347654209098
absolute error = 1.2e-29
relative error = 7.5799909597716253944933047744219e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.853115303580862376581832400487
y[1] (numeric) = 15.853115303580862376581832400499
absolute error = 1.2e-29
relative error = 7.5694901413411594592366552265474e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.875107628328199754792814127429
y[1] (numeric) = 15.875107628328199754792814127441
absolute error = 1.2e-29
relative error = 7.5590038700504321886901361126704e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.897130462053648400485998514026
y[1] (numeric) = 15.897130462053648400485998514039
absolute error = 1.3e-29
relative error = 8.1775764695590309172966400527736e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.21
y[1] (closed_form) = 15.919183847080962445497334172197
y[1] (numeric) = 15.919183847080962445497334172209
absolute error = 1.2e-29
relative error = 7.5380748883055285329603958225095e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=915.2MB, alloc=44.3MB, time=9.84
TOP MAIN SOLVE Loop
x[1] = 4.22
y[1] (closed_form) = 15.941267825792609891307277507152
y[1] (numeric) = 15.941267825792609891307277507164
absolute error = 1.2e-29
relative error = 7.5276321376297762759400909814126e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.963382440629854060191791611876
y[1] (numeric) = 15.963382440629854060191791611887
absolute error = 1.1e-29
relative error = 6.8907701991796558381644644214489e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 15.985527734092835159366919579575
y[1] (numeric) = 15.985527734092835159366919579587
absolute error = 1.2e-29
relative error = 7.5067900163265955491351136940525e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.007703748740651958283683215595
y[1] (numeric) = 16.007703748740651958283683215606
absolute error = 1.1e-29
relative error = 6.8716913885074772884521784903661e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.029910527191443579230275583904
y[1] (numeric) = 16.029910527191443579230275583917
absolute error = 1.3e-29
relative error = 8.1098394017534757583706878616392e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.0521481121224714013987335787
y[1] (numeric) = 16.052148112122471401398733578713
absolute error = 1.3e-29
relative error = 8.0986045663150153563315948228008e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.074416546270201078573494769049
y[1] (numeric) = 16.074416546270201078573494769061
absolute error = 1.2e-29
relative error = 7.4652787337307112754407893983651e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.096715872430384670599461124474
y[1] (numeric) = 16.096715872430384670599461124484
absolute error = 1.0e-29
relative error = 6.2124473583630052092935672327937e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.3
y[1] (closed_form) = 16.119046133458142888787410892232
y[1] (numeric) = 16.119046133458142888787410892242
absolute error = 1.0e-29
relative error = 6.2038410444418916250719736934844e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.141407372268047455414818863242
y[1] (numeric) = 16.141407372268047455414818863252
absolute error = 1.0e-29
relative error = 6.1952466531391981461824954058917e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.16379963183420357748036453359
y[1] (numeric) = 16.1637996318342035774803645336
absolute error = 1.0e-29
relative error = 6.1866641679381173107562409486794e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.186222955190332534870627242678
y[1] (numeric) = 16.186222955190332534870627242689
absolute error = 1.1e-29
relative error = 6.7959029295791952452244267252038e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.208677385429854383097687247857
y[1] (numeric) = 16.208677385429854383097687247869
absolute error = 1.2e-29
relative error = 7.4034418198655261891821585688823e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.231162965705970770766571879148
y[1] (numeric) = 16.231162965705970770766571879158
absolute error = 1.0e-29
relative error = 6.1609879841195053002887254871907e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.253679739231747871931706406907
y[1] (numeric) = 16.253679739231747871931706406916
absolute error = 9e-30
relative error = 5.5372076627525559680103376558135e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=956.7MB, alloc=44.3MB, time=10.30
TOP MAIN SOLVE Loop
x[1] = 4.37
y[1] (closed_form) = 16.276227749280199433501750050378
y[1] (numeric) = 16.276227749280199433501750050387
absolute error = 9e-30
relative error = 5.5295367812717024500736837530458e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.298807039184369937852418656523
y[1] (numeric) = 16.298807039184369937852418656532
absolute error = 9e-30
relative error = 5.5218765265229993479632742838401e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.39
y[1] (closed_form) = 16.321417652337417880807116986602
y[1] (numeric) = 16.321417652337417880807116986611
absolute error = 9e-30
relative error = 5.5142268837848743784222644635555e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.344059632192699165145425263308
y[1] (numeric) = 16.344059632192699165145425263317
absolute error = 9e-30
relative error = 5.5065878383561495513239582398584e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.366733022263850609799706654085
y[1] (numeric) = 16.366733022263850609799706654094
absolute error = 9e-30
relative error = 5.4989593755560129167661895447471e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.389437866124873574900324697138
y[1] (numeric) = 16.389437866124873574900324697147
absolute error = 9e-30
relative error = 5.4913414807239903513054114446573e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.41217420741021770283018231592
y[1] (numeric) = 16.41217420741021770283018231593
absolute error = 1.0e-29
relative error = 6.0930379324665748703069684716714e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.434942089814864775449517016053
y[1] (numeric) = 16.434942089814864775449517016061
absolute error = 8e-30
relative error = 4.8676776323768098285711357835384e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.457741557094412687652110116034
y[1] (numeric) = 16.457741557094412687652110116043
absolute error = 9e-30
relative error = 5.4685510577363418368252313153538e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.480572653065159537414291430288
y[1] (numeric) = 16.480572653065159537414291430295
absolute error = 7e-30
relative error = 4.2474252244494043150754759069855e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.503435421604187832498344700346
y[1] (numeric) = 16.503435421604187832498344700354
absolute error = 8e-30
relative error = 4.8474755683458625413233246186825e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.48
y[1] (closed_form) = 16.526329906649448813972143257879
y[1] (numeric) = 16.526329906649448813972143257888
absolute error = 9e-30
relative error = 5.4458552206311738011541229623522e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.549256152199846896707069902122
y[1] (numeric) = 16.54925615219984689670706990213
absolute error = 8e-30
relative error = 4.8340541269201287352350728212941e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.572214202315324227016499784586
y[1] (numeric) = 16.572214202315324227016499784594
absolute error = 8e-30
relative error = 4.8273573478686452520034171702903e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
memory used=998.2MB, alloc=44.3MB, time=10.73
x[1] = 4.51
y[1] (closed_form) = 16.595204101116945357597350216109
y[1] (numeric) = 16.595204101116945357597350216117
absolute error = 8e-30
relative error = 4.8206698460921957082105298864884e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.618225892786982039937426745797
y[1] (numeric) = 16.618225892786982039937426745806
absolute error = 9e-30
relative error = 5.4157405598309885729198238695126e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.641279621568998134351520608615
y[1] (numeric) = 16.641279621568998134351520608625
absolute error = 1.0e-29
relative error = 6.0091532787171356788162959182532e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.664365331767934637809438698782
y[1] (numeric) = 16.664365331767934637809438698792
absolute error = 1.0e-29
relative error = 6.0008285949760156435183334323863e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.687483067750194829719373600122
y[1] (numeric) = 16.687483067750194829719373600133
absolute error = 1.1e-29
relative error = 6.5917669880716284346797363864746e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.710632873943729535830247892533
y[1] (numeric) = 16.710632873943729535830247892545
absolute error = 1.2e-29
relative error = 7.1810565707006556421139274072476e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.57
y[1] (closed_form) = 16.733814794838122510416893956275
y[1] (numeric) = 16.733814794838122510416893956289
absolute error = 1.4e-29
relative error = 8.3662931445366408772515604735936e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.757028874984675936912157813158
y[1] (numeric) = 16.757028874984675936912157813171
absolute error = 1.3e-29
relative error = 7.7579385325323003084879584183175e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.780275158996496047150243176496
y[1] (numeric) = 16.780275158996496047150243176508
absolute error = 1.2e-29
relative error = 7.1512534128895840506387150160809e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.803553691548578859385839830237
y[1] (numeric) = 16.803553691548578859385839830248
absolute error = 1.1e-29
relative error = 6.5462343275235275492377818248589e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.826864517377896035253808722443
y[1] (numeric) = 16.826864517377896035253808722456
absolute error = 1.3e-29
relative error = 7.7257411721442740039415488157121e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.850207681283480855834424739745
y[1] (numeric) = 16.850207681283480855834424739757
absolute error = 1.2e-29
relative error = 7.1215739455419932353906525618415e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.873583228126514316989407027887
y[1] (numeric) = 16.873583228126514316989407027899
absolute error = 1.2e-29
relative error = 7.1117081877412047157385169854416e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.896991202830411344134195939619
y[1] (numeric) = 16.89699120283041134413419593963
absolute error = 1.1e-29
relative error = 6.5100347558667086111926824678658e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.920431650380907126612165225175
y[1] (numeric) = 16.920431650380907126612165225186
absolute error = 1.1e-29
relative error = 6.5010161840359265660506770874732e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=1039.6MB, alloc=44.3MB, time=11.17
TOP MAIN SOLVE Loop
x[1] = 4.66
y[1] (closed_form) = 16.943904615826143571836687933117
y[1] (numeric) = 16.943904615826143571836687933126
absolute error = 9e-30
relative error = 5.3116446321314361891126453910729e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.67
y[1] (closed_form) = 16.967410144276755879367204660619
y[1] (numeric) = 16.967410144276755879367204660629
absolute error = 1.0e-29
relative error = 5.8936513675147297325271594894743e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 16.990948280905959235085673282947
y[1] (numeric) = 16.990948280905959235085673282956
absolute error = 9e-30
relative error = 5.2969380232379349035468397177527e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.01451907094963562564001010226
y[1] (numeric) = 17.014519070949635625640010102269
absolute error = 9e-30
relative error = 5.2895999954335945505482350291904e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.038122559706420773321363486484
y[1] (numeric) = 17.038122559706420773321363486493
absolute error = 9e-30
relative error = 5.2822721332479231425357839946330e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.061758792537791191542292520205
y[1] (numeric) = 17.061758792537791191542292520215
absolute error = 1.0e-29
relative error = 5.8610604695534939260075197768165e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.085427814868151361083154961848
y[1] (numeric) = 17.085427814868151361083154961857
absolute error = 9e-30
relative error = 5.2676468494209919242452849724237e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.109129672184921027274240895261
y[1] (numeric) = 17.109129672184921027274240895271
absolute error = 1.0e-29
relative error = 5.8448326663029787070691629942585e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.132864410038622618281420879622
y[1] (numeric) = 17.132864410038622618281420879631
absolute error = 9e-30
relative error = 5.2530620593288821217767359838692e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.156632074042968784663310139802
y[1] (numeric) = 17.156632074042968784663310139809
absolute error = 7e-30
relative error = 4.0800548556325405641786704217480e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.76
y[1] (closed_form) = 17.180432709874950060368183400458
y[1] (numeric) = 17.180432709874950060368183400467
absolute error = 9e-30
relative error = 5.2385176508546201986783123323625e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.204266363274922645339108351508
y[1] (numeric) = 17.204266363274922645339108351516
absolute error = 8e-30
relative error = 4.6500093820200293024167810651077e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.228133080046696309895999440822
y[1] (numeric) = 17.22813308004669630989599944083
absolute error = 8e-30
relative error = 4.6435675663925834110109346779450e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.252032906057622421063527722376
y[1] (numeric) = 17.252032906057622421063527722383
absolute error = 7e-30
relative error = 4.0574928404768599992771074102223e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.275965887238682091014056845145
y[1] (numeric) = 17.275965887238682091014056845152
absolute error = 7e-30
relative error = 4.0518718581001149642052226597886e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=1081.2MB, alloc=44.3MB, time=11.61
TOP MAIN SOLVE Loop
x[1] = 4.81
y[1] (closed_form) = 17.299932069584574447795009950198
y[1] (numeric) = 17.299932069584574447795009950204
absolute error = 6e-30
relative error = 3.4682217108521159597478162585744e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.323931499153805028510307251166
y[1] (numeric) = 17.323931499153805028510307251171
absolute error = 5e-30
relative error = 2.8861808881224375514494999094770e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.347964222068774295125749407028
y[1] (numeric) = 17.347964222068774295125749407033
absolute error = 5e-30
relative error = 2.8821825638995590917782607947262e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.372030284515866273068457456359
y[1] (numeric) = 17.372030284515866273068457456365
absolute error = 6e-30
relative error = 3.4538277344289187953858438954241e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.85
y[1] (closed_form) = 17.396129732745537312790716069313
y[1] (numeric) = 17.396129732745537312790716069319
absolute error = 6e-30
relative error = 3.4490430297872079428496236803586e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.420262613072404974468803188146
y[1] (numeric) = 17.420262613072404974468803188151
absolute error = 5e-30
relative error = 2.8702207946325281805121547049280e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.444428971875337036007625769413
y[1] (numeric) = 17.444428971875337036007625769416
absolute error = 3e-30
relative error = 1.7197467482809152239275113375317e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.468628855597540624522218311573
y[1] (numeric) = 17.468628855597540624522218311576
absolute error = 3e-30
relative error = 1.7173643248128763938306900423488e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.492862310746651471467398151153
y[1] (numeric) = 17.492862310746651471467398151154
absolute error = 1e-30
relative error = 5.7166173393227651405311161389223e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.517129383894823291587109139109
y[1] (numeric) = 17.517129383894823291587109139111
absolute error = 2e-30
relative error = 1.1417395831070310949994124780284e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.541430121678817285855223267296
y[1] (numeric) = 17.541430121678817285855223267298
absolute error = 2e-30
relative error = 1.1401578925587558206096880253774e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.565764570800091768579808103221
y[1] (numeric) = 17.565764570800091768579808103223
absolute error = 2e-30
relative error = 1.1385783931800147541049416373115e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.590132778024891918843106510168
y[1] (numeric) = 17.59013277802489191884310651017
absolute error = 2e-30
relative error = 1.1370010819353064613543272513444e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.94
y[1] (closed_form) = 17.614534790184339656449714079704
y[1] (numeric) = 17.614534790184339656449714079706
absolute error = 2e-30
relative error = 1.1354259557933346912640755831814e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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=1122.7MB, alloc=44.3MB, time=12.05
TOP MAIN SOLVE Loop
x[1] = 4.95
y[1] (closed_form) = 17.638970654174523642555678984911
y[1] (numeric) = 17.638970654174523642555678984913
absolute error = 2e-30
relative error = 1.1338530117270025501948814861157e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.663440416956589405151488576111
y[1] (numeric) = 17.663440416956589405151488576113
absolute error = 2e-30
relative error = 1.1322822467134066844496683849707e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.687944125556829589572146986516
y[1] (numeric) = 17.687944125556829589572146986519
absolute error = 3e-30
relative error = 1.6960704866007472062308244264784e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.712481827066774334207788293896
y[1] (numeric) = 17.7124818270667743342077882939
absolute error = 4e-30
relative error = 2.2582944835474864303676440112678e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 17.737053568643281771588510396274
y[1] (numeric) = 17.737053568643281771588510396277
absolute error = 3e-30
relative error = 1.6913744937341765386977636622654e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.001
NO INFO (given) for Equation 1
NO 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 , 1 ) = expt ( 2.0 , ( 0.2 * x + 0.3 ) ) ;
Iterations = 4000
Total Elapsed Time = 12 Seconds
Elapsed Time(since restart) = 12 Seconds
Time to Timeout = 2 Minutes 47 Seconds
Percent Done = 100 %
> quit
memory used=1137.2MB, alloc=44.3MB, time=12.20