Hi all, I have a question about the function simpson and traprule of the share folder (numeric section). I have an example: (%i1) load("simpsn.mac"); (%o1) simpsn.mac (%i2) simpson(x^2,0,5,7); f evaluates to x^2 Improper name or value in functional position. #0: simpson(f=x^2,a=0,b=5,n=7)(simpson-max.mac line 6) -- an error. Quitting. To debug this try debugmode(true); I don't understand this behavior. The same way, i get an error with the function traprule with several functions. Some explain about this ?? (in the documentation files don't exists information). However, i have re-written the code of simpson and traprule functions. I send an attach file. The code has been "tested" in the CVS version under CLisp and Debian GNU/Linux Sarge. Bye, Juan Pablo Romero Bernal Grupo Linux Universidad Distrital - Linux Group Distrital University Universidad Distrital Francisco Jose de Caldas Bogota - Colombia Visita el sitio del Software Libre en Colombia: http://www.el-directorio.org Visit the Free Software site in Colombia: http://www.el-directorio.org
Attached file: simpsn.mac