|\^/| 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(0.2) * sin(c(x)) - c(0.2) * cos(c(x)) * c(x) - c(0.3) * cos(c(x)));
> end;
exact_soln_y := proc(x)
return c(0.2)*sin(c(x)) - c(0.2)*cos(c(x))*c(x) - c(0.3)*cos(c(x))
end proc
#END USER DEF BLOCK
#END BLOCK 3
#END USER FUNCTION BLOCK
# before write_aux functions
# Begin Function number 2
> display_poles := proc()
> local rad_given;
> global ALWAYS,glob_display_flag,glob_larger_float, glob_large_float, glob_diff_ord_fm, glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_diff_rc_fm, glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_guess_error_ord, glob_guess_error_rc, glob_type_given_pole,array_given_rad_poles,array_given_ord_poles,array_rad_test_poles,array_ord_test_poles,glob_least_3_sing,glob_least_6_sing,glob_least_given_sing,glob_least_ratio_sing,array_x ;
> if ((glob_type_given_pole = 1) or (glob_type_given_pole = 2)) then # if number 1
> rad_given := sqrt((array_x[1] - array_given_rad_poles[1,1]) * (array_x[1] - array_given_rad_poles[1,1]) + array_given_rad_poles[1,2] * array_given_rad_poles[1,2]);
> omniout_float(ALWAYS,"Radius of convergence (given) for eq 1 ",4,rad_given,4," ");
> omniout_float(ALWAYS,"Order of pole (given) ",4,array_given_ord_poles[1,1],4," ");
> if (rad_given < glob_least_given_sing) then # if number 2
> glob_least_given_sing := rad_given;
> fi;# end if 2;
> elif
> (glob_type_given_pole = 3) then # if number 2
> omniout_str(ALWAYS,"NO POLE (given) for Equation 1");
> elif
> (glob_type_given_pole = 5) then # if number 3
> omniout_str(ALWAYS,"SOME POLE (given) for Equation 1");
> else
> omniout_str(ALWAYS,"NO INFO (given) for Equation 1");
> fi;# end if 3;
> if (array_rad_test_poles[1,1] < glob_large_float) then # if number 3
> omniout_float(ALWAYS,"Radius of convergence (ratio test) for eq 1 ",4,array_rad_test_poles[1,1],4," ");
> if (array_rad_test_poles[1,1]< glob_least_ratio_sing) then # if number 4
> glob_least_ratio_sing := array_rad_test_poles[1,1];
> fi;# end if 4;
> omniout_float(ALWAYS,"Order of pole (ratio test) ",4, array_ord_test_poles[1,1],4," ");
> else
> omniout_str(ALWAYS,"NO POLE (ratio test) for Equation 1");
> fi;# end if 3;
> if ((array_rad_test_poles[1,2] > glob__small) and (array_rad_test_poles[1,2] < glob_large_float)) then # if number 3
> omniout_float(ALWAYS,"Radius of convergence (three term test) for eq 1 ",4,array_rad_test_poles[1,2],4," ");
> if (array_rad_test_poles[1,2]< glob_least_3_sing) then # if number 4
> glob_least_3_sing := array_rad_test_poles[1,2];
> fi;# end if 4;
> omniout_float(ALWAYS,"Order of pole (three term test) ",4, array_ord_test_poles[1,2],4," ");
> else
> omniout_str(ALWAYS,"NO REAL POLE (three term test) for Equation 1");
> fi;# end if 3;
> if ((array_rad_test_poles[1,3] > glob__small) and (array_rad_test_poles[1,3] < glob_large_float)) then # if number 3
> omniout_float(ALWAYS,"Radius of convergence (six term test) for eq 1 ",4,array_rad_test_poles[1,3],4," ");
> if (array_rad_test_poles[1,3]< glob_least_6_sing) then # if number 4
> glob_least_6_sing := array_rad_test_poles[1,3];
> fi;# end if 4;
> omniout_float(ALWAYS,"Order of pole (six term test) ",4, array_ord_test_poles[1,3],4," ");
> else
> omniout_str(ALWAYS,"NO COMPLEX POLE (six term test) for Equation 1");
> fi;# end if 3
> ;
> end;
display_poles := proc()
local rad_given;
global ALWAYS, glob_display_flag, glob_larger_float, glob_large_float,
glob_diff_ord_fm, glob_diff_ord_fmm1, glob_diff_ord_fmm2, glob_diff_rc_fm,
glob_diff_rc_fmm1, glob_diff_rc_fmm2, glob_guess_error_ord,
glob_guess_error_rc, glob_type_given_pole, array_given_rad_poles,
array_given_ord_poles, array_rad_test_poles, array_ord_test_poles,
glob_least_3_sing, glob_least_6_sing, glob_least_given_sing,
glob_least_ratio_sing, array_x;
if glob_type_given_pole = 1 or glob_type_given_pole = 2 then
rad_given := sqrt((array_x[1] - array_given_rad_poles[1, 1])*
(array_x[1] - array_given_rad_poles[1, 1])
+ array_given_rad_poles[1, 2]*array_given_rad_poles[1, 2]);
omniout_float(ALWAYS,
"Radius of convergence (given) for eq 1 ", 4,
rad_given, 4, " ");
omniout_float(ALWAYS,
"Order of pole (given) ", 4,
array_given_ord_poles[1, 1], 4, " ");
if rad_given < glob_least_given_sing then
glob_least_given_sing := rad_given
end if
elif glob_type_given_pole = 3 then
omniout_str(ALWAYS, "NO POLE (given) for Equation 1")
elif glob_type_given_pole = 5 then
omniout_str(ALWAYS, "SOME POLE (given) for Equation 1")
else omniout_str(ALWAYS, "NO INFO (given) for Equation 1")
end if;
if array_rad_test_poles[1, 1] < glob_large_float then
omniout_float(ALWAYS,
"Radius of convergence (ratio test) for eq 1 ", 4,
array_rad_test_poles[1, 1], 4, " ");
if array_rad_test_poles[1, 1] < glob_least_ratio_sing then
glob_least_ratio_sing := array_rad_test_poles[1, 1]
end if;
omniout_float(ALWAYS,
"Order of pole (ratio test) ", 4,
array_ord_test_poles[1, 1], 4, " ")
else omniout_str(ALWAYS, "NO POLE (ratio test) for Equation 1")
end if;
if glob__small < array_rad_test_poles[1, 2] and
array_rad_test_poles[1, 2] < glob_large_float then
omniout_float(ALWAYS,
"Radius of convergence (three term test) for eq 1 ", 4,
array_rad_test_poles[1, 2], 4, " ");
if array_rad_test_poles[1, 2] < glob_least_3_sing then
glob_least_3_sing := array_rad_test_poles[1, 2]
end if;
omniout_float(ALWAYS,
"Order of pole (three term test) ", 4,
array_ord_test_poles[1, 2], 4, " ")
else omniout_str(ALWAYS,
"NO REAL POLE (three term test) for Equation 1")
end if;
if glob__small < array_rad_test_poles[1, 3] and
array_rad_test_poles[1, 3] < glob_large_float then
omniout_float(ALWAYS,
"Radius of convergence (six term test) for eq 1 ", 4,
array_rad_test_poles[1, 3], 4, " ");
if array_rad_test_poles[1, 3] < glob_least_6_sing then
glob_least_6_sing := array_rad_test_poles[1, 3]
end if;
omniout_float(ALWAYS,
"Order of pole (six term test) ", 4,
array_ord_test_poles[1, 3], 4, " ")
else omniout_str(ALWAYS,
"NO COMPLEX POLE (six term test) for Equation 1")
end if
end proc
# End Function number 2
# Begin Function number 3
> my_check_sign := proc( x0 ,xf)
> local ret;
> if (xf > x0) then # if number 3
> ret := glob__1;
> else
> ret := glob__m1;
> fi;# end if 3;
> ret;;
> end;
my_check_sign := proc(x0, xf)
local ret;
if x0 < xf then ret := glob__1 else ret := glob__m1 end if; ret
end proc
# End Function number 3
# Begin Function number 4
> est_size_answer := proc()
> global
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> glob_no_sing_tests,
> glob_ratio_test,
> glob_three_term_test,
> glob_six_term_test,
> glob_log_10,
#Top Generate Globals Decl
> MAX_UNCHANGED,
> glob__small,
> glob_small_float,
> glob_smallish_float,
> glob_large_float,
> glob_larger_float,
> glob__m2,
> glob__m1,
> glob__0,
> glob__1,
> glob__2,
> glob__3,
> glob__4,
> glob__5,
> glob__8,
> glob__10,
> glob__100,
> glob__pi,
> glob__0_5,
> glob__0_8,
> glob__m0_8,
> glob__0_25,
> glob__0_125,
> glob_prec,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_estimated_size_answer,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_disp_incr,
> glob_h,
> glob_diff_rc_fm,
> glob_diff_rc_fmm1,
> glob_diff_rc_fmm2,
> glob_diff_ord_fm,
> glob_diff_ord_fmm1,
> glob_diff_ord_fmm2,
> glob_six_term_ord_save,
> glob_guess_error_rc,
> glob_guess_error_ord,
> glob_least_given_sing,
> glob_least_ratio_sing,
> glob_least_3_sing,
> glob_least_6_sing,
> glob_last_good_h,
> glob_max_h,
> glob_min_h,
> glob_display_interval,
> glob_abserr,
> glob_relerr,
> glob_min_pole_est,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_max_hours,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_upper_ratio_limit,
> glob_lower_ratio_limit,
> glob_max_sec,
> glob_orig_start_sec,
> glob_normmax,
> glob_max_minutes,
> glob_next_display,
> glob_est_digits,
> glob_subiter_method,
> glob_html_log,
> glob_min_good_digits,
> glob_good_digits,
> glob_min_apfp_est_good_digits,
> glob_apfp_est_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_h_reason,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_type_given_pole,
> glob_optimize,
> glob_look_poles,
> glob_dump_closed_form,
> glob_max_iter,
> glob_no_eqs,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_start,
> glob_iter,
#Bottom Generate Globals Decl
#BEGIN CONST
> array_const_1,
> array_const_0D0,
> 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_g,
> array_tmp3,
> array_tmp4,
> array_tmp5,
> 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_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_g, array_tmp3, array_tmp4, array_tmp5,
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_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_g,
> array_tmp3,
> array_tmp4,
> array_tmp5,
> 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_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_g, array_tmp3, array_tmp4, array_tmp5,
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_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_g,
> array_tmp3,
> array_tmp4,
> array_tmp5,
> 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_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_g, array_tmp3, array_tmp4, array_tmp5,
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_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_g,
> array_tmp3,
> array_tmp4,
> array_tmp5,
> 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_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_g, array_tmp3, array_tmp4, array_tmp5,
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_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_g,
> array_tmp3,
> array_tmp4,
> array_tmp5,
> 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_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_g, array_tmp3, array_tmp4, array_tmp5,
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_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_g,
> array_tmp3,
> array_tmp4,
> array_tmp5,
> 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_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_g, array_tmp3, array_tmp4, array_tmp5,
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_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_g,
> array_tmp3,
> array_tmp4,
> array_tmp5,
> 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_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_g, array_tmp3, array_tmp4, array_tmp5,
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_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_g,
> array_tmp3,
> array_tmp4,
> array_tmp5,
> 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 sin 1 $eq_no = 1
> array_tmp3[1] := sin(array_x[1]);
> array_tmp3_g[1] := cos(array_x[1]);
> #emit pre mult LINEAR - FULL $eq_no = 1 i = 1
> array_tmp4[1] := array_tmp2[1] * array_tmp3[1];
> #emit pre add CONST FULL $eq_no = 1 i = 1
> array_tmp5[1] := array_const_0D0[1] + array_tmp4[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_tmp5[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 sin ID_LINEAR iii = 2 $eq_no = 1
> array_tmp3[2] := array_tmp3_g[1] * array_x[2] / c(1);
> array_tmp3_g[2] := neg(array_tmp3[1]) * array_x[2] / c(1);
> #emit pre mult LINEAR FULL $eq_no = 1 i = 2
> array_tmp4[2] := array_tmp3[1] * array_tmp2[2] + array_tmp3[2] * array_tmp2[1];
> #emit pre add CONST FULL $eq_no = 1 i = 2
> array_tmp5[2] := array_tmp4[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_tmp5[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 sin ID_LINEAR iii = 3 $eq_no = 1
> array_tmp3[3] := array_tmp3_g[2] * array_x[2] / c(2);
> array_tmp3_g[3] := neg(array_tmp3[2]) * array_x[2] / c(2);
> #emit pre mult LINEAR FULL $eq_no = 1 i = 3
> array_tmp4[3] := array_tmp3[2] * array_tmp2[2] + array_tmp3[3] * array_tmp2[1];
> #emit pre add CONST FULL $eq_no = 1 i = 3
> array_tmp5[3] := array_tmp4[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_tmp5[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 sin ID_LINEAR iii = 4 $eq_no = 1
> array_tmp3[4] := array_tmp3_g[3] * array_x[2] / c(3);
> array_tmp3_g[4] := neg(array_tmp3[3]) * array_x[2] / c(3);
> #emit pre mult LINEAR FULL $eq_no = 1 i = 4
> array_tmp4[4] := array_tmp3[3] * array_tmp2[2] + array_tmp3[4] * array_tmp2[1];
> #emit pre add CONST FULL $eq_no = 1 i = 4
> array_tmp5[4] := array_tmp4[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_tmp5[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 sin ID_LINEAR iii = 5 $eq_no = 1
> array_tmp3[5] := array_tmp3_g[4] * array_x[2] / c(4);
> array_tmp3_g[5] := neg(array_tmp3[4]) * array_x[2] / c(4);
> #emit pre mult LINEAR FULL $eq_no = 1 i = 5
> array_tmp4[5] := array_tmp3[4] * array_tmp2[2] + array_tmp3[5] * array_tmp2[1];
> #emit pre add CONST FULL $eq_no = 1 i = 5
> array_tmp5[5] := array_tmp4[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_tmp5[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 sin LINEAR $eq_no = 1
> array_tmp3[kkk] := array_tmp3_g[kkk - 1] * array_x[2] / c(kkk - 1);
> array_tmp3_g[kkk] := neg(array_tmp3[kkk - 1]) * array_x[2] / c(kkk - 1);
> #emit mult LINEAR FULL $eq_no = 1 i = 1
> array_tmp4[kkk] := array_tmp3[kkk-1] * array_tmp2[2] + array_tmp3[kkk] * array_tmp2[1];
> #emit NOT FULL - FULL add $eq_no = 1
> array_tmp5[kkk] := array_tmp4[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_tmp5[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_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_g, array_tmp3, array_tmp4, array_tmp5,
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] := sin(array_x[1]);
array_tmp3_g[1] := cos(array_x[1]);
array_tmp4[1] := array_tmp2[1]*array_tmp3[1];
array_tmp5[1] := array_const_0D0[1] + array_tmp4[1];
if not array_y_set_initial[1, 2] then
if 1 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp5[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_g[1]*array_x[2]/c(1);
array_tmp3_g[2] := neg(array_tmp3[1])*array_x[2]/c(1);
array_tmp4[2] :=
array_tmp2[1]*array_tmp3[2] + array_tmp2[2]*array_tmp3[1];
array_tmp5[2] := array_tmp4[2];
if not array_y_set_initial[1, 3] then
if 2 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp5[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_g[2]*array_x[2]/c(2);
array_tmp3_g[3] := neg(array_tmp3[2])*array_x[2]/c(2);
array_tmp4[3] :=
array_tmp2[1]*array_tmp3[3] + array_tmp2[2]*array_tmp3[2];
array_tmp5[3] := array_tmp4[3];
if not array_y_set_initial[1, 4] then
if 3 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp5[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_g[3]*array_x[2]/c(3);
array_tmp3_g[4] := neg(array_tmp3[3])*array_x[2]/c(3);
array_tmp4[4] :=
array_tmp2[1]*array_tmp3[4] + array_tmp2[2]*array_tmp3[3];
array_tmp5[4] := array_tmp4[4];
if not array_y_set_initial[1, 5] then
if 4 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp5[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_g[4]*array_x[2]/c(4);
array_tmp3_g[5] := neg(array_tmp3[4])*array_x[2]/c(4);
array_tmp4[5] :=
array_tmp2[1]*array_tmp3[5] + array_tmp2[2]*array_tmp3[4];
array_tmp5[5] := array_tmp4[5];
if not array_y_set_initial[1, 6] then
if 5 <= ATS_MAX_TERMS then
temporary :=
c(array_tmp5[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_g[kkk - 1]*array_x[2]/c(kkk - 1);
array_tmp3_g[kkk] := neg(array_tmp3[kkk - 1])*array_x[2]/c(kkk - 1)
;
array_tmp4[kkk] := array_tmp2[1]*array_tmp3[kkk]
+ array_tmp2[2]*array_tmp3[kkk - 1];
array_tmp5[kkk] := array_tmp4[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_tmp5[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_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_g,
> array_tmp3,
> array_tmp4,
> array_tmp5,
> 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_g:= Array(0..(30),[]);
> array_tmp3:= Array(0..(30),[]);
> array_tmp4:= Array(0..(30),[]);
> array_tmp5:= 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_g[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_tmp5[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_g);
> zero_ats_ar(array_tmp3);
> zero_ats_ar(array_tmp4);
> zero_ats_ar(array_tmp5);
> 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_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/mult_lin_sinpostode.ode#################");
> omniout_str(ALWAYS,"diff ( y , x , 1 ) = ( 0.2 * x + 0.3 ) * sin ( x ) ; ");
> 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(0.1);");
> 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 := 3;");
> omniout_str(ALWAYS,"");
> omniout_str(ALWAYS,"#END SECOND INPUT BLOCK");
> omniout_str(ALWAYS,"#BEGIN OVERRIDE BLOCK");
> omniout_str(ALWAYS,"glob_desired_digits_correct:=8;");
> omniout_str(ALWAYS,"glob_max_minutes:=(3.0);");
> omniout_str(ALWAYS,"glob_subiter_method:=3;");
> omniout_str(ALWAYS,"glob_max_iter:=100000;");
> omniout_str(ALWAYS,"glob_upper_ratio_limit:=c(1.0000001);");
> omniout_str(ALWAYS,"glob_lower_ratio_limit:=c(0.9999999);");
> omniout_str(ALWAYS,"glob_look_poles:=true;");
> omniout_str(ALWAYS,"glob_h:=c(0.005);");
> 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,"");
> omniout_str(ALWAYS,"return(c(0.2) * sin(c(x)) - c(0.2) * cos(c(x)) * c(x) - c(0.3) * cos(c(x)));");
> 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(0.1);
> x_end := c(5.0) ;
> array_y_init[0 + 1] := exact_soln_y(x_start);
> glob_look_poles := true;
> glob_type_given_pole := 3;
> #END SECOND INPUT BLOCK
> #BEGIN OVERRIDE BLOCK
> glob_desired_digits_correct:=8;
> glob_max_minutes:=(3.0);
> glob_subiter_method:=3;
> glob_max_iter:=100000;
> glob_upper_ratio_limit:=c(1.0000001);
> glob_lower_ratio_limit:=c(0.9999999);
> glob_look_poles:=true;
> glob_h:=c(0.005);
> 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 ) = ( 0.2 * x + 0.3 ) * sin ( x ) ; ");
> 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-02T21:49:01-05:00")
> ;
> logitem_str(html_log_file,"Maple")
> ;
> logitem_str(html_log_file,"mult_lin_sin")
> ;
> logitem_str(html_log_file,"diff ( y , x , 1 ) = ( 0.2 * x + 0.3 ) * sin ( x ) ; ")
> ;
> logitem_float(html_log_file,x_start)
> ;
> logitem_float(html_log_file,x_end)
> ;
> logitem_float(html_log_file,array_x[1])
> ;
> logitem_float(html_log_file,glob_h)
> ;
> logitem_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,"mult_lin_sin diffeq.mxt")
> ;
> logitem_str(html_log_file,"mult_lin_sin 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_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_g, array_tmp3, array_tmp4, array_tmp5,
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_g := Array(0 .. 30, []);
array_tmp3 := Array(0 .. 30, []);
array_tmp4 := Array(0 .. 30, []);
array_tmp5 := 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_g[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_tmp5[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_g);
zero_ats_ar(array_tmp3);
zero_ats_ar(array_tmp4);
zero_ats_ar(array_tmp5);
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_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/mult_lin_sinpostode.ode#################");
omniout_str(ALWAYS, "diff ( y , x , 1 ) = ( 0.2 * x +\
0.3 ) * sin ( x ) ; ");
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(0.1);");
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 := 3;");
omniout_str(ALWAYS, "");
omniout_str(ALWAYS, "#END SECOND INPUT BLOCK");
omniout_str(ALWAYS, "#BEGIN OVERRIDE BLOCK");
omniout_str(ALWAYS, "glob_desired_digits_correct:=8;");
omniout_str(ALWAYS, "glob_max_minutes:=(3.0);");
omniout_str(ALWAYS, "glob_subiter_method:=3;");
omniout_str(ALWAYS, "glob_max_iter:=100000;");
omniout_str(ALWAYS, "glob_upper_ratio_limit:=c(1.0000001);");
omniout_str(ALWAYS, "glob_lower_ratio_limit:=c(0.9999999);");
omniout_str(ALWAYS, "glob_look_poles:=true;");
omniout_str(ALWAYS, "glob_h:=c(0.005);");
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, "");
omniout_str(ALWAYS, "return(c(0.2) * sin(c(x)) - c(0.2) * cos(c(x)) *\
c(x) - c(0.3) * cos(c(x)));");
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(0.1);
x_end := c(5.0);
array_y_init[1] := exact_soln_y(x_start);
glob_look_poles := true;
glob_type_given_pole := 3;
glob_desired_digits_correct := 8;
glob_max_minutes := 3.0;
glob_subiter_method := 3;
glob_max_iter := 100000;
glob_upper_ratio_limit := c(1.0000001);
glob_lower_ratio_limit := c(0.9999999);
glob_look_poles := true;
glob_h := c(0.005);
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 ) = ( 0.2 * x \
+ 0.3 ) * sin ( x ) ; ");
omniout_int(INFO, "Iterations ", 32, glob_iter,
4, " ");
prog_report(x_start, x_end);
if glob_html_log then
logstart(html_log_file);
logitem_str(html_log_file, "2015-05-02T21:49:01-05:00");
logitem_str(html_log_file, "Maple");
logitem_str(html_log_file,
"mult_lin_sin");
logitem_str(html_log_file, "diff ( y , x , 1 ) = \
( 0.2 * x + 0.3 ) * sin ( x ) ; ");
logitem_float(html_log_file, x_start);
logitem_float(html_log_file, x_end);
logitem_float(html_log_file, array_x[1]);
logitem_float(html_log_file, glob_h);
logitem_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, "mult_lin_sin diffeq.mxt");
logitem_str(html_log_file, "mult_lin_sin 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/mult_lin_sinpostode.ode#################
diff ( y , x , 1 ) = ( 0.2 * x + 0.3 ) * sin ( x ) ;
!
#BEGIN FIRST INPUT BLOCK
Digits:=32;
max_terms:=30;
!
#END FIRST INPUT BLOCK
#BEGIN SECOND INPUT BLOCK
x_start := c(0.1);
x_end := c(5.0) ;
array_y_init[0 + 1] := exact_soln_y(x_start);
glob_look_poles := true;
glob_type_given_pole := 3;
#END SECOND INPUT BLOCK
#BEGIN OVERRIDE BLOCK
glob_desired_digits_correct:=8;
glob_max_minutes:=(3.0);
glob_subiter_method:=3;
glob_max_iter:=100000;
glob_upper_ratio_limit:=c(1.0000001);
glob_lower_ratio_limit:=c(0.9999999);
glob_look_poles:=true;
glob_h:=c(0.005);
glob_display_interval:=c(0.01);
#END OVERRIDE BLOCK
!
#BEGIN USER DEF BLOCK
exact_soln_y := proc(x)
return(c(0.2) * sin(c(x)) - c(0.2) * cos(c(x)) * c(x) - c(0.3) * cos(c(x)));
end;
#END USER DEF BLOCK
#######END OF ECHO OF PROBLEM#################
START of Soultion
TOP MAIN SOLVE Loop
x[1] = 0.1
y[1] (closed_form) = -0.29843464955960261468921699641511
y[1] (numeric) = -0.29843464955960261468921699641511
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 14
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.11
y[1] (closed_form) = -0.29809820337462142408223445686051
y[1] (numeric) = -0.29809820337462142408223445686049
absolute error = 2e-32
relative error = 6.7091984364850080202385032539532e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO 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.13
TOP MAIN SOLVE Loop
x[1] = 0.12
y[1] (closed_form) = -0.29772755655886879373491368353168
y[1] (numeric) = -0.29772755655886879373491368353167
absolute error = 1e-32
relative error = 3.3587754239412264224393575023579e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.13
y[1] (closed_form) = -0.29732234882708192899956980565382
y[1] (numeric) = -0.29732234882708192899956980565382
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.14
y[1] (closed_form) = -0.29688222382889769603925734811866
y[1] (numeric) = -0.29688222382889769603925734811865
absolute error = 1e-32
relative error = 3.3683390911822682216983126493768e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.15
y[1] (closed_form) = -0.2964068292241741103229986418184
y[1] (numeric) = -0.29640682922417411032299864181839
absolute error = 1e-32
relative error = 3.3737414303760677402800464801878e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.16
y[1] (closed_form) = -0.29589581675785895441930360603689
y[1] (numeric) = -0.29589581675785895441930360603688
absolute error = 1e-32
relative error = 3.3795678862818533916457224858548e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.17
y[1] (closed_form) = -0.2953488423343940748318997413968
y[1] (numeric) = -0.29534884233439407483189974139679
absolute error = 1e-32
relative error = 3.3858267129004000252641536087214e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.18
y[1] (closed_form) = -0.29476556609164395963479203632963
y[1] (numeric) = -0.29476556609164395963479203632962
absolute error = 1e-32
relative error = 3.3925265194954808140222004017310e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.19
y[1] (closed_form) = -0.29414565247433725221257236581992
y[1] (numeric) = -0.29414565247433725221257236581992
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.2
y[1] (closed_form) = -0.2934887703070099114903442902707
y[1] (numeric) = -0.29348877030700991149034429027069
absolute error = 1e-32
relative error = 3.4072853927389780983881030614241e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.21
y[1] (closed_form) = -0.29279459286643878563957690504444
y[1] (numeric) = -0.29279459286643878563957690504444
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.22
y[1] (closed_form) = -0.29206279795355442436531370438798
y[1] (numeric) = -0.29206279795355442436531370438796
absolute error = 2e-32
relative error = 6.8478423613474112520430280600861e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.23
y[1] (closed_form) = -0.29129306796482201450991136176076
y[1] (numeric) = -0.29129306796482201450991136176075
absolute error = 1e-32
relative error = 3.4329687520087670776501008562137e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.24
y[1] (closed_form) = -0.29048508996307938484215056904529
y[1] (numeric) = -0.29048508996307938484215056904528
absolute error = 1e-32
relative error = 3.4425174804224886828747326320212e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.25
y[1] (closed_form) = -0.28963855574782108853123866635309
y[1] (numeric) = -0.28963855574782108853123866635307
absolute error = 2e-32
relative error = 6.9051580333846687054285634782782e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.26
y[1] (closed_form) = -0.28875316192491763592581491867738
y[1] (numeric) = -0.28875316192491763592581491867736
absolute error = 2e-32
relative error = 6.9263310803850013316072721121785e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.27
y[1] (closed_form) = -0.28782860997575901586128907495613
y[1] (numeric) = -0.28782860997575901586128907495611
absolute error = 2e-32
relative error = 6.9485795736860224118522949845614e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.28
y[1] (closed_form) = -0.28686460632581171079722014738877
y[1] (numeric) = -0.28686460632581171079722014738875
absolute error = 2e-32
relative error = 6.9719301576314489902018963847823e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.29
y[1] (closed_form) = -0.28586086241257847963231662939873
y[1] (numeric) = -0.2858608624125784796323166293987
absolute error = 3e-32
relative error = 1.0494616068393956141422190713112e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.3
y[1] (closed_form) = -0.2848170947529502520501675327875
y[1] (numeric) = -0.28481709475295025205016753278746
absolute error = 4e-32
relative error = 1.4044100841171740667439602483102e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.31
y[1] (closed_form) = -0.2837330250099395497059669031134
y[1] (numeric) = -0.28373302500993954970596690311338
absolute error = 2e-32
relative error = 7.0488798402298685831747896767689e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.32
y[1] (closed_form) = -0.28260838005878492246506033896743
y[1] (numeric) = -0.2826083800587849224650603389674
absolute error = 3e-32
relative error = 1.0615396469757813768966835584286e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.33
y[1] (closed_form) = -0.28144289205241596223972513244798
y[1] (numeric) = -0.28144289205241596223972513244796
absolute error = 2e-32
relative error = 7.1062373805749541892614575812375e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.34
y[1] (closed_form) = -0.28023629848626853273261871668362
y[1] (numeric) = -0.2802362984862685327326187166836
absolute error = 2e-32
relative error = 7.1368342031465963187964198419765e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.35
y[1] (closed_form) = -0.27898834226243993057503499081883
y[1] (numeric) = -0.27898834226243993057503499081881
absolute error = 2e-32
relative error = 7.1687583207997686296874164785894e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.36
y[1] (closed_form) = -0.27769877175317377193655671375826
y[1] (numeric) = -0.27769877175317377193655671375824
absolute error = 2e-32
relative error = 7.2020484187724620025899603392256e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.37
y[1] (closed_form) = -0.27636734086366447867076753245416
y[1] (numeric) = -0.27636734086366447867076753245414
absolute error = 2e-32
relative error = 7.2367451007412102866247203829878e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.38
y[1] (closed_form) = -0.2749938090941713194400944904346
y[1] (numeric) = -0.27499380909417131944009449043457
absolute error = 3e-32
relative error = 1.0909336504272550321948033058667e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.39
y[1] (closed_form) = -0.27357794160143204402211939301962
y[1] (numeric) = -0.2735779416014320440221193930196
absolute error = 2e-32
relative error = 7.3105309159528050119055752658221e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.4
y[1] (closed_form) = -0.27211950925936623313017780682054
y[1] (numeric) = -0.27211950925936623313017780682052
absolute error = 2e-32
relative error = 7.3497119168098047154166451013391e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.41
y[1] (closed_form) = -0.2706182887190585715729357382516
y[1] (numeric) = -0.27061828871905857157293573825157
absolute error = 3e-32
relative error = 1.1085725263433468425554164515621e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.42
y[1] (closed_form) = -0.26907406246801233942090066361435
y[1] (numeric) = -0.26907406246801233942090066361432
absolute error = 3e-32
relative error = 1.1149346661225072619840427982864e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.43
y[1] (closed_form) = -0.26748661888866350403231770985318
y[1] (numeric) = -0.26748661888866350403231770985315
absolute error = 3e-32
relative error = 1.1215514302974146392603527209882e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.44
y[1] (closed_form) = -0.26585575231614588530628435677538
y[1] (numeric) = -0.26585575231614588530628435677535
absolute error = 3e-32
relative error = 1.1284314798020658616801164917981e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.45
y[1] (closed_form) = -0.26418126309529795736667898923334
y[1] (numeric) = -0.2641812630952979573666789892333
absolute error = 4e-32
relative error = 1.5141119219182029068301437893894e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.46
y[1] (closed_form) = -0.26246295763690194202596211338638
y[1] (numeric) = -0.26246295763690194202596211338635
absolute error = 3e-32
relative error = 1.1430184384915290608162370749860e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.47
y[1] (closed_form) = -0.26070064847314594282222863487488
y[1] (numeric) = -0.26070064847314594282222863487485
absolute error = 3e-32
relative error = 1.1507451237924411045389624382085e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.48
y[1] (closed_form) = -0.25889415431229996315505352462113
y[1] (numeric) = -0.25889415431229996315505352462111
absolute error = 2e-32
relative error = 7.7251647697978971244959018453000e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.49
y[1] (closed_form) = -0.2570433000925967480545046598988
y[1] (numeric) = -0.25704330009259674805450465989877
absolute error = 3e-32
relative error = 1.1671185356394374761203757900529e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.5
y[1] (closed_form) = -0.25514791703530848639185504599842
y[1] (numeric) = -0.25514791703530848639185504599839
absolute error = 3e-32
relative error = 1.1757885523262362588697525693098e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.51
y[1] (closed_form) = -0.25320784269701050886850895884244
y[1] (numeric) = -0.25320784269701050886850895884241
absolute error = 3e-32
relative error = 1.1847974249319803607901738103069e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.52
y[1] (closed_form) = -0.2512229210210232168897986305738
y[1] (numeric) = -0.25122292102102321688979863057378
absolute error = 2e-32
relative error = 7.9610570240628360957202315200214e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.53
y[1] (closed_form) = -0.24919300238802357843078597304384
y[1] (numeric) = -0.24919300238802357843078597304383
absolute error = 1e-32
relative error = 4.0129537764582944250630129333971e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.54
y[1] (closed_form) = -0.24711794366581762922003512520681
y[1] (numeric) = -0.24711794366581762922003512520679
absolute error = 2e-32
relative error = 8.0933014022835939831708281949345e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.55
y[1] (closed_form) = -0.24499760825826552099236691547182
y[1] (numeric) = -0.2449976082582655209923669154718
absolute error = 2e-32
relative error = 8.1633449984201047829928158472119e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.56
y[1] (closed_form) = -0.24283186615335076318057061937052
y[1] (numeric) = -0.24283186615335076318057061937048
absolute error = 4e-32
relative error = 1.6472302681535049491590367516092e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.57
y[1] (closed_form) = -0.24062059397038541021648243604545
y[1] (numeric) = -0.24062059397038541021648243604543
absolute error = 2e-32
relative error = 8.3118405079082788191759178919754e-30 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.58
y[1] (closed_form) = -0.23836367500634305358114191655352
y[1] (numeric) = -0.23836367500634305358114191655348
absolute error = 4e-32
relative error = 1.6781080422147194650077738280247e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.59
y[1] (closed_form) = -0.23606099928131158586915387062595
y[1] (numeric) = -0.23606099928131158586915387062591
absolute error = 4e-32
relative error = 1.6944772801004875401534728069146e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.6
y[1] (closed_form) = -0.23371246358305781340101096042953
y[1] (numeric) = -0.23371246358305781340101096042949
absolute error = 4e-32
relative error = 1.7115047861272753852894267608646e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.61
y[1] (closed_form) = -0.2313179715106961043159198497598
y[1] (numeric) = -0.23131797151069610431591984975975
absolute error = 5e-32
relative error = 2.1615268227305896274575225568869e-29 %
Desired digits = 8
Estimated correct digits = 13
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.62
y[1] (closed_form) = -0.2288774335174533705934232079325
y[1] (numeric) = -0.22887743351745337059342320793245
absolute error = 5e-32
relative error = 2.1845753524751569568084699629799e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.63
y[1] (closed_form) = -0.22639076695252279507147760126211
y[1] (numeric) = -0.22639076695252279507147760126206
absolute error = 5e-32
relative error = 2.2085706353247911415593729552542e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.64
y[1] (closed_form) = -0.22385789610199882823814616568183
y[1] (numeric) = -0.22385789610199882823814616568179
absolute error = 4e-32
relative error = 1.7868478484124750874191854137135e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.65
y[1] (closed_form) = -0.22127875222888609436006562967117
y[1] (numeric) = -0.22127875222888609436006562967112
absolute error = 5e-32
relative error = 2.2595933634098338561092332095638e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.66
y[1] (closed_form) = -0.2186532736121749623595798875322
y[1] (numeric) = -0.21865327361217496235957988753215
absolute error = 5e-32
relative error = 2.2867254248699215634588805851300e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.67
y[1] (closed_form) = -0.21598140558497665374998810803443
y[1] (numeric) = -0.21598140558497665374998810803437
absolute error = 6e-32
relative error = 2.7780169240723522272453066378390e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.68
y[1] (closed_form) = -0.21326310057171087787068818315927
y[1] (numeric) = -0.21326310057171087787068818315922
absolute error = 5e-32
relative error = 2.3445218542711390414358294011446e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.69
y[1] (closed_form) = -0.21049831812433910361692437878628
y[1] (numeric) = -0.21049831812433910361692437878622
absolute error = 6e-32
relative error = 2.8503790688037061731605074156769e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for 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=47.2MB, alloc=44.3MB, time=0.59
x[1] = 0.7
y[1] (closed_form) = -0.20768702495763669681805552540468
y[1] (numeric) = -0.20768702495763669681805552540462
absolute error = 6e-32
relative error = 2.8889623707710483541001321855710e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.71
y[1] (closed_form) = -0.20482919498349727336929881673911
y[1] (numeric) = -0.20482919498349727336929881673906
absolute error = 5e-32
relative error = 2.4410582682819415332422202317659e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.72
y[1] (closed_form) = -0.20192480934426274015019544471023
y[1] (numeric) = -0.20192480934426274015019544471018
absolute error = 5e-32
relative error = 2.4761692316249619195885267285066e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.73
y[1] (closed_form) = -0.19897385644507261865388011656114
y[1] (numeric) = -0.19897385644507261865388011656109
absolute error = 5e-32
relative error = 2.5128929444960857410144762789411e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.74
y[1] (closed_form) = -0.19597633198522637008978197167145
y[1] (numeric) = -0.19597633198522637008978197167139
absolute error = 6e-32
relative error = 3.0615941931458889614528040887054e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.75
y[1] (closed_form) = -0.19293223898855256549367904829406
y[1] (numeric) = -0.19293223898855256549367904829401
absolute error = 5e-32
relative error = 2.5915834627807692728732978526258e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.76
y[1] (closed_form) = -0.18984158783277887006798801397953
y[1] (numeric) = -0.18984158783277887006798801397949
absolute error = 4e-32
relative error = 2.1070198820310028457117567605812e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.77
y[1] (closed_form) = -0.18670439627789693756658916976681
y[1] (numeric) = -0.18670439627789693756658916976676
absolute error = 5e-32
relative error = 2.6780301373074452201501922531993e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.78
y[1] (closed_form) = -0.18352068949351643801703738581306
y[1] (numeric) = -0.183520689493516438017037385813
absolute error = 6e-32
relative error = 3.2693861474468646639059793614611e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.79
y[1] (closed_form) = -0.18029050008520257042324785938306
y[1] (numeric) = -0.18029050008520257042324785938301
absolute error = 5e-32
relative error = 2.7733019752216979993468368342003e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.8
y[1] (closed_form) = -0.17701386811979154129811006943919
y[1] (numeric) = -0.17701386811979154129811006943913
absolute error = 6e-32
relative error = 3.3895649328105682226468105540449e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.81
y[1] (closed_form) = -0.1736908411496786199222979586913
y[1] (numeric) = -0.17369084114967861992229795869123
absolute error = 7e-32
relative error = 4.0301491740532987202630520898092e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.82
y[1] (closed_form) = -0.1703214742360735120970202290572
y[1] (numeric) = -0.17032147423607351209702022905712
absolute error = 8e-32
relative error = 4.6970002085066658386093763136293e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.83
y[1] (closed_form) = -0.16690582997121792583869167449722
y[1] (numeric) = -0.16690582997121792583869167449715
absolute error = 7e-32
relative error = 4.1939817208345058583048312808740e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.84
y[1] (closed_form) = -0.16344397849956033493649551112963
y[1] (numeric) = -0.16344397849956033493649551112956
absolute error = 7e-32
relative error = 4.2828130251484486671418105792907e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.85
y[1] (closed_form) = -0.1599359975378830795434312289998
y[1] (numeric) = -0.15993599753788307954343122899972
absolute error = 8e-32
relative error = 5.0020008773228728753704419427761e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.86
y[1] (closed_form) = -0.15638197239437707698148072760793
y[1] (numeric) = -0.15638197239437707698148072760786
absolute error = 7e-32
relative error = 4.4762192807920450326146760659386e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.87
y[1] (closed_form) = -0.1527819959866595506956520790543
y[1] (numeric) = -0.15278199598665955069565207905422
absolute error = 8e-32
relative error = 5.2362190638604663534300905468359e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.88
y[1] (closed_form) = -0.14913616885873032077344831017252
y[1] (numeric) = -0.14913616885873032077344831017245
absolute error = 7e-32
relative error = 4.6936970780245607663365193331547e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.89
y[1] (closed_form) = -0.14544459919686233563923161883312
y[1] (numeric) = -0.14544459919686233563923161883306
absolute error = 6e-32
relative error = 4.1252820889408711065332284300009e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.9
y[1] (closed_form) = -0.14170740284442226142038728953272
y[1] (numeric) = -0.14170740284442226142038728953265
absolute error = 7e-32
relative error = 4.9397560462562148204177495315497e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.91
y[1] (closed_form) = -0.13792470331561708304741640144189
y[1] (numeric) = -0.13792470331561708304741640144182
absolute error = 7e-32
relative error = 5.0752329580740136013674740027022e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.92
y[1] (closed_form) = -0.13409663180816280937628865753408
y[1] (numeric) = -0.13409663180816280937628865753401
absolute error = 7e-32
relative error = 5.2201161994986751527148790182669e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.93
y[1] (closed_form) = -0.1302233272148715134916609998523
y[1] (numeric) = -0.13022332721487151349166099985223
absolute error = 7e-32
relative error = 5.3753810086958056836253375302182e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.94
y[1] (closed_form) = -0.12630493613415307884691907010249
y[1] (numeric) = -0.12630493613415307884691907010242
absolute error = 7e-32
relative error = 5.5421428601690156582546898381346e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.95
y[1] (closed_form) = -0.12234161287942816200434425672212
y[1] (numeric) = -0.12234161287942816200434425672205
absolute error = 7e-32
relative error = 5.7216835999201180065524297017902e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.96
y[1] (closed_form) = -0.11833351948744902343888056448703
y[1] (numeric) = -0.11833351948744902343888056448697
absolute error = 6e-32
relative error = 5.0704145587729151779544392143592e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.97
y[1] (closed_form) = -0.11428082572552501914472070332456
y[1] (numeric) = -0.1142808257255250191447207033245
absolute error = 6e-32
relative error = 5.2502245778399894527236610326883e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.98
y[1] (closed_form) = -0.1101837090976496876179158430667
y[1] (numeric) = -0.11018370909764968761791584306664
absolute error = 6e-32
relative error = 5.4454511008360900345505691950404e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 0.99
y[1] (closed_form) = -0.10604235484952650916302506920007
y[1] (numeric) = -0.10604235484952650916302506920001
absolute error = 6e-32
relative error = 5.6581165219444300781451115861379e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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
y[1] (closed_form) = -0.10185695597249055736996783939543
y[1] (numeric) = -0.10185695597249055736996783939536
absolute error = 7e-32
relative error = 6.8723828757365910527670902569088e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.01
y[1] (closed_form) = -0.09762771320632340601115938364475
y[1] (numeric) = -0.097627713206323406011159383644677
absolute error = 7.3e-32
relative error = 7.4773850172772197908451687122376e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.09335483504095879850105536215796
y[1] (numeric) = -0.093354835040958798501055362157896
absolute error = 6.4e-32
relative error = 6.8555635036921693005090023382214e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.08903853771707673142269728665881
y[1] (numeric) = -0.089038537717076731422697286658747
absolute error = 6.3e-32
relative error = 7.0755878988247589537185601023002e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.08467904522558374844095415944079
y[1] (numeric) = -0.084679045225583748440954159440723
absolute error = 6.7e-32
relative error = 7.9122290315759904535265770269333e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.08027658930597738617205138513412
y[1] (numeric) = -0.080276589305977386172051385134048
absolute error = 7.2e-32
relative error = 8.9689909128512124983898466712476e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.0758314094435928592457532360582
y[1] (numeric) = -0.075831409443592859245753236058129
absolute error = 7.1e-32
relative error = 9.3628748985357182667969286353334e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.07134375286573021786224518548707
y[1] (numeric) = -0.07134375286573021786224518548699
absolute error = 8.0e-32
relative error = 1.1213315362111794297009996904299e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.06681387453666035759231179335448
y[1] (numeric) = -0.066813874536660357592311793354412
absolute error = 6.8e-32
relative error = 1.0177526819326848458670572585211e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.06224203715150840797873055854011
y[1] (numeric) = -0.062242037151508407978730558540044
absolute error = 6.6e-32
relative error = 1.0603766043091428518515460022972e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.057628511129013173650751911353718
y[1] (numeric) = -0.057628511129013173650751911353642
absolute error = 7.6e-32
relative error = 1.3187916625133434774152364978144e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.052973574603161449143905789361453
y[1] (numeric) = -0.052973574603161449143905789361379
absolute error = 7.4e-32
relative error = 1.3969229102312400730712075116091e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.048277513413696176405909478567803
y[1] (numeric) = -0.04827751341369617640590947856773
absolute error = 7.3e-32
relative error = 1.5120911339085275483177042644782e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.04354062109549756204784322507148
y[1] (numeric) = -0.043540621095497562047843225071412
absolute error = 6.8e-32
relative error = 1.5617599907648475748220243932003e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.038763198866836419749655483533878
y[1] (numeric) = -0.03876319886683641974965548353381
absolute error = 6.8e-32
relative error = 1.7542411872044161554043800368264e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.15
y[1] (closed_form) = -0.033945555616499151832059051018522
y[1] (numeric) = -0.033945555616499151832059051018452
absolute error = 7.0e-32
relative error = 2.0621256223002187732902929641355e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.02908800788978393284453994627074
y[1] (numeric) = -0.029088007889783932844539946270675
absolute error = 6.5e-32
relative error = 2.2345978537371341177071622336759e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.024190879873367807073038871524557
y[1] (numeric) = -0.024190879873367807073038871524492
absolute error = 6.5e-32
relative error = 2.6869630348402381978457178797399e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.019254503379044561122357708983091
y[1] (numeric) = -0.019254503379044561122357708983019
absolute error = 7.2e-32
relative error = 3.7393849419331403057975460045245e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.014279217826333382158931380072022
y[1] (numeric) = -0.014279217826333382158931380071945
absolute error = 7.7e-32
relative error = 5.3924522292809690648855276590928e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.009265370223958461990694724937489
y[1] (numeric) = -0.009265370223958461990694724937426
absolute error = 6.30e-32
relative error = 6.7995124293138486692121383375117e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.0042133151501998568937388290976
y[1] (numeric) = -0.0042133151501998568937388290975252
absolute error = 7.48e-32
relative error = 1.7753241173153613340634448545958e-27 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.00087658526788393704836455628492
y[1] (numeric) = 0.0008765852678839370483645562849974
absolute error = 7.740e-32
relative error = 8.8297171804908807092500207657852e-27 %
Desired digits = 8
Estimated correct digits = 10
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.00600396137636108336597191703613
y[1] (numeric) = 0.0060039613763610833659719170361941
absolute error = 6.41e-32
relative error = 1.0676284536468838743491927431295e-27 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.011168436017458419612365200814196
y[1] (numeric) = 0.011168436017458419612365200814263
absolute error = 6.7e-32
relative error = 5.9990494546654587397125069700342e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.016369624553719476873551965566288
y[1] (numeric) = 0.016369624553719476873551965566359
absolute error = 7.1e-32
relative error = 4.3373016752462723236559076938245e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.021607134893287444330102190259666
y[1] (numeric) = 0.021607134893287444330102190259736
absolute error = 7.0e-32
relative error = 3.2396706155496103909180881086836e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.026880567516311868630706441523852
y[1] (numeric) = 0.026880567516311868630706441523919
absolute error = 6.7e-32
relative error = 2.4925068996159606709320791576343e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.032189515502477727634811658994583
y[1] (numeric) = 0.032189515502477727634811658994648
absolute error = 6.5e-32
relative error = 2.0192910326654884509099662235590e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO 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=90.6MB, alloc=44.3MB, time=1.06
TOP MAIN SOLVE Loop
x[1] = 1.29
y[1] (closed_form) = 0.037533564559655367887386060002936
y[1] (numeric) = 0.037533564559655367887386060003005
absolute error = 6.9e-32
relative error = 1.8383545716882893368274966197392e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.3
y[1] (closed_form) = 0.042912293053669645021398624803899
y[1] (numeric) = 0.042912293053669645021398624803974
absolute error = 7.5e-32
relative error = 1.7477509278331695795741724424767e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.0483252720391864561617960992052
y[1] (numeric) = 0.048325272039186456161796099205269
absolute error = 6.9e-32
relative error = 1.4278243471459120564043919277561e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.053772065291714703347453709797525
y[1] (numeric) = 0.053772065291714703347453709797598
absolute error = 7.3e-32
relative error = 1.3575822242268974455393191037061e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.059252229340721577013602305470776
y[1] (numeric) = 0.059252229340721577013602305470843
absolute error = 6.7e-32
relative error = 1.1307591418160144148821809462351e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.064765313503858898705434837991428
y[1] (numeric) = 0.0647653135038588987054348379915
absolute error = 7.2e-32
relative error = 1.1117061912424779418043040499159e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.070310859922298112442810069236981
y[1] (numeric) = 0.070310859922298112442810069237058
absolute error = 7.7e-32
relative error = 1.0951366557754262326875134782404e-28 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.075888403597171364545040643517182
y[1] (numeric) = 0.075888403597171364545040643517256
absolute error = 7.4e-32
relative error = 9.7511604530258227514542997028849e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.081497472427115962272511825321987
y[1] (numeric) = 0.081497472427115962272511825322052
absolute error = 6.5e-32
relative error = 7.9757074746250782744702130310258e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.08713758724691935236715577464865
y[1] (numeric) = 0.087137587246919352367155774648717
absolute error = 6.7e-32
relative error = 7.6889895757778979304431464590901e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.092808261867261611495425304997835
y[1] (numeric) = 0.09280826186726161149542530499791
absolute error = 7.5e-32
relative error = 8.0811770946931688556957575213524e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.098509003115552291734181055343105
y[1] (numeric) = 0.098509003115552291734181055343175
absolute error = 7.0e-32
relative error = 7.1059494854383132068677852453443e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.10423931087785831561062436866039
y[1] (numeric) = 0.10423931087785831561062436866047
absolute error = 8e-32
relative error = 7.6746478201241603740571047850020e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.10999867814191946683085714652921
y[1] (numeric) = 0.10999867814191946683085714652929
absolute error = 8e-32
relative error = 7.2728146693530809503526409895281e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.11578659104124787472659429109546
y[1] (numeric) = 0.11578659104124787472659429109554
absolute error = 8e-32
relative error = 6.9092629190111278832237646572034e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.12160252890030774263473904098765
y[1] (numeric) = 0.12160252890030774263473904098772
absolute error = 7e-32
relative error = 5.7564592309907832193898314776487e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.45
y[1] (closed_form) = 0.12744596428077142291867951678826
y[1] (numeric) = 0.12744596428077142291867951678835
absolute error = 9e-32
relative error = 7.0618163947290144273338874930703e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.13331636302884779416197477964898
y[1] (numeric) = 0.13331636302884779416197477964904
absolute error = 6e-32
relative error = 4.5005728206834475499301287940582e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.13921318432367874923324277927844
y[1] (numeric) = 0.13921318432367874923324277927851
absolute error = 7e-32
relative error = 5.0282593807527546587658572685694e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.14513588072679945645418400828643
y[1] (numeric) = 0.14513588072679945645418400828649
absolute error = 6e-32
relative error = 4.1340569747147958025724451340277e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.15108389823265791001938568963964
y[1] (numeric) = 0.1510838982326579100193856896397
absolute error = 6e-32
relative error = 3.9713034083621859488798127167920e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.15705667632018914013543076336774
y[1] (numeric) = 0.1570566763201891401354307633678
absolute error = 6e-32
relative error = 3.8202769475191796946894871044718e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.16305364800543930808642707298779
y[1] (numeric) = 0.16305364800543930808642707298786
absolute error = 7e-32
relative error = 4.2930655558019081781400263077752e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.16907423989523476661188039965112
y[1] (numeric) = 0.16907423989523476661188039965119
absolute error = 7e-32
relative error = 4.1401930917078101047483589555958e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.17511787224189102161932567545367
y[1] (numeric) = 0.17511787224189102161932567545373
absolute error = 6e-32
relative error = 3.4262636492705757956034405596063e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.18118395899895638736672680898556
y[1] (numeric) = 0.18118395899895638736672680898563
absolute error = 7e-32
relative error = 3.8634766778886423001133390952370e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.1872719078779849838567354769626
y[1] (numeric) = 0.18727190787798498385673547696268
absolute error = 8e-32
relative error = 4.2718633513427517157346735506666e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.19338112040633358230479455846103
y[1] (numeric) = 0.1933811204063335823047945584611
absolute error = 7e-32
relative error = 3.6197949341132979125004336861739e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.19951099198597666219406514510642
y[1] (numeric) = 0.1995109919859766621940651451065
absolute error = 8e-32
relative error = 4.0098041317755105837753606295413e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.2056609119533339016304785055517
y[1] (numeric) = 0.20566091195333390163047850555179
absolute error = 9e-32
relative error = 4.3761354136376540316575149559141e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.59
y[1] (closed_form) = 0.21183026364010418147904376872752
y[1] (numeric) = 0.21183026364010418147904376872761
absolute error = 9e-32
relative error = 4.2486846994114299811859719935914e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.21801842443510004311600045213608
y[1] (numeric) = 0.21801842443510004311600045213616
absolute error = 8e-32
relative error = 3.6694146472842934079558356353134e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.2242247658470763995885564027407
y[1] (numeric) = 0.22422476584707639958855640274078
absolute error = 8e-32
relative error = 3.5678485245720280608976593682773e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.23044865356854716055280020566985
y[1] (numeric) = 0.23044865356854716055280020566994
absolute error = 9e-32
relative error = 3.9054252913319547147108932132746e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.23668944754058329257886427957142
y[1] (numeric) = 0.23668944754058329257886427957151
absolute error = 9e-32
relative error = 3.8024508880806104509254147149816e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.24294650201858569828841781515634
y[1] (numeric) = 0.24294650201858569828841781515643
absolute error = 9e-32
relative error = 3.7045192769688403351229540322967e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.24921916563902616034089780436544
y[1] (numeric) = 0.24921916563902616034089780436553
absolute error = 9e-32
relative error = 3.6112792436821545846645113754141e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.25550678148714945952928313092579
y[1] (numeric) = 0.25550678148714945952928313092588
absolute error = 9e-32
relative error = 3.5224114004397370183141903188570e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.26180868716562964020135145441927
y[1] (numeric) = 0.26180868716562964020135145441936
absolute error = 9e-32
relative error = 3.4376246630449946220178916802007e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.26812421486417326090582858477263
y[1] (numeric) = 0.26812421486417326090582858477272
absolute error = 9e-32
relative error = 3.3566531857479685543889000310790e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.27445269143006233359216697854263
y[1] (numeric) = 0.27445269143006233359216697854272
absolute error = 9e-32
relative error = 3.2792536859830480123272510607818e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.2807934384396295208853181084239
y[1] (numeric) = 0.28079343843962952088531810842398
absolute error = 8e-32
relative error = 2.8490694242914073156857729282069e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.28714577227065802793015728549104
y[1] (numeric) = 0.28714577227065802793015728549112
absolute error = 8e-32
relative error = 2.7860413673300944085870005919732e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.29350900417569849307146174395039
y[1] (numeric) = 0.29350900417569849307146174395046
absolute error = 7e-32
relative error = 2.3849353513562754371032694458368e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.29988244035629505022173217021171
y[1] (numeric) = 0.2998824403562950502217321702118
absolute error = 9e-32
relative error = 3.0011760572933040892371759896610e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 1.74
y[1] (closed_form) = 0.30626538203811260518779703947673
y[1] (numeric) = 0.30626538203811260518779703947682
absolute error = 9e-32
relative error = 2.9386279115541737414289128445408e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.31265712554695723849507260095631
y[1] (numeric) = 0.3126571255469572384950726009564
absolute error = 9e-32
relative error = 2.8785526586849885059968149549554e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.31905696238568151838250333497186
y[1] (numeric) = 0.31905696238568151838250333497195
absolute error = 9e-32
relative error = 2.8208129146295343713976265743692e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.32546417931196637965842003027136
y[1] (numeric) = 0.32546417931196637965842003027145
absolute error = 9e-32
relative error = 2.7652812727428452659461076511198e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.33187805841697109702457268790621
y[1] (numeric) = 0.33187805841697109702457268790629
absolute error = 8e-32
relative error = 2.4105239250100746177819637551087e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.33829787720484275530907412063943
y[1] (numeric) = 0.33829787720484275530907412063953
absolute error = 1.0e-31
relative error = 2.9559748002630533128942045434452e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.34472290867307649381547967807885
y[1] (numeric) = 0.34472290867307649381547967807895
absolute error = 1.0e-31
relative error = 2.9008806053802651640236366588327e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.35115242139371767771118065507547
y[1] (numeric) = 0.35115242139371767771118065507555
absolute error = 8e-32
relative error = 2.2782129675336263197546436262450e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.35758567959539702606005263746731
y[1] (numeric) = 0.35758567959539702606005263746739
absolute error = 8e-32
relative error = 2.2372260569975517924463631782166e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.3640219432461896037681196166385
y[1] (numeric) = 0.36402194324618960376811961663858
absolute error = 8e-32
relative error = 2.1976697142648803559403353053070e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.37046046813728846337300776717753
y[1] (numeric) = 0.3704604681372884633730077671776
absolute error = 7e-32
relative error = 1.8895403429134250023139033422172e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.37690050596748360228419822349535
y[1] (numeric) = 0.37690050596748360228419822349542
absolute error = 7e-32
relative error = 1.8572540734673123843249922864793e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO 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=133.8MB, alloc=44.3MB, time=1.53
TOP MAIN SOLVE Loop
x[1] = 1.86
y[1] (closed_form) = 0.38334130442843678178746420131093
y[1] (numeric) = 0.38334130442843678178746420131101
absolute error = 8e-32
relative error = 2.0869131261313016673264323017914e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.3897821072907426358791998941164
y[1] (numeric) = 0.38978210729074263587919989411647
absolute error = 7e-32
relative error = 1.7958751489787152427599185064104e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.39622215449076638081030758660006
y[1] (numeric) = 0.39622215449076638081030758660013
absolute error = 7e-32
relative error = 1.7666856637525878241797818842278e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.40266068221824832011047961217139
y[1] (numeric) = 0.40266068221824832011047961217147
absolute error = 8e-32
relative error = 1.9867844945595845924703975501844e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.4090969230046652248475488349816
y[1] (numeric) = 0.40909692300466522484754883498168
absolute error = 8e-32
relative error = 1.9555268079854930313062711996373e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.41553010581233855496842047205876
y[1] (numeric) = 0.41553010581233855496842047205884
absolute error = 8e-32
relative error = 1.9252515974409216376372983989422e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.42195945612427937478315210449821
y[1] (numeric) = 0.42195945612427937478315210449828
absolute error = 7e-32
relative error = 1.6589271548255801391200095030278e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.4283841960347597040071061729421
y[1] (numeric) = 0.42838419603475970400710617294219
absolute error = 9e-32
relative error = 2.1009178404120508631556248831660e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.43480354434059993528272243563156
y[1] (numeric) = 0.43480354434059993528272243563165
absolute error = 9e-32
relative error = 2.0699003301937025644260597523562e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.44121671663316183977718104381848
y[1] (numeric) = 0.44121671663316183977718104381856
absolute error = 8e-32
relative error = 1.8131679282340954161272538476086e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.44762292539103657430975438698765
y[1] (numeric) = 0.44762292539103657430975438698773
absolute error = 8e-32
relative error = 1.7872185596864418346701087334875e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.45402138007341699651755023026287
y[1] (numeric) = 0.45402138007341699651755023026296
absolute error = 9e-32
relative error = 1.9822855035030873482048874689214e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.46041128721414348883506884997581
y[1] (numeric) = 0.46041128721414348883506884997589
absolute error = 8e-32
relative error = 1.7375768627234137040113760235791e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.46679185051641238755583638407047
y[1] (numeric) = 0.46679185051641238755583638407055
absolute error = 8e-32
relative error = 1.7138259785704464089319856108311e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.47316227094813600997750173383288
y[1] (numeric) = 0.47316227094813600997750173383297
absolute error = 9e-32
relative error = 1.9020958670194781465763431579498e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.47952174683794317061922234485087
y[1] (numeric) = 0.47952174683794317061922234485096
absolute error = 9e-32
relative error = 1.8768700396483991116782322026408e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.48586947397180897675580152827024
y[1] (numeric) = 0.48586947397180897675580152827032
absolute error = 8e-32
relative error = 1.6465327476951504118626887905484e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 2.03
y[1] (closed_form) = 0.49220464569030259405062057897096
y[1] (numeric) = 0.49220464569030259405062057897103
absolute error = 7e-32
relative error = 1.4221726798581319969176819249282e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.49852645298644157490253243506312
y[1] (numeric) = 0.4985264529864415749025324350632
absolute error = 8e-32
relative error = 1.6047292881000992776895184028341e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.50483408460414124526400361679492
y[1] (numeric) = 0.504834084604141245264003616795
absolute error = 8e-32
relative error = 1.5846790547577806226626533387403e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.51112672713724755015221357109936
y[1] (numeric) = 0.51112672713724755015221357109944
absolute error = 8e-32
relative error = 1.5651695705303712495392836221296e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.51740356512914166387470180134315
y[1] (numeric) = 0.51740356512914166387470180134322
absolute error = 7e-32
relative error = 1.3529091161659913682022497268699e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.52366378117290457813949865744192
y[1] (numeric) = 0.523663781172904578139498657442
absolute error = 8e-32
relative error = 1.5276977877067538846875459990160e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.52990655601202978972933802366849
y[1] (numeric) = 0.52990655601202978972933802366855
absolute error = 6e-32
relative error = 1.1322751024548165216542516030644e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.53613106864167211930322759973159
y[1] (numeric) = 0.53613106864167211930322759973168
absolute error = 9e-32
relative error = 1.6786939848127377559541660403216e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.54233649641042060415888723506791
y[1] (numeric) = 0.54233649641042060415888723506797
absolute error = 6e-32
relative error = 1.1063242174761215890361950228164e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.54852201512258332045874243001117
y[1] (numeric) = 0.54852201512258332045874243001124
absolute error = 7e-32
relative error = 1.2761566185152376869996758571047e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.55468679914097190450250402743983
y[1] (numeric) = 0.55468679914097190450250402743991
absolute error = 8e-32
relative error = 1.4422553434459551965207498225851e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.56083002149017345813294086335604
y[1] (numeric) = 0.56083002149017345813294086335612
absolute error = 8e-32
relative error = 1.4264571605391797682314418436952e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.56695085396029744030016196146151
y[1] (numeric) = 0.56695085396029744030016196146158
absolute error = 7e-32
relative error = 1.2346749195460595508745281058592e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.57304846721118506519530710466508
y[1] (numeric) = 0.57304846721118506519530710466518
absolute error = 1.0e-31
relative error = 1.7450530927455929287727239689878e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.57912203087706864720857226069039
y[1] (numeric) = 0.57912203087706864720857226069048
absolute error = 9e-32
relative error = 1.5540766056455633950377537539644e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 2.18
y[1] (closed_form) = 0.58517071367166825428037545181639
y[1] (numeric) = 0.58517071367166825428037545181646
absolute error = 7e-32
relative error = 1.1962321142283975926219833087267e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.59119368349371295400943694006314
y[1] (numeric) = 0.59119368349371295400943694006322
absolute error = 8e-32
relative error = 1.3531944307529253154145335880534e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.59719010753287386116867291544788
y[1] (numeric) = 0.59719010753287386116867291544795
absolute error = 7e-32
relative error = 1.1721560541112391159445447909699e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.60315915237609612106998081823002
y[1] (numeric) = 0.6031591523760961210699808182301
absolute error = 8e-32
relative error = 1.3263497649807110913384165592722e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.60909998411431689052295089142194
y[1] (numeric) = 0.60909998411431689052295089142203
absolute error = 9e-32
relative error = 1.4775899252545153806421120750840e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.6150117684495563069608223428092
y[1] (numeric) = 0.61501176844955630696082234280928
absolute error = 8e-32
relative error = 1.3007881166514890136860490511269e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.62089367080236836666998790932111
y[1] (numeric) = 0.6208936708023683666699879093212
absolute error = 9e-32
relative error = 1.4495235534241284083141081611872e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.62674485641963856496723512816485
y[1] (numeric) = 0.62674485641963856496723512816495
absolute error = 1.0e-31
relative error = 1.5955456032182377141452233809858e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.63256449048271508463171550724418
y[1] (numeric) = 0.63256449048271508463171550724428
absolute error = 1.0e-31
relative error = 1.5808664808814859381212676836786e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.63835173821586025392619381887266
y[1] (numeric) = 0.63835173821586025392619381887276
absolute error = 1.0e-31
relative error = 1.5665344670242716127202054114696e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.64410576499500893214410786820847
y[1] (numeric) = 0.64410576499500893214410786820856
absolute error = 9e-32
relative error = 1.3972860497638519808753192191496e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.64982573645682041880484116738195
y[1] (numeric) = 0.64982573645682041880484116738204
absolute error = 9e-32
relative error = 1.3849866964445831017241399685957e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.65551081860801042239867047641487
y[1] (numeric) = 0.65551081860801042239867047641496
absolute error = 9e-32
relative error = 1.3729750515958942708651742387849e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.66116017793494956596420605290459
y[1] (numeric) = 0.66116017793494956596420605290467
absolute error = 8e-32
relative error = 1.2099942293843212223865305416867e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 2.32
y[1] (closed_form) = 0.66677298151351484977371776637523
y[1] (numeric) = 0.66677298151351484977371776637531
absolute error = 8e-32
relative error = 1.1998086637884933046761335598985e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.67234839711918043601427104620214
y[1] (numeric) = 0.67234839711918043601427104620223
absolute error = 9e-32
relative error = 1.3385917239577594392533659600712e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.67788559333733406659363081670191
y[1] (numeric) = 0.67788559333733406659363081670201
absolute error = 1.0e-31
relative error = 1.4751751767976770656532617755566e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.683383739673805373077787652842
y[1] (numeric) = 0.6833837396738053730777876528421
absolute error = 1.0e-31
relative error = 1.4633066927775056233022676948157e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.68884200666559228728988640533256
y[1] (numeric) = 0.68884200666559228728988640533264
absolute error = 8e-32
relative error = 1.1613693593868918494748250692922e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.69425956599177171227626993928634
y[1] (numeric) = 0.69425956599177171227626993928642
absolute error = 8e-32
relative error = 1.1523067728381599450268363104506e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.69963559058458056618207316472125
y[1] (numeric) = 0.69963559058458056618207316472132
absolute error = 7e-32
relative error = 1.0005208560289435125872137099300e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.70496925474065326608390521385946
y[1] (numeric) = 0.70496925474065326608390521385954
absolute error = 8e-32
relative error = 1.1348012620696586278243131369455e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.71025973423240167500803564238939
y[1] (numeric) = 0.71025973423240167500803564238947
absolute error = 8e-32
relative error = 1.1263485193407215133814631967781e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.71550620641952349322635327746507
y[1] (numeric) = 0.71550620641952349322635327746516
absolute error = 9e-32
relative error = 1.2578507243196463206863132267640e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.72070785036062503447619635533807
y[1] (numeric) = 0.72070785036062503447619635533815
absolute error = 8e-32
relative error = 1.1100198223173218708628668992444e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.72586384692494428900076463136181
y[1] (numeric) = 0.72586384692494428900076463136189
absolute error = 8e-32
relative error = 1.1021350676013507683569887445321e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO 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=177.1MB, alloc=44.3MB, time=2.00
TOP MAIN SOLVE Loop
x[1] = 2.44
y[1] (closed_form) = 0.73097337890416013826082418751598
y[1] (numeric) = 0.73097337890416013826082418751606
absolute error = 8e-32
relative error = 1.0944311011699512594961164303932e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.73603563112427355083220999432259
y[1] (numeric) = 0.73603563112427355083220999432267
absolute error = 8e-32
relative error = 1.0869039027064799701215535792567e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.74104979055754655538342558495466
y[1] (numeric) = 0.74104979055754655538342558495474
absolute error = 8e-32
relative error = 1.0795495932845495346522145805279e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.47
y[1] (closed_form) = 0.74601504643448475472943765471602
y[1] (numeric) = 0.74601504643448475472943765471611
absolute error = 9e-32
relative error = 1.2064099836879607038571598885629e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.75093059035584911478736783487103
y[1] (numeric) = 0.75093059035584911478736783487111
absolute error = 8e-32
relative error = 1.0653448005372880012591857681533e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.75579561640468273382279293135046
y[1] (numeric) = 0.75579561640468273382279293135056
absolute error = 1.0e-31
relative error = 1.3231090235174910345303401480528e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.76060932125833827067717317281111
y[1] (numeric) = 0.7606093212583382706771731728112
absolute error = 9e-32
relative error = 1.1832618597298496390621208138796e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.76537090430049168571272527232329
y[1] (numeric) = 0.76537090430049168571272527232338
absolute error = 9e-32
relative error = 1.1759004620414100402369152253529e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.77007956773312792500582758186272
y[1] (numeric) = 0.77007956773312792500582758186279
absolute error = 7e-32
relative error = 9.0899697814419341888158405547409e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.77473451668848415686856618655977
y[1] (numeric) = 0.77473451668848415686856618655984
absolute error = 7e-32
relative error = 9.0353532070840412449250529624280e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.77933495934093615008487426908811
y[1] (numeric) = 0.77933495934093615008487426908819
absolute error = 8e-32
relative error = 1.0265162500557395138056857889903e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.78388010701881336531724554177741
y[1] (numeric) = 0.78388010701881336531724554177748
absolute error = 7e-32
relative error = 8.9299370367004323433718080785792e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.788369174316128314976370632814
y[1] (numeric) = 0.78836917431612831497637063281408
absolute error = 8e-32
relative error = 1.0147530193503073699271794562964e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.79280137920420573245319857910483
y[1] (numeric) = 0.79280137920420573245319857910488
absolute error = 5e-32
relative error = 6.3067498760141857954177497270518e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.79717594314319707899459986846283
y[1] (numeric) = 0.79717594314319707899459986846289
absolute error = 6e-32
relative error = 7.5265693246368038703617168917063e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.80149209119346590566352832151917
y[1] (numeric) = 0.80149209119346590566352832151924
absolute error = 7e-32
relative error = 8.7337106340957327829345740142004e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.80574905212682957876566115139093
y[1] (numeric) = 0.80574905212682957876566115139099
absolute error = 6e-32
relative error = 7.4464871961842099264723273721132e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.80994605853764286985004298276112
y[1] (numeric) = 0.80994605853764286985004298276117
absolute error = 5e-32
relative error = 6.1732506100807466683079512903362e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 2.62
y[1] (closed_form) = 0.81408234695370890590416167164017
y[1] (numeric) = 0.81408234695370890590416167164022
absolute error = 5e-32
relative error = 6.1418848089630846246780366138569e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.81815715794700297166682018102335
y[1] (numeric) = 0.81815715794700297166682018102339
absolute error = 4e-32
relative error = 4.8890362458444742867396176943066e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.82216973624419465407760531177482
y[1] (numeric) = 0.82216973624419465407760531177486
absolute error = 4e-32
relative error = 4.8651754299211399929996237614439e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.82611933083695381877194311950413
y[1] (numeric) = 0.82611933083695381877194311950418
absolute error = 5e-32
relative error = 6.0523943858503170553444231371954e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.83000519509202591021771087398959
y[1] (numeric) = 0.83000519509202591021771087398963
absolute error = 4e-32
relative error = 4.8192469440585903964240689617481e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.83382658686106207057497068816867
y[1] (numeric) = 0.83382658686106207057497068816871
absolute error = 4e-32
relative error = 4.7971605403684585948543859243823e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.83758276859018957764621007075276
y[1] (numeric) = 0.83758276859018957764621007075281
absolute error = 5e-32
relative error = 5.9695592931262744436688264643611e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.84127300742930810937191425681978
y[1] (numeric) = 0.84127300742930810937191425681985
absolute error = 7e-32
relative error = 8.3207234015388371635686136630831e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.84489657534109735121653353400399
y[1] (numeric) = 0.84489657534109735121653353400403
absolute error = 4e-32
relative error = 4.7343072711416072789363866539421e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.84845274920972147348390956413067
y[1] (numeric) = 0.84845274920972147348390956413071
absolute error = 4e-32
relative error = 4.7144640685362145592619653074782e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.85194081094921601809973564199056
y[1] (numeric) = 0.85194081094921601809973564199062
absolute error = 6e-32
relative error = 7.0427427855168902363428474626396e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.8553600476115427487021785032382
y[1] (numeric) = 0.85536004761154274870217850323824
absolute error = 4e-32
relative error = 4.6763933049823469066689183692499e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.85870975149429803399069885783689
y[1] (numeric) = 0.85870975149429803399069885783693
absolute error = 4e-32
relative error = 4.6581513637632897205341193078163e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.86198922024806035219747284057325
y[1] (numeric) = 0.86198922024806035219747284057332
absolute error = 7e-32
relative error = 8.1207512061294265323868923657246e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 2.76
y[1] (closed_form) = 0.86519775698336252426551880245332
y[1] (numeric) = 0.86519775698336252426551880245337
absolute error = 5e-32
relative error = 5.7790256154075401728593341916106e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.8683346703772743048423381373205
y[1] (numeric) = 0.86833467037727430484233813732057
absolute error = 7e-32
relative error = 8.0614079326795023929515915072686e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.87139927477958098352703289221014
y[1] (numeric) = 0.87139927477958098352703289221018
absolute error = 4e-32
relative error = 4.5903182568195198870989001142670e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.87439089031854367394169731274994
y[1] (numeric) = 0.87439089031854367394169731274998
absolute error = 4e-32
relative error = 4.5746130755579875083671460649286e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.87730884300622699513340853147736
y[1] (numeric) = 0.87730884300622699513340853147743
absolute error = 7e-32
relative error = 7.9789461325996404452776879346449e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.88015246484337987855015930858659
y[1] (numeric) = 0.88015246484337987855015930858663
absolute error = 4e-32
relative error = 4.5446671568564956777755164825600e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.88292109392385526437116173029359
y[1] (numeric) = 0.88292109392385526437116173029363
absolute error = 4e-32
relative error = 4.5304161691542589212268444053497e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.88561407453855448330746636319308
y[1] (numeric) = 0.88561407453855448330746636319311
absolute error = 3e-32
relative error = 3.3874800392745987884267889202509e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.88823075727888215412093053405232
y[1] (numeric) = 0.88823075727888215412093053405236
absolute error = 4e-32
relative error = 4.5033342599552657022628737232954e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.89077049913969746303615885858054
y[1] (numeric) = 0.89077049913969746303615885858057
absolute error = 3e-32
relative error = 3.3678708521413628294423624928606e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.89323266362174772893883838304513
y[1] (numeric) = 0.89323266362174772893883838304518
absolute error = 5e-32
relative error = 5.5976457239334926601762110608281e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.89561662083357019776239212933439
y[1] (numeric) = 0.89561662083357019776239212933442
absolute error = 3e-32
relative error = 3.3496475279878500330429999422828e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.89792174759284805076035386859813
y[1] (numeric) = 0.89792174759284805076035386859817
absolute error = 4e-32
relative error = 4.4547311730929948257177398198010e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.90014742752720665444138218344586
y[1] (numeric) = 0.90014742752720665444138218344588
absolute error = 2e-32
relative error = 2.2218582632560494319846990821444e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.902293051174436124804225252772
y[1] (numeric) = 0.90229305117443612480422525277201
absolute error = 1e-32
relative error = 1.1082873781399372038251842058492e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 2.91
y[1] (closed_form) = 0.90435801608212632514784479278902
y[1] (numeric) = 0.90435801608212632514784479278906
absolute error = 4e-32
relative error = 4.4230270853669892604229721039933e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.90634172690670046514371747249282
y[1] (numeric) = 0.90634172690670046514371747249286
absolute error = 4e-32
relative error = 4.4133464026331463016987634900249e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.90824359551183351903924817659506
y[1] (numeric) = 0.90824359551183351903924817659508
absolute error = 2e-32
relative error = 2.2020524118013909748065224576012e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.91006304106624173280922930150416
y[1] (numeric) = 0.91006304106624173280922930150421
absolute error = 5e-32
relative error = 5.4941248840760907764503906327311e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.91179949014082954378212603299622
y[1] (numeric) = 0.91179949014082954378212603299626
absolute error = 4e-32
relative error = 4.3869294107437927306589749053217e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.913452376805180291735206393855
y[1] (numeric) = 0.91345237680518029173520639385503
absolute error = 3e-32
relative error = 3.2842434659730874551234886158480e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.91502114272337715767249917881028
y[1] (numeric) = 0.91502114272337715767249917881032
absolute error = 4e-32
relative error = 4.3714836884476802117857776825988e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.91650523724914082546737079100655
y[1] (numeric) = 0.91650523724914082546737079100658
absolute error = 3e-32
relative error = 3.2733037172863273119189728151392e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.91790411752027042226206760723744
y[1] (numeric) = 0.91790411752027042226206760723747
absolute error = 3e-32
relative error = 3.2683152224052964555486932280565e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.91921724855237435596456447581975
y[1] (numeric) = 0.91921724855237435596456447581979
absolute error = 4e-32
relative error = 4.3515284404196985653838420213189e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.9204441033318777323629698928495
y[1] (numeric) = 0.92044410333187773236296989284955
absolute error = 5e-32
relative error = 5.4321603907295464825121853304229e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
memory used=220.3MB, alloc=44.3MB, time=2.47
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92158416290829310028382934533761
y[1] (numeric) = 0.92158416290829310028382934533765
absolute error = 4e-32
relative error = 4.3403523638871822268584774517047e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.9226369164857413408469932282733
y[1] (numeric) = 0.92263691648574134084699322827333
absolute error = 3e-32
relative error = 3.2515499286835253596229604852547e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92360186151370958621011608151939
y[1] (numeric) = 0.92360186151370958621011608151941
absolute error = 2e-32
relative error = 2.1654352198058154078023699470391e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 3.05
y[1] (closed_form) = 0.92447850377703312424396012116335
y[1] (numeric) = 0.92447850377703312424396012116339
absolute error = 4e-32
relative error = 4.3267636658480108659280206318616e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.9252663574850883183289082336425
y[1] (numeric) = 0.92526635748508831832890823364254
absolute error = 4e-32
relative error = 4.3230794761328652165837807860290e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92596494536018364590666004579603
y[1] (numeric) = 0.92596494536018364590666004579609
absolute error = 6e-32
relative error = 6.4797269378983977919684172507936e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92657379872513603555199050764872
y[1] (numeric) = 0.92657379872513603555199050764875
absolute error = 3e-32
relative error = 3.2377345486432609064854135014762e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92709245759001976014048625171764
y[1] (numeric) = 0.92709245759001976014048625171768
absolute error = 4e-32
relative error = 4.3145642780850732555723240610314e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92752047073807522317192562449747
y[1] (numeric) = 0.92752047073807522317192562449752
absolute error = 5e-32
relative error = 5.3907166016737567432479819019497e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.9278573958107650564578114059936
y[1] (numeric) = 0.92785739581076505645781140599363
absolute error = 3e-32
relative error = 3.2332554695849456981042156503504e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92810279939196503018767213679383
y[1] (numeric) = 0.92810279939196503018767213679386
absolute error = 3e-32
relative error = 3.2324005508499840441785349688106e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92825625709127736084408432006656
y[1] (numeric) = 0.9282562570912773608440843200666
absolute error = 4e-32
relative error = 4.3091549013998962068206851687915e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.9283173536264540885326943635531
y[1] (numeric) = 0.92831735362645408853269436355313
absolute error = 3e-32
relative error = 3.2316534731151551241616501244371e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.9282856829049182830223927275049
y[1] (numeric) = 0.92828568290491828302239272750491
absolute error = 1e-32
relative error = 1.0772545762751219925194336916788e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92816084810437092714356687762585
y[1] (numeric) = 0.92816084810437092714356687762588
absolute error = 3e-32
relative error = 3.2321983911808489224278392988519e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92794246175247141716018546404701
y[1] (numeric) = 0.92794246175247141716018546404704
absolute error = 3e-32
relative error = 3.2329590719820403880459954741368e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92763014580557971230529331866802
y[1] (numeric) = 0.92763014580557971230529331866806
absolute error = 4e-32
relative error = 4.3120633994988263422482355673486e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92722353172654825984007444856789
y[1] (numeric) = 0.92722353172654825984007444856792
absolute error = 3e-32
relative error = 3.2354657721141009022757179312053e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.2
y[1] (closed_form) = 0.92672226056155191775451759602275
y[1] (numeric) = 0.92672226056155191775451759602279
absolute error = 4e-32
relative error = 4.3162878137579001292186475628241e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92612598301594419456324680648703
y[1] (numeric) = 0.92612598301594419456324680648706
absolute error = 3e-32
relative error = 3.2393001114496881238827084158011e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.925434359529128224553410714594
y[1] (numeric) = 0.92543435952912822455341071459404
absolute error = 4e-32
relative error = 4.3222946704023898199065180018932e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92464706034843099730261509017142
y[1] (numeric) = 0.92464706034843099730261509017144
absolute error = 2e-32
relative error = 2.1629874638290074926805097237843e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92376376560196946229349401198032
y[1] (numeric) = 0.92376376560196946229349401198036
absolute error = 4e-32
relative error = 4.3301113866415892345727879664690e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92278416537049723299721159540085
y[1] (numeric) = 0.92278416537049723299721159540087
absolute error = 2e-32
relative error = 2.1673540520680708915106765698068e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.9217079597582207198703406058802
y[1] (numeric) = 0.92170795975822071987034060588022
absolute error = 2e-32
relative error = 2.1698847002738624073470909280362e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.92053485896257362829735612228127
y[1] (numeric) = 0.92053485896257362829735612228128
absolute error = 1e-32
relative error = 1.0863249666905413757864246516048e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.91926458334293886560339983170486
y[1] (numeric) = 0.91926458334293886560339983170489
absolute error = 3e-32
relative error = 3.2634782785717596402006327310819e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.9178968634883070108478114135183
y[1] (numeric) = 0.91789686348830701084781141351832
absolute error = 2e-32
relative error = 2.1788940343464609565117896203967e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.91643144028386061217679655353824
y[1] (numeric) = 0.91643144028386061217679655353827
absolute error = 3e-32
relative error = 3.2735673047956137131859761808217e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.91486806497647368905192722503989
y[1] (numeric) = 0.91486806497647368905192722503991
absolute error = 2e-32
relative error = 2.1861075673806922601415026131605e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.9132064992391159306681830492192
y[1] (numeric) = 0.91320649923911593066818304921922
absolute error = 2e-32
relative error = 2.1900851578108575738984992137293e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.91144651523415119731899136172685
y[1] (numeric) = 0.91144651523415119731899136172689
absolute error = 4e-32
relative error = 4.3886283321544077892908475266093e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.90958789567552004834407236211712
y[1] (numeric) = 0.90958789567552004834407236211716
absolute error = 4e-32
relative error = 4.3975958992169039425962266984719e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 3.35
y[1] (closed_form) = 0.9076304338897961385965257208083
y[1] (numeric) = 0.90763043388979613859652572080832
absolute error = 2e-32
relative error = 2.2035400371367875714595408814437e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.90557393387610644507600588277941
y[1] (numeric) = 0.90557393387610644507600588277945
absolute error = 4e-32
relative error = 4.4170882689598801637487403791195e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.9034182103649054064823442831939
y[1] (numeric) = 0.90341821036490540648234428319392
absolute error = 2e-32
relative error = 2.2138141306584546870886285932828e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.90116308887559318093572798607285
y[1] (numeric) = 0.9011630888755931809357279860729
absolute error = 5e-32
relative error = 5.5483852609172466464100878995069e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.89880840577296835097249840671811
y[1] (numeric) = 0.89880840577296835097249840671812
absolute error = 1e-32
relative error = 1.1125841654095431521307057951279e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.89635400832250553014657702309764
y[1] (numeric) = 0.89635400832250553014657702309766
absolute error = 2e-32
relative error = 2.2312612889888543847500871720990e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.89379975474444845213206867390098
y[1] (numeric) = 0.89379975474444845213206867390101
absolute error = 3e-32
relative error = 3.3564565039042191893687736556803e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.89114551426670925111917507173854
y[1] (numeric) = 0.89114551426670925111917507173857
absolute error = 3e-32
relative error = 3.3664535723647661079816888205297e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.88839116717656477150943740333013
y[1] (numeric) = 0.88839116717656477150943740333015
absolute error = 2e-32
relative error = 2.2512605639206076132937853924821e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.88553660487114087543361267070477
y[1] (numeric) = 0.88553660487114087543361267070478
absolute error = 1e-32
relative error = 1.1292587957394661283684375881122e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.88258172990667584842210001530429
y[1] (numeric) = 0.88258172990667584842210001530432
absolute error = 3e-32
relative error = 3.3991186292936517756734714931183e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.8795264560465541366395293775808
y[1] (numeric) = 0.87952645604655413663952937758081
absolute error = 1e-32
relative error = 1.1369754634726633952642595500679e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.87637070830810178343749817577408
y[1] (numeric) = 0.87637070830810178343749817577409
absolute error = 1e-32
relative error = 1.1410696301460984156097794245732e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.87311442300813506856792046770421
y[1] (numeric) = 0.87311442300813506856792046770423
absolute error = 2e-32
relative error = 2.2906505118875643645399413422380e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 3.49
y[1] (closed_form) = 0.86975754780725399021930261927372
y[1] (numeric) = 0.86975754780725399021930261927377
absolute error = 5e-32
relative error = 5.7487284963556815019271852683973e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.86630004175287236807458386666302
y[1] (numeric) = 0.86630004175287236807458386666306
absolute error = 4e-32
relative error = 4.6173378820418801002303613429417e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.86274187532097648482692365368564
y[1] (numeric) = 0.86274187532097648482692365368565
absolute error = 1e-32
relative error = 1.1590952388024027287067538382179e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.85908303045660432401376651403474
y[1] (numeric) = 0.85908303045660432401376651403476
absolute error = 2e-32
relative error = 2.3280636784747058242194055151223e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.85532350061303760362429939797077
y[1] (numeric) = 0.85532350061303760362429939797082
absolute error = 5e-32
relative error = 5.8457414024241596299535111018670e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.85146329078969894768551081712189
y[1] (numeric) = 0.85146329078969894768551081712193
absolute error = 4e-32
relative error = 4.6977950115619855119382280344067e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.84750241756874668192178804625017
y[1] (numeric) = 0.84750241756874668192178804625022
absolute error = 5e-32
relative error = 5.8996881853666405770256916657530e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.84344090915035988459651857592372
y[1] (numeric) = 0.84344090915035988459651857592375
absolute error = 3e-32
relative error = 3.5568585391738345958313963922107e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.839278805386706469765516132928
y[1] (numeric) = 0.83927880538670646976551613292802
absolute error = 2e-32
relative error = 2.3829983399598410262451994137508e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.83501615781458722738514307855304
y[1] (numeric) = 0.83501615781458722738514307855308
absolute error = 4e-32
relative error = 4.7903264656205463651890597129039e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO 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=263.4MB, alloc=44.3MB, time=2.94
TOP MAIN SOLVE Loop
x[1] = 3.59
y[1] (closed_form) = 0.8306530296867488930064769500473
y[1] (numeric) = 0.83065302968674889300647695004732
absolute error = 2e-32
relative error = 2.4077441826152473440823318814778e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.82618949600185946913435209027272
y[1] (numeric) = 0.82618949600185946913435209027275
absolute error = 3e-32
relative error = 3.6311282272623422812658599235927e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.82162564353313917072003794951773
y[1] (numeric) = 0.82162564353313917072003794951779
absolute error = 6e-32
relative error = 7.3025958320859030369602475480219e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.81696157085564051867199326643866
y[1] (numeric) = 0.81696157085564051867199326643869
absolute error = 3e-32
relative error = 3.6721433504613507817428164622509e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.81219738837217125769372059364597
y[1] (numeric) = 0.81219738837217125769372059364601
absolute error = 4e-32
relative error = 4.9249111820180953492040254484266e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 3.64
y[1] (closed_form) = 0.80733321833785392817426215919527
y[1] (numeric) = 0.8073332183378539281742621591953
absolute error = 3e-32
relative error = 3.7159377712420050913039178351448e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.80236919488331607624821433110504
y[1] (numeric) = 0.80236919488331607624821433110509
absolute error = 5e-32
relative error = 6.2315453183956310271700707051073e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.79730546403650524149104920032299
y[1] (numeric) = 0.797305464036505241491049200323
absolute error = 1e-32
relative error = 1.2542244410784750797775218288020e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.79214218374312301800464188503733
y[1] (numeric) = 0.79214218374312301800464188503736
absolute error = 3e-32
relative error = 3.7871988912698079735210196533238e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.78687952388567264185970551879465
y[1] (numeric) = 0.78687952388567264185970551879467
absolute error = 2e-32
relative error = 2.5416851491113195472123094806931e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.78151766630111471597869945382537
y[1] (numeric) = 0.78151766630111471597869945382539
absolute error = 2e-32
relative error = 2.5591232114635401485929543733874e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.77605680479712584254694138546834
y[1] (numeric) = 0.77605680479712584254694138546835
absolute error = 1e-32
relative error = 1.2885654681700995247095539087812e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.77049714516695509291323870920928
y[1] (numeric) = 0.77049714516695509291323870920929
absolute error = 1e-32
relative error = 1.2978633422234356301351379782628e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.76483890520287340566635470001596
y[1] (numeric) = 0.76483890520287340566635470001598
absolute error = 2e-32
relative error = 2.6149297406223082989505022283836e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.75908231470821116513191771359289
y[1] (numeric) = 0.75908231470821116513191771359289
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.75322761550797937490772564536437
y[1] (numeric) = 0.75322761550797937490772564536438
absolute error = 1e-32
relative error = 1.3276199377336908364877276643575e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.74727506145807000422543690773517
y[1] (numeric) = 0.74727506145807000422543690773521
absolute error = 4e-32
relative error = 5.3527813335497508753647886165770e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.74122491845303124887490327716559
y[1] (numeric) = 0.7412249184530312488749032771656
absolute error = 1e-32
relative error = 1.3491181625235207135226863489275e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.73507746443241361313530777519592
y[1] (numeric) = 0.73507746443241361313530777519594
absolute error = 2e-32
relative error = 2.7208016797852590880400618995965e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.72883298938568288460613159157497
y[1] (numeric) = 0.728832989385682884606131591575
absolute error = 3e-32
relative error = 4.1161693332907903514355200206770e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 3.79
y[1] (closed_form) = 0.72249179535569624000198998840034
y[1] (numeric) = 0.72249179535569624000198998840036
absolute error = 2e-32
relative error = 2.7681975253647863899200850740968e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.71605419644073788684964504758801
y[1] (numeric) = 0.71605419644073788684964504758801
absolute error = 0
relative error = 0 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.70952051879511081358401691547202
y[1] (numeric) = 0.70952051879511081358401691547204
absolute error = 2e-32
relative error = 2.8188050197566487392357272828515e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.70289110062828138876366783530422
y[1] (numeric) = 0.70289110062828138876366783530423
absolute error = 1e-32
relative error = 1.4226954916716784445054271425182e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.69616629220257371899581896608258
y[1] (numeric) = 0.6961662922025737189958189660826
absolute error = 2e-32
relative error = 2.8728768146361654916815333538918e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.68934645582941084465717639641198
y[1] (numeric) = 0.689346455829410844657176396412
absolute error = 2e-32
relative error = 2.9012987346016472456237563547009e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.6824319658641000226002930853971
y[1] (numeric) = 0.68243196586410002260029308539712
absolute error = 2e-32
relative error = 2.9306950729771081593546299465761e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.67542320869915951572638867217997
y[1] (numeric) = 0.67542320869915951572638867218
absolute error = 3e-32
relative error = 4.4416596311191181385720272929743e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.66832058275618448056491012459681
y[1] (numeric) = 0.66832058275618448056491012459684
absolute error = 3e-32
relative error = 4.4888636941688426694275444670446e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.66112449847624971580797614702272
y[1] (numeric) = 0.66112449847624971580797614702275
absolute error = 3e-32
relative error = 4.5377232380805083968449594357457e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.65383537830884720708445462860523
y[1] (numeric) = 0.65383537830884720708445462860526
absolute error = 3e-32
relative error = 4.5883109105529511283811108252939e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.64645365669935657610393929830775
y[1] (numeric) = 0.6464536566993565761039392983078
absolute error = 5e-32
relative error = 7.7345064850106161775489455497958e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.6389797800750467156354021405968
y[1] (numeric) = 0.63897978007504671563540214059683
absolute error = 3e-32
relative error = 4.6949842444899537392107604443338e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.63141420682960706558880611380905
y[1] (numeric) = 0.63141420682960706558880611380908
absolute error = 3e-32
relative error = 4.7512393093961181776478762384799e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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.93
y[1] (closed_form) = 0.62375740730620715972039578715595
y[1] (numeric) = 0.62375740730620715972039578715601
absolute error = 6e-32
relative error = 9.6191242456132553561054069887718e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.61600986377908324716359481967777
y[1] (numeric) = 0.61600986377908324716359481967782
absolute error = 5e-32
relative error = 8.1167531463313171047893961478195e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.60817207043365096807720984259931
y[1] (numeric) = 0.60817207043365096807720984259933
absolute error = 2e-32
relative error = 3.2885429917456093438588730513587e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.6002445333451432381806816194103
y[1] (numeric) = 0.60024453334514323818068161941036
absolute error = 6e-32
relative error = 9.9959261045864014485713652258951e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.59222777045577267279208024296509
y[1] (numeric) = 0.59222777045577267279208024296514
absolute error = 5e-32
relative error = 8.4426976400516462289809087848173e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.58412231155041805717799035320031
y[1] (numeric) = 0.58412231155041805717799035320035
absolute error = 4e-32
relative error = 6.8478808648533247321571606209836e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.57592869823083454654489088558312
y[1] (numeric) = 0.57592869823083454654489088558315
absolute error = 3e-32
relative error = 5.2089781412448175881721802041812e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.56764748388838745582855718250515
y[1] (numeric) = 0.56764748388838745582855718250521
absolute error = 6e-32
relative error = 1.0569940271557229214194303616601e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.55927923367530967655079878512338
y[1] (numeric) = 0.55927923367530967655079878512341
absolute error = 3e-32
relative error = 5.3640468291401895675429106228385e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.55082452447448293539083546565604
y[1] (numeric) = 0.5508245244744829353908354656561
absolute error = 6e-32
relative error = 1.0892761185105786427148350389175e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.54228394486774328674109524092231
y[1] (numeric) = 0.54228394486774328674109524092236
absolute error = 5e-32
relative error = 9.2202619076606472929849996172367e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.53365809510271140936342836359004
y[1] (numeric) = 0.53365809510271140936342836359008
absolute error = 4e-32
relative error = 7.4954358168784701438011398973409e-30 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.52494758705814845531085908673153
y[1] (numeric) = 0.52494758705814845531085908673161
absolute error = 8e-32
relative error = 1.5239616672652387734388518258271e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.51615304420783837751118452419248
y[1] (numeric) = 0.51615304420783837751118452419254
absolute error = 6e-32
relative error = 1.1624459193510038200561113198352e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.50727510158299784080107547511097
y[1] (numeric) = 0.50727510158299784080107547511106
absolute error = 9e-32
relative error = 1.7741852442421648316338104258095e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 4.08
y[1] (closed_form) = 0.49831440573321499973189444168865
y[1] (numeric) = 0.49831440573321499973189444168873
absolute error = 8e-32
relative error = 1.6054121470216935291122256420604e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.48927161468591860512023895058378
y[1] (numeric) = 0.48927161468591860512023895058384
absolute error = 6e-32
relative error = 1.2263127105486428160928534503913e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.48014739790437908006622471634729
y[1] (numeric) = 0.48014739790437908006622471634735
absolute error = 6e-32
relative error = 1.2496162691263599375333377324940e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.47094243624424338498968992438793
y[1] (numeric) = 0.47094243624424338498968992438802
absolute error = 9e-32
relative error = 1.9110615878608906011967126273564e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.46165742190860567011774388638701
y[1] (numeric) = 0.46165742190860567011774388638708
absolute error = 7e-32
relative error = 1.5162758504044564353703021663182e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.45229305840161589277528604808012
y[1] (numeric) = 0.45229305840161589277528604808021
absolute error = 9e-32
relative error = 1.9898602980566650215928710630263e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.44285006048062875576214334698957
y[1] (numeric) = 0.44285006048062875576214334698966
absolute error = 9e-32
relative error = 2.0322905658480044328984202379262e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.43332915410689550202514922813642
y[1] (numeric) = 0.43332915410689550202514922813651
absolute error = 9e-32
relative error = 2.0769431077281823595504546898907e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.42373107639480127972962813799347
y[1] (numeric) = 0.42373107639480127972962813799357
absolute error = 1.0e-31
relative error = 2.3599873969788186022187536459784e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO 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=306.6MB, alloc=44.3MB, time=3.41
TOP MAIN SOLVE Loop
x[1] = 4.17
y[1] (closed_form) = 0.41405657555965097068114729520476
y[1] (numeric) = 0.41405657555965097068114729520483
absolute error = 7e-32
relative error = 1.6905902268400388003134868471905e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.40430641086400655382382805298088
y[1] (numeric) = 0.40430641086400655382382805298097
absolute error = 9e-32
relative error = 2.2260344526239186855714124892396e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.3944813525625792542247325590139
y[1] (numeric) = 0.39448135256257925422473255901397
absolute error = 7e-32
relative error = 1.7744818492756365441558010724478e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.38458218184567990652360574518817
y[1] (numeric) = 0.38458218184567990652360574518824
absolute error = 7e-32
relative error = 1.8201571290707555928837192093787e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.37460969078123114026229619032355
y[1] (numeric) = 0.37460969078123114026229619032362
absolute error = 7e-32
relative error = 1.8686115635187719183796812850697e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 4.22
y[1] (closed_form) = 0.36456468225534517278723299840531
y[1] (numeric) = 0.36456468225534517278723299840538
absolute error = 7e-32
relative error = 1.9200982269305839847534938009530e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.35444796991147117352012555015853
y[1] (numeric) = 0.3544479699114711735201255501586
absolute error = 7e-32
relative error = 1.9749019868130032041242263557274e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.34426037808811634129530244150598
y[1] (numeric) = 0.34426037808811634129530244150604
absolute error = 6e-32
relative error = 1.7428668478555639940710550458977e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.3340027417551450141455388129389
y[1] (numeric) = 0.33400274175514501414553881293898
absolute error = 8e-32
relative error = 2.3951899190889702149728993457011e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.32367590644866030836056384030922
y[1] (numeric) = 0.3236759064486603083605638403093
absolute error = 8e-32
relative error = 2.4716081242423016090390558030704e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.31328072820447296082242366576454
y[1] (numeric) = 0.31328072820447296082242366576461
absolute error = 7e-32
relative error = 2.2344176866925628437890411203514e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.30281807349016222551823826712258
y[1] (numeric) = 0.30281807349016222551823826712264
absolute error = 6e-32
relative error = 1.9813876796871321656885950667083e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.29228881913573385172238244886678
y[1] (numeric) = 0.29228881913573385172238244886683
absolute error = 5e-32
relative error = 1.7106367649588699559329251964321e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.28169385226288034760550250769287
y[1] (numeric) = 0.28169385226288034760550250769294
absolute error = 7e-32
relative error = 2.4849672592313123791746074085349e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.27103407021284890894582734713482
y[1] (numeric) = 0.27103407021284890894582734713488
absolute error = 6e-32
relative error = 2.2137438275889338990191738441778e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.26031038047292256816773948577981
y[1] (numeric) = 0.26031038047292256816773948577988
absolute error = 7e-32
relative error = 2.6890975255318865585457898632523e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.2495237006015202940923510301183
y[1] (numeric) = 0.24952370060152029409235103011837
absolute error = 7e-32
relative error = 2.8053447360412185669980740717243e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.23867495815192194753371816776908
y[1] (numeric) = 0.23867495815192194753371816776915
absolute error = 7e-32
relative error = 2.9328590038106735449777765199259e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.22776509059462417219118585593169
y[1] (numeric) = 0.22776509059462417219118585593176
absolute error = 7e-32
relative error = 3.0733419163249144420895448115352e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.21679504523833347415207026470415
y[1] (numeric) = 0.21679504523833347415207026470422
absolute error = 7e-32
relative error = 3.2288560803151913035717418856138e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 4.37
y[1] (closed_form) = 0.20576577914960291670837815082275
y[1] (numeric) = 0.20576577914960291670837815082282
absolute error = 7e-32
relative error = 3.4019262235585923863895583660725e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.194678259071119030085479961853
y[1] (numeric) = 0.19467825907111903008547996185308
absolute error = 8e-32
relative error = 4.1093443295470780689247116796605e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.18353346133864570805858216931543
y[1] (numeric) = 0.18353346133864570805858216931551
absolute error = 8e-32
relative error = 4.3588781803874150897290579784796e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.17233237179663203527350642914081
y[1] (numeric) = 0.1723323717966320352735064291409
absolute error = 9e-32
relative error = 5.2224662761682543163572760167020e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.1610759857124911603707407304847
y[1] (numeric) = 0.16107598571249116037074073048478
absolute error = 8e-32
relative error = 4.9666000581113401944980369488221e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.1497653076895575007150849835282
y[1] (numeric) = 0.14976530768955750071508498352827
absolute error = 7e-32
relative error = 4.6739796472157752534284552072101e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.1384013515787297346366194469752
y[1] (numeric) = 0.13840135157872973463661944697528
absolute error = 8e-32
relative error = 5.7802903719832481035501489621179e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.12698514038880720657137507250654
y[1] (numeric) = 0.12698514038880720657137507250661
absolute error = 7e-32
relative error = 5.5124560075038494927424838331922e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.11551770619552753933122590465757
y[1] (numeric) = 0.11551770619552753933122590465763
absolute error = 6e-32
relative error = 5.1940089511856148745744247874581e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.104000090049313415911452826877
y[1] (numeric) = 0.10400009004931341591145282687707
absolute error = 7e-32
relative error = 6.7307634028786231330401822942443e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.092433341881736660740497394609888
y[1] (numeric) = 0.092433341881736660740497394609959
absolute error = 7.1e-32
relative error = 7.6812109737242396721884632181949e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.080818520410707917069043398884685
y[1] (numeric) = 0.080818520410707917069043398884758
absolute error = 7.3e-32
relative error = 9.0325830798466319047058136478078e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.06915669304440038326420070507445
y[1] (numeric) = 0.069156693044400383264200705074512
absolute error = 6.2e-32
relative error = 8.9651481686948793993026861082853e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.057448935783916236098751186852869
y[1] (numeric) = 0.057448935783916236098751186852936
absolute error = 6.7e-32
relative error = 1.1662531095790592462735723908275e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 4.51
y[1] (closed_form) = 0.045696333124704533684744863322871
y[1] (numeric) = 0.045696333124704533684744863322934
absolute error = 6.3e-32
relative error = 1.3786664200839495584167442961751e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.033899977956739554474866976963034
y[1] (numeric) = 0.033899977956739554474866976963099
absolute error = 6.5e-32
relative error = 1.9174053765742211054793682267045e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.02206097146346869172366416331858
y[1] (numeric) = 0.022060971463468691723664163318645
absolute error = 6.5e-32
relative error = 2.9463797687982647379390575614165e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = 0.01018042301953918494372203111763
y[1] (numeric) = 0.010180423019539184943722031117698
absolute error = 6.8e-32
relative error = 6.6794866843438896738844819919655e-28 %
Desired digits = 8
Estimated correct digits = 10
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.001740549912686868810896696545408
y[1] (numeric) = -0.0017405499126868688108966965453487
absolute error = 5.93e-32
relative error = 3.4069692324111065736402463223164e-27 %
Desired digits = 8
Estimated correct digits = 9
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.01370082188781962057026258116442
y[1] (numeric) = -0.013700821887819620570262581164358
absolute error = 6.2e-32
relative error = 4.5252759657520676396159574138496e-28 %
Desired digits = 8
Estimated correct digits = 10
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.025699259583320929173969853962253
y[1] (numeric) = -0.025699259583320929173969853962199
absolute error = 5.4e-32
relative error = 2.1012278515232605439412588482889e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.03773472190656625364715255198978
y[1] (numeric) = -0.037734721906566253647152551989725
absolute error = 5.5e-32
relative error = 1.4575435360616610093647328884585e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.04980606010307889906358283302262
y[1] (numeric) = -0.049806060103078899063582833022557
absolute error = 6.3e-32
relative error = 1.2649063160108398360968571003131e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.061912117865926379963133390082163
y[1] (numeric) = -0.061912117865926379963133390082092
absolute error = 7.1e-32
relative error = 1.1467868076125881965004233738096e-28 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.074051731446268509586556443453603
y[1] (numeric) = -0.07405173144626850958655644345354
absolute error = 6.3e-32
relative error = 8.5075660986687962356742438039595e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.086223729765046668370587033536524
y[1] (numeric) = -0.086223729765046668370587033536466
absolute error = 5.8e-32
relative error = 6.7266865117115370299250548325496e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.098426934525803551330264936440523
y[1] (numeric) = -0.098426934525803551330264936440463
absolute error = 6.0e-32
relative error = 6.0958923783479645819054487700341e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.11066016032862254116243883984314
y[1] (numeric) = -0.11066016032862254116243883984307
absolute error = 7e-32
relative error = 6.3256731051287222938201440093473e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.12292221478517570215392218028141
y[1] (numeric) = -0.12292221478517570215392218028134
absolute error = 7e-32
relative error = 5.6946582131094119326163265728484e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 4.66
y[1] (closed_form) = -0.13521189863486923928886603007388
y[1] (numeric) = -0.13521189863486923928886603007382
absolute error = 6e-32
relative error = 4.4374792903416006968612398992121e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.14752800586207511734165213884477
y[1] (numeric) = -0.1475280058620751173416521388447
absolute error = 7e-32
relative error = 4.7448618037610737280203114120159e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.15986932381443738623293561517245
y[1] (numeric) = -0.15986932381443738623293561517238
absolute error = 7e-32
relative error = 4.3785760976414713885719836332461e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.17223463332224161153622184659338
y[1] (numeric) = -0.17223463332224161153622184659331
absolute error = 7e-32
relative error = 4.0642232430125603863228991554828e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.18462270881883566276927702086938
y[1] (numeric) = -0.1846227088188356627692770208693
absolute error = 8e-32
relative error = 4.3331614248224161722255320257934e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.19703231846208996700736552704464
y[1] (numeric) = -0.19703231846208996700736552704456
absolute error = 8e-32
relative error = 4.0602476093480274446887197611618e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.20946222425688519143228639814157
y[1] (numeric) = -0.20946222425688519143228639814149
absolute error = 8e-32
relative error = 3.8193044251209576177068770688254e-29 %
Desired digits = 8
Estimated correct digits = 11
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.22191118217861517570083469275032
y[1] (numeric) = -0.22191118217861517570083469275024
absolute error = 8e-32
relative error = 3.6050459113686487918004648494648e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO 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=349.8MB, alloc=44.3MB, time=3.88
TOP MAIN SOLVE Loop
x[1] = 4.74
y[1] (closed_form) = -0.23437794229769279349691401350386
y[1] (numeric) = -0.23437794229769279349691401350378
absolute error = 8e-32
relative error = 3.4132904835553510446557940336507e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.24686124890504628234122454158609
y[1] (numeric) = -0.246861248905046282341224541586
absolute error = 9e-32
relative error = 3.6457726921173426893557678833571e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.25935984063859344168927572985987
y[1] (numeric) = -0.25935984063859344168927572985978
absolute error = 9e-32
relative error = 3.4700823295697135771480157722052e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.27187245061068096157032802873513
y[1] (numeric) = -0.27187245061068096157032802873504
absolute error = 9e-32
relative error = 3.3103758691931325922943915431224e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.28439780653647600752453059794193
y[1] (numeric) = -0.28439780653647600752453059794185
absolute error = 8e-32
relative error = 2.8129612170457946393507955774265e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.29693463086329705240063957936783
y[1] (numeric) = -0.29693463086329705240063957936773
absolute error = 1.0e-31
relative error = 3.3677446012027496171244789494515e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.30948164090087081169979051793909
y[1] (numeric) = -0.30948164090087081169979051793899
absolute error = 1.0e-31
relative error = 3.2312094413390653087170197909956e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 4.81
y[1] (closed_form) = -0.32203754895250200660924176617827
y[1] (numeric) = -0.32203754895250200660924176617816
absolute error = 1.1e-31
relative error = 3.4157507519790535563974825587403e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.33460106244714254768105040289026
y[1] (numeric) = -0.33460106244714254768105040289016
absolute error = 1.0e-31
relative error = 2.9886336662722688201678796876482e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.34717088407234660229139778506942
y[1] (numeric) = -0.34717088407234660229139778506932
absolute error = 1.0e-31
relative error = 2.8804258821186484471333532160817e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.35974571190809788058371791054913
y[1] (numeric) = -0.35974571190809788058371791054904
absolute error = 9e-32
relative error = 2.5017671377551199338428842105101e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.37232423956149534756972590570914
y[1] (numeric) = -0.37232423956149534756972590570904
absolute error = 1.0e-31
relative error = 2.6858310411853641524963007883880e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.38490515630228344345357972770201
y[1] (numeric) = -0.38490515630228344345357972770191
absolute error = 1.0e-31
relative error = 2.5980426181005866576684701036424e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.39748714719921277007227302914862
y[1] (numeric) = -0.39748714719921277007227302914851
absolute error = 1.1e-31
relative error = 2.7673850783625503057655396009324e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.41006889325721707862634035367603
y[1] (numeric) = -0.41006889325721707862634035367593
absolute error = 1.0e-31
relative error = 2.4386146241352344433608719827313e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.42264907155539227262529648910407
y[1] (numeric) = -0.42264907155539227262529648910396
absolute error = 1.1e-31
relative error = 2.6026320037848096834232135256236e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.43522635538576302020801675445973
y[1] (numeric) = -0.43522635538576302020801675445962
absolute error = 1.1e-31
relative error = 2.5274204707226763551082585136556e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.44779941439282245173542686223781
y[1] (numeric) = -0.4477994143928224517354268622377
absolute error = 1.1e-31
relative error = 2.4564569864199253820638245463082e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.46036691471383030180718618647054
y[1] (numeric) = -0.46036691471383030180718618647044
absolute error = 1.0e-31
relative error = 2.1721804240029112786205573937686e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.47292751911985473964113499873053
y[1] (numeric) = -0.47292751911985473964113499873042
absolute error = 1.1e-31
relative error = 2.3259378139956058020850463176808e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.48547988715754301808959258096779
y[1] (numeric) = -0.48547988715754301808959258096769
absolute error = 1.0e-31
relative error = 2.0598175670158918937425615017215e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
NO REAL POLE (three term test) for Equation 1
NO COMPLEX POLE (six term test) for Equation 1
TOP MAIN SOLVE Loop
x[1] = 4.95
y[1] (closed_form) = -0.49802267529160595946543507368428
y[1] (numeric) = -0.49802267529160595946543507368419
absolute error = 9e-32
relative error = 1.8071466313718050541857273387849e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.51055453704800118582838145025179
y[1] (numeric) = -0.51055453704800118582838145025169
absolute error = 1.0e-31
relative error = 1.9586546146116849723938652537800e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.5230741231577998924530391899478
y[1] (numeric) = -0.52307412315779989245303918994772
absolute error = 8e-32
relative error = 1.5294199513644411275133156636424e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.53558008170172185587980631918807
y[1] (numeric) = -0.53558008170172185587980631918798
absolute error = 9e-32
relative error = 1.6804209692421549912048578739784e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO POLE (ratio test) for Equation 1
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) = -0.54807105825532326225232209669286
y[1] (numeric) = -0.54807105825532326225232209669277
absolute error = 9e-32
relative error = 1.6421228350662658795820762582480e-29 %
Desired digits = 8
Estimated correct digits = 12
Correct digits = 32
h = 0.005
NO POLE (given) for Equation 1
NO 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 ) = ( 0.2 * x + 0.3 ) * sin ( x ) ;
Iterations = 980
Total Elapsed Time = 3 Seconds
Elapsed Time(since restart) = 3 Seconds
Time to Timeout = 2 Minutes 56 Seconds
Percent Done = 100.1 %
> quit
memory used=369.6MB, alloc=44.3MB, time=4.08