On Apr 28, 5:39 pm, "bill.p" <[EMAIL PROTECTED]> wrote:
> 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 &l
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
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, 4,
;Graphics' object is not callable
}}}
{{{
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 PROTECTE
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
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 gr
I've worked around my previous problem by splitting the curve and
reflecting about
the line X=Y. However, I am now adding straight lines through various
points, using
parametric_plot with a predefined function to compute the y coordinate
from the
two given points and a given value for X. When I ru
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 o
I have some longish expressions in my notebook.
When I try to print them out they get truncated.
Is there a convention for splitting lines so that they will be treated
as
a single logical line so that I can make them fit into the paper
width?
--~--~-~--~~~---~--~~
Thanks, Harald. That worked just right!
--~--~-~--~~~---~--~~
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
http://groups.google.com/group/sag
William,
On Jan 23, 7:42 pm, "bill.p" <[EMAIL PROTECTED]> wrote:
> Thanks, William, that's great!
Only trouble is it won't print!
It just omits the plot
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@go
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
http://groups.google.com/group/sage-support
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:
var('a')
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']; u.accoun
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.
--~--~
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, sen
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. I'
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
http://groups.google.com/gr
OK, I've done all that and figured out how to tackle the Python bits.
Now I'm having trouble recompiling the C++ source in the cremona...
package.
I unpacked the source into $(SAGE_ROOT)/spkg/build/
cremona-20071124.p4,
ran 'sage -sh' to set up the environment, and typed make.
I'm including the fi
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
>
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
21 matches
Mail list logo