[sage-support] Problem compiling Sage

2011-10-06 Thread Loïc
Hello list I try to compile sage-4.7.1 under debian Squeeze It failes on python compiling; here is my error message. File "./setup.py", line 1934, in main() File "./setup.py", line 1929, in main 'Lib/smtpd.py'] File "/home/math/Téléchargements/sage-4.7.1/spkg/build/python-2.6.4

[sage-support] nested radical

2011-02-09 Thread Loïc
try to simplify with "sqrtdenest"? Best, Loïc -- 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 URL: http://www.sagemath.org

[sage-support] problem with inequation

2011-02-08 Thread Loïc
Hello, I was trying some inequations, it seems Sage blocks on some primary inequalities. For example: solve(log(x)>0,x) [[log(x)>0]] Is it a bug or a missing feature? Best, Loïc -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Re: abs(pi*i) Bug

2011-02-08 Thread Loïc
Sage implements... maxima.version() 5.22.1 On 8 fév, 15:52, Loïc wrote: > I've just compiled on my laptotp the last maxima version, > > (%i13) abs(%pi*%i); > (%o13)                                %pi > > Seems it works > > On which Maxima version is based Sage 4.6.1

[sage-support] Re: abs(pi*i) Bug

2011-02-08 Thread Loïc
I've just compiled on my laptotp the last maxima version, (%i13) abs(%pi*%i); (%o13)%pi Seems it works On which Maxima version is based Sage 4.6.1? On 8 fév, 06:04, Robert Dodier wrote: > On Feb 7, 5:05 am, Clemens Heuberger > wrote: > > > > > > > > > I encount

[sage-support] Re: help needed with cube

2011-01-30 Thread Loïc
Do you think it's better to report it as a bug? Loïc PS: A little program that draws Menger's sponge def menger(size,p,x,y,z,start): if(p>0): start+=1 newsize=size/3 graphic=menger(newsize,p-1,x+newsize,y+newsize,z,start) l=[(x+newsize,y-newsize,

[sage-support] Re: help needed with cube

2011-01-30 Thread Loïc
Thanks you very much for your reply You're right, size affects the center too. Not very intuituive but now, I know it. I think this behaviour is quite surprising. For example, with sphere, size doesn't affect center On 29 jan, 20:04, Francois Maltey wrote: > Hello, > > > I was making som

[sage-support] help needed with cube

2011-01-29 Thread Loïc
coord (2/3,2/3,0) Then I draw a cube centered on this point with size 1/3 When I display with JMol, the point is outside the cube... Is it a bug ? Perhaps I've missed something with the instruction cube() Thanks in advance Loïc -- To post to this group, send email to sage-support@google

[sage-support] Re: bug with simplify_radical

2011-01-28 Thread Loïc
With maxima 5.23.2: (%i1) radcan((2*x^2/(x^2+1)-1)/sqrt(-4*x^2/(x^2+1)^2+1) ); (%o1) 1 radcan(((2*x^2-x^2-1)/(x^2+1))/sqrt((x^2-1)^2/(x^2+1)^2)); 2 x - 1 (%o2) ! 2!

[sage-support] Re: bug with simplify_radical

2011-01-27 Thread Loïc
Thanks for your reply, what you show is very surprising. Another example in which abs() is corrrectly applied (with no common denominator) sage: h=((x^2-1)*x/(x^2+1)^2-x/(x^2+1))/sqrt(-(x^2-1)^2/(x^2 + 1)^2 + 1) sage: h.simplify_radical() -x/((x^2 + 1)*abs(x)) Best Loïc On 27 jan, 21:55

[sage-support] bug with simplify_radical

2011-01-27 Thread Loïc
Hi list, I found a problem with simplify_radical() sage: f(x)=asin(2*x/(x^2+1)) sage: g=f.derivative();g x |--> -2*(2*x^2/(x^2 + 1)^2 - 1/(x^2 + 1))/sqrt(-4*x^2/(x^2 + 1)^2 + 1) sage: g.simplify_radical() x |--> -2/(x^2 + 1) The last answer should be: x |--> -2/(x^2 + 1)* (x^2-1)/abs(x^2-1) or

[sage-support] still experimenting simplify commands

2011-01-26 Thread Loïc
Hello List I tried Sage for simplifying some trigonometric expressions. sage: a=cos(pi/11)+cos(3*pi/11)+cos(5*pi/11)+cos(7*pi/11)+cos(9*pi/11) sage: a.simplify_trig() cos(pi/11)+cos(3*pi/11)+cos(5*pi/11)+cos(7*pi/11)+cos(9*pi/11) This sum is equal to 1/2 then I try: sage: a=cos(pi/11)+cos(3*pi/

[sage-support] simplify ans sqrt

2011-01-25 Thread Loïc
I try with the command simplify() too but it doesn't do anything. That's very odd because: sage: sqrt(75)+2*sqrt(48) 13*sqrt(3) (Here it simplifies the operation) Can anyone help me ? Thanks in advance loïc -- To post to this group, send email to sage-support@googlegroups.com To unsubscr

[sage-support] bug with integrate

2009-06-26 Thread Loïc
Hello list, I found a problem with integrate, look at the following sequence: sage: integrate(sin(x)/(cos(x))^2,x) 1/cos(x) It's ok - Now I try to add an interval: sage: integrate(cos(x)/(sin(x))^2,x,pi/6,pi/4) ERROR: An unexpected error occurred while tokenizing inpu

[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. &g

[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

[sage-support] derivative

2009-02-28 Thread Loïc
get this answer? Best Loïc --~--~-~--~~~---~--~~ 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