On Jan 3, 4:18 pm, Robert Bradshaw <rober...@math.washington.edu>
wrote:
> On Jan 3, 2009, at 4:10 PM, calcp...@aol.com wrote:
>
>
>
> > sage: plot(x^2*log(x,2)-1, 0,2)
> > [nice plot so you can understand what is going on]
>
> > sage: find_root(x^2*log(x,2)-1,1, 2)
> > 1.4142135623730951
> > <<
>
> > Hi, I'm trying out SAGE for the first time, so I entered what you
> > suggested (see above).
>
> > Now, from the plot, it there seems to be no other roots between 0  
> > and 2
> > so I entered
>
> > sage: find_root(x^2*log(x,2)-1,0, 2)
> > and got the root = 0.0
>
> > what am I missing here?
>
> This function is not defined at the left endpoint, so you are  
> probably violating some assumption on the underlying optimization  
> algorithm used. However, I would much rather have an error here than  
> an incorrect value.
>
> - Robert

Since no one opened a ticket yet I made this 
http://trac.sagemath.org/sage_trac/ticket/4942
and it is a blocker for 3.3.

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to