I am getting a lisp error using bromberg; the same
request works with romberg:
-------------------------------------------------------
(%i3) Maxima 5.28.0-2 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (a.k.a. GCL)
(%i1) load(brmbrg);
(%o1)
"C:/PROGRA~1/MA81DB~1.0/share/maxima/5.28.0-2/share/numeric/brmbrg.lisp"
(%i2) [brombergtol,brombergabs,brombergit,brombergmin];
(%o2) [1.0b-4,0.0b0,11,0]
(%i3) f(x) := (mode_declare([function(f),x],float),1/(1+sqrt(x)))$
(%i4) translate(f);
(%o4) [f]
(%i5) transrun;
(%o5) true
(%i6) bromberg(f,0,1);
Maxima encountered a Lisp error:
Error in SQRT [or a callee]: ((BIGFLOAT SIMP 56) 36028797018963968 1) is
not of type NUMBER.
Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
(%i7) load(romberg);
(%o7)
"C:/PROGRA~1/MA81DB~1.0/share/maxima/5.28.0-2/share/numeric/romberg.lisp"
(%i8) romberg(f,0,1);
(%o8) 0.61372236934929
-------------------------------------------
Ted Woollett