pid=5180 Maxima 5.31.1-1 http://maxima.sourceforge.net using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (a.k.a. GCL) Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) display2d:false$ (%i2) linel:700$ (%i3) simpsum:true$ (%i4) logsimp:true$ (%i5) keepfloat:true$ (%i6) ratprint:false$ (%i7) load(vect)$ (%i8) load(abs_integrate)$ (%i9) setup_autoload(mnewton, mnewton)$ (%i10) setup_autoload(draw, draw2d, draw3d)$ (%i11) setup_autoload(lsquares, lsquares_mse, lsquares_estimates_approximate)$ (%i12) logb(x,y):=log(x)/log(y)$el(x,y):=x[y]$ (%i14) el(x,[y]):=if equal(length(y),1) then x[y[1]] else x[y[1],y[2]]$ (%i15) Fit(Data,vars,fun,par,init):=lsquares_estimates_approximate(lsquares_mse(Data,vars,fun),par,initial=init,iprint=[-1,0])$ (%i16) check; (%o16) check (%i17) draw2d(terminal=pngcairo, file_name="C:/Users/Davide/AppData/Roaming/SMath/extensions/plugins/44011c1e-5d0d-4533-8e68-e32b5badce41/GnuPlot/vqfvhwrw", dimensions=[332,246], font="Arial", font_size=8, xu_grid=40, yv_grid=40, xlabel="x", ylabel="y", zlabel="z", yrange=[-4.08224226592292,2.69383748233845], zrange=[-5.96703285737199,5.96703285737199],user_preamble=["set term pngcairo font ',8' enhanced size 332, 246", "set encoding iso_8859_2","set key opaque box"],(color=blue),(key="sin(x)"),explicit(sin(x),x,-2*%pi,2*%pi),(color=red),(key="cos(x)"),explicit(cos(x),x,-2*%pi,2*%pi),(color=forest_green),(key="tan(x)"),explicit(tan(x),x,-2*%pi,2*%pi),(color=magenta),(key="cot(x)"),explicit(cot(x),x,-2*%pi,2*%pi),(grid=true),(xlabel="x_1"),(ylabel="y"),(xrange=[-2*%pi,2*%pi]),(xtics=set(["0",0],["-2{/Symbol p}",-2*%pi],["-{/Symbol p}",-%pi],["{/Symbol p}",%pi],["2{/Symbol p}",2*%pi]))); Loading C:/Users/Davide/maxima/binary/binary-gcl/share/draw/grcommon.o Finished loading C:/Users/Davide/maxima/binary/binary-gcl/share/draw/grcommon.o Loading C:/Users/Davide/maxima/binary/binary-gcl/share/draw/gnuplot.o Finished loading C:/Users/Davide/maxima/binary/binary-gcl/share/draw/gnuplot.o Loading C:/Users/Davide/maxima/binary/binary-gcl/share/draw/vtk.o Finished loading C:/Users/Davide/maxima/binary/binary-gcl/share/draw/vtk.o Loading C:/Users/Davide/maxima/binary/binary-gcl/share/draw/picture.o Finished loading C:/Users/Davide/maxima/binary/binary-gcl/share/draw/picture.o Maxima encountered a Lisp error: Error in MACSYMA-TOP-LEVEL [or a callee]: Error in PROGN [or a callee]: Caught fatal error [memory may be damaged] Fast links are on: do (use-fast-links nil) for debugging Broken at PROGN. Type :H for Help. 1 (Continue) Maxima top-level 2 (Abort) Return to top level. dbl:MAXIMA>>draw2d(terminal=pngcairo, file_name="C:/Users/Davide/AppData/Roaming/SMath/extensions/plugins/44011c1e-5d0d-4533-8e68-e32b5badce41/GnuPlot/vqfvhwrw", dimensions=[332,246], font="Arial", font_size=8, xu_grid=40, yv_grid=40, xlabel="x", ylabel="y", zlabel="z", yrange=[-4.08224226592292,2.69383748233845], zrange=[-5.96703285737199,5.96703285737199],user_preamble=["set term pngcairo font ',8' enhanced size 332, 246", "set encoding iso_8859_2","set key opaque box"],(color=blue),(key="sin(x)"),explicit(sin(x),x,-2*%pi,2*%pi),(color=red),(key="cos(x)"),explicit(cos(x),x,-2*%pi,2*%pi),(color=forest_green),(key="tan(x)"),explicit(tan(x),x,-2*%pi,2*%pi),(color=magenta),(key="cot(x)"),explicit(cot(x),x,-2*%pi,2*%pi),(grid=true),(xlabel="x_1"),(ylabel="y"),(xrange=[-2*%pi,2*%pi]),(xtics=set(["0",0],["-2{/Symbol p}",-2*%pi],["-{/Symbol p}",-%pi],["{/Symbol p}",%pi],["2{/Symbol p}",2*%pi])));