[sage-support] Re: numerical_sqrt?

2009-02-28 Thread Robert Bradshaw
It's from the days before sqrt accepted a precision parameter. Should almost certainly be deprecated. Also, one has the oddness that sage: numerical_sqrt(3) sqrt(3) http://trac.sagemath.org/sage_trac/ticket/5404 - Robert On Feb 28, 2009, at 1:06 AM, Rolandb wrote: > > Hi, what is the use of

[sage-support] Re: ideals of points

2009-02-28 Thread davidp
That works. Thanks! Dave On Feb 26, 5:31 pm, Alex Raichev wrote: > Hi Dave: > > I'm also just learning the basics of interacting with Singular through > Sage.  So probably someone else on the list can answer your question > better than me.  Still, i'll take a stab at it. > > Carrying on with y

[sage-support] Re: failure to logging input

2009-02-28 Thread William Stein
On Sat, Feb 28, 2009 at 3:06 AM, Foadi, James wrote: > > I have done that. > This time I get the following message: I have to say that logging in Sage was as far as I know never designed to be something you could just read back in like you're trying to do. You might want to look into sage_sessi

[sage-support] Re: derivative

2009-02-28 Thread Loïc
Thank you very much ! Loïc Le samedi 28 février 2009 à 02:37 -0800, Rolandb a écrit : > This works: > > f=arccos((1-x^2)/(1+x^2)) > g=f.diff(x) > g.simplify_full() > 2*x/((x^2 + 1)*abs(x)) > > In general: type g. TAB and you will find all kind of handy functions. > > Roland > > On 28 feb, 10

[sage-support] Re: derivative

2009-02-28 Thread Rolandb
This works: f=arccos((1-x^2)/(1+x^2)) g=f.diff(x) g.simplify_full() 2*x/((x^2 + 1)*abs(x)) In general: type g. TAB and you will find all kind of handy functions. Roland On 28 feb, 10:58, Loïc wrote: > Hello > > Another problem: > I want the derivative for the function arccos((1-x^2)/(1+x^2))

[sage-support] simplify arctan

2009-02-28 Thread Loïc
Hello arctan(2)+arctan(5)+arctan(8)=5*pi/4. How can I simplify arctan(2)+arctan(5)+arctan(8) to get this value? Thanks in advance Loïc --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] derivative

2009-02-28 Thread Loïc
Hello Another problem: I want the derivative for the function arccos((1-x^2)/(1+x^2)) I wrote: f=arccos((1-x^2)/(1+x^2)) f.diff(x) -(-2*x/(x^2 + 1) - 2*x*(1 - x^2)/(x^2 + 1)^2)/sqrt(1 - (1 - x^2)^2/ (x^2 + 1)^2) The best answer would be: 2/(1+x^2)*sign(x) How can I simplify this expression to

[sage-support] numerical_sqrt?

2009-02-28 Thread Rolandb
Hi, what is the use of this function? It seems equivalent to sqrt. Roland --~--~-~--~~~---~--~~ 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 optio

[sage-support] Re: failure to logging input

2009-02-28 Thread Foadi, James
I have done that. This time I get the following message: -- | Sage Version 3.2.3, Release Date: 2009-01-05 | | Type notebook() for the GUI, and license() for information.| -