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
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,
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
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 =
}}}
{{{
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
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
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:
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
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'];
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,
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.
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.
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
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
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:
15 matches
Mail list logo