Re: plot2d, and again



Robert Wappler wrote:
> Hi list,
> unfortunately there are many function plot2d refuses to visualize when there is
> a singularity (hope translation fits) in the end points of the
> specified intervals. My current example is plot2d(-ln(x)/x, [x, 0,
> 1]). Are there currently any workarounds? for this behaviour?
> 
What version of maxima?

The current CVS version plots this fine, assuming that it's -log(x)/x 
instead of -ln(x)/x.  There's not much to see on the plot though, 
because the singularity dominates the whole plot.

There is a bug, though, if you really meant ln(x).  plot2d spends a huge 
amount of time computing something and then plots nothing.  Probably 
because ln(x) isn't defined, and plot2d doesn't catch that because it's 
assuming any errors are caused by the function being singular there or 
undefined at some point.

Ray