[sage-support] Re: Simple continued fractions in Pari

2008-04-28 Thread bill.p
On Apr 24, 5:50 pm, William Stein [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 9:47 AM, John Cremona [EMAIL PROTECTED] wrote: 2008/4/24 William Stein [EMAIL PROTECTED]: On Thu, Apr 24, 2008 at 7:35 AM, bill.p [EMAIL PROTECTED] wrote: I needed to derive some continued

[sage-support] Simple continued fractions in Pari

2008-04-24 Thread bill.p
I needed to derive some continued fractions and a quick search of the index suggests that the Pari-GP function 'contfrac' might be what I needed. A simple test in the notebook: gp('contfrac(sqrt(6))') produced [2, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2,

[sage-support] Re: Another possible bug in parametric_plot/show

2008-02-16 Thread bill.p
Just a brief note to re-raise this problem. No-one seems interested... a pity as I still haven't been able to figure out how to work around it. Bill --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

[sage-support] Re: Odd behaviour of parametric_plot

2008-02-16 Thread bill.p
On Feb 12, 10:07 am, bill purvis [EMAIL PROTECTED] wrote: I wanted to make a plot of x^3+y^3=1729 (the well-known taxicab problem). I'm sure there are better ways of acieving this but I opted for a naive approach: {{{ def sng(x): if x 0: return -1 return 1 def f(x): y3 =

[sage-support] Re: Another possible bug in parametric_plot/show

2008-02-16 Thread bill.p
}}} {{{ g = (c+d+e+f) g.set_aspect_ratio(1) g.show() }}} (Oh, and the print window shows the graph, but it doesn't get printed) Bill On Feb 16, 2:46 pm, Carl Witty [EMAIL PROTECTED] wrote: On Feb 12, 3:47 am, bill.p [EMAIL PROTECTED] wrote: The Notebook is getting rather long now, so I've saved

[sage-support] Warnings from JsMath

2008-01-24 Thread bill.p
I find the warning messages that appear at the top of the notebook saying that JsMath isn't available annoying. There's an awful lot of disk space full of the JsMath stuff so it's definitely there. I find it especially annoying when I try to print something - I get a big red box at the top of my

[sage-support] Trying to plot symbolic algebra

2008-01-23 Thread bill.p
I'm probably trying to do something stupid here, but I'm interested in the expression sin(a)+sin(b)+sin(c) where a,b,c are the angles of a triangle, i.e. c=pi-a-b. This of course can be simplified to sin(a)+sin(b)+sin(a+b). I thought it might be interesting to plot this and so I entered:

[sage-support] Re: Trying to plot symbolic algebra

2008-01-23 Thread bill.p
Thanks, William, that's great! --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at

[sage-support] Re: Sage LAN server

2008-01-13 Thread bill.p
I now have notebook working under 2.10.alpha1 (thanks Michael), and find the same behaviour - it seems to create the entry for bill in nb.sobj (or wherever) and I can display it, {{{ nb.users() | {'admin': admin, 'bill': bill, '_sage_': _sage_, 'guest': guest }}} {{{ u=nb.users()['bill'];

[sage-support] Comments (in notebook in particular)

2008-01-08 Thread bill.p
This may appear to be a trivial question, but I want to add some explanatory comments to a notebook session. I can't find anything in the tutorial or the sage reference manual that helps me. Can you give me a pointer? --~--~-~--~~~---~--~~ To post to this group,

[sage-support] Re: Comments (in notebook in particular)

2008-01-08 Thread bill.p
OK, thanks. I found adding text beginning with '#' seemed to be OK within the cells, provided it preceded the sage expressions, though putting '?' in a comment produced an error - presumably this is generated by the pre-processing in sage. I've moved my comments outside the cells.

[sage-support] Re: Can't find my way around Sage source code

2007-12-27 Thread bill.p
Thanks for the help so far. I've been able to make some minor changes to the code and checked the behaviour. I'm still a bit stuck on how it all ties together. I have added a new routine to the C++ code, but so far I've been unable to trace how the existing code is invoked from the Python code.

[sage-support] Re: Can't find my way around Sage source code

2007-12-26 Thread bill.p
OK, I'll give that a try! Many thanks, Bill --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at

[sage-support] Re: Can't find my way around Sage source code

2007-12-23 Thread bill.p
Mike, thanks for the info. I'd never have figured that out. Thanks for the supplementary advice on how to set about the work, too. Bill On Dec 23, 6:36 pm, Mike Hansen [EMAIL PROTECTED] wrote: Hello Bill, sage: E = EllipticCurve('5077a'); E Elliptic Curve defined by y^2 + y = x^3 - 7*x + 6

[sage-support] Re: Can't find my way around Sage source code

2007-12-23 Thread bill.p
Mike, Many thanks for the info. I should have spotted the info when I looked at some other bits. I did try: On Dec 23, 6:36 pm, Mike Hansen [EMAIL PROTECTED] wrote: Hello Bill, sage: E = EllipticCurve('5077a'); E Elliptic Curve defined by y^2 + y = x^3 - 7*x + 6 over Rational Field sage: