[sage-support] Re: Find_root bug

2008-08-29 Thread kcrisman
> This is actually a problem with how the symbolic functions/expressions > are handled. The find_root function cannot recognize that 1/z is a > function. This works: > > sage: z = 1/tan > sage: f = lambda x: z(x) > sage: find_root(f,1, 2) > 1.5707963267948968 > > and this: > > sage: find_root(z(x)

[sage-support] Re: Find_root bug

2008-08-29 Thread Burcin Erocal
On Thu, 28 Aug 2008 13:36:53 -0700 (PDT) kcrisman <[EMAIL PROTECTED]> wrote: > > The reciprocal of tangent is not a constant function, but Sage says > otherwise. This is now http://trac.sagemath.org/sage_trac/ticket/3980 > . > > (Incidentally, using z(x)=tan(x) also doesn't work, as it yields