[sage-support] graph_editor problems

2013-01-27 Thread Håkan Granath
If I run g = graphs.CompleteGraph(3) graph_editor(g) in the notebook, the graph editor starts but the square where the graph should be edited is just blank. This is on Sage Version 5.6 (compiled from source) Ubuntu 12.04.1 LTS, 64 bit I have tried with Firefox 18.0.1 and Google Chrome

[sage-support] QQbar and CyclotomicField

2012-03-23 Thread Håkan Granath
I was very impressed with the quick resolution of the AA minpoly issue I reported yesterday (#12727), thanks! Here is possibly another bug: -- | Sage Version 4.8, Release Date: 2012-01-20 | | Type notebook(

[sage-support] An AA field bug

2012-03-22 Thread Håkan Granath
The following code fails for me (on Ubuntu 10.10, 32 bit, Sage 4.8 compiled from source): m=sqrt(sin(pi/5)) AA(m).minpoly() I also fails on http://sagemath.org/eval.html /Håkan -- | Sage Version 4.8, Release Date: 2012-01-20

Re: [sage-support] Re: fill between

2011-10-11 Thread Håkan Granath
> I'm trying to fill in the bell curve between two points, like plus and minus > 1 sigma. Maybe like this: p = plot(f,(-pi,pi),ymax = .4, ticks=[1,[]]) p += plot(f,(-s,s),fill = 'axis') /Håkan -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group,

Re: [sage-support] commenting out

2011-04-01 Thread Håkan Granath
> In Python one can comment out a whole block of text with Alt+3, how > can I do that in Sage ? See this page: http://www.sagemath.org/doc/reference/sagenb/notebook/config.html /Håkan -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send ema

[sage-support] Re: continued_fraction returns nothing

2010-09-15 Thread Håkan Granath
On Sep 15, 3:44 am, Robert Bradshaw wrote: > On Tue, Sep 14, 2010 at 10:44 AM, Håkan Granath > > wrote: > > On Sep 14, 12:16 am, Robert Bradshaw > > wrote: > > >> Alastair correctly deduced the issue that it can't tell if the number > >> is less

[sage-support] Re: continued_fraction returns nothing

2010-09-14 Thread Håkan Granath
On Sep 14, 12:16 am, Robert Bradshaw wrote: > > Alastair correctly deduced the issue that it can't tell if the number > is less than or greater than 2, what should it do here? I do not know what it should do, but what I would have expected in this case is that continued_fraction would first compu

[sage-support] continued_fraction returns nothing

2010-09-13 Thread Håkan Granath
information.| -- sage: a=sqrt(2).n()*sqrt(2) sage: continued_fraction(a) [] In version 4.5.2 the output was [2, 2251799813685248] Best regards, Håkan Granath -- To post to this group, send email to sage-support@googlegroups.com

[sage-support] n() returns symbolic expression

2010-09-12 Thread Håkan Granath
.| -- sage: a=(sqrt(4*(sqrt(3) - 5)*(sqrt(3) + 5) + 48) + 4*sqrt(3))/ (sqrt(3) + 5) sage: a.imag().n() 0.939469338708203*sin(0.500*pi) The expected output would, of course, be 0.939469338708203 Regards, /Håkan Granath -- To post to this group, send email to

[sage-support] Re: Can Sage handle large integers?

2010-01-27 Thread Håkan Granath
> I found onhttp://www.prothsearch.net/fermat.htmlthat 84977118993*2^ > {520} + 1 | 2^{2^517}+1. Can this result be verified by Sage? sage: mod(2,84977118993*2^520+1)^(2^517)+1 0 Regards, /Håkan -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this gro

[sage-support] Jmol applets disappear

2009-01-30 Thread Håkan Granath
.04 (hardy) Firefox/3.0.5 Maybe this is a browser problem and not a Sage bug? /Håkan Granath --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegrou

[sage-support] Re: latex of acos

2008-10-07 Thread Håkan Granath
On Oct 1, 4:21 pm, pragma <[EMAIL PROTECTED]> wrote: > ive tried this but it doesnt seem to do the job: > > class c_arccos(sage.calculus.calculus.Function_arccos): >     def __init__(self): >         pass >     def _latex_(self): >         return "\\arccos" > > p_arccos = c_arccos() > > print late