[sage-support] odd behavior of analytic rank of sha

2011-10-28 Thread Andrei Jorza
Hello, I noticed something I find odd in sha().an() sage: E=EllipticCurve([0,0,0,-3,1]) sage: E.is_minimal() True sage: E.rank() 1 sage: E.lseries().deriv_at1(1000)[0] 2.61683934093655 sage: E.sha().an() * E.period_lattice().basis()[0] * E.regulator() *

Re: [sage-support] odd behavior of analytic rank of sha

2011-10-28 Thread William Stein
On Fri, Oct 28, 2011 at 12:01 AM, Andrei Jorza ajo...@gmail.com wrote: Hello, I noticed something I find odd in sha().an() sage: E=EllipticCurve([0,0,0,-3,1]) sage: E.is_minimal() True sage: E.rank() 1 sage: E.lseries().deriv_at1(1000)[0] 2.61683934093655 sage: E.sha().an() *

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-28 Thread kcrisman
On Oct 27, 8:09 pm, Jason Grout jason-s...@creativetrax.com wrote: On 10/27/11 6:51 PM, Eric Kangas wrote: Hi, I am working on a standard plot function for multiple plots. I would like to have each plot in a different color to distinguish each function, and also able to show a legend

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-28 Thread Jason Grout
On 10/28/11 12:15 PM, kcrisman wrote: On Oct 27, 8:09 pm, Jason Groutjason-s...@creativetrax.com wrote: On 10/27/11 6:51 PM, Eric Kangas wrote: Hi, I am working on a standard plot function for multiple plots. I would like to have each plot in a different color to distinguish each

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-28 Thread kcrisman
Try something like: colors=rainbow(len([0,1,..3])) sum(plot(derivative((f(x), a) , (x,0,2*pi), color = colors[i],label=Plot %d%i) for i,a in enumerate([0,1,..3])) Make each curve an individual plot, and then sum them together. Though for years I've wanted to do

[sage-support] Solving a non linear inequality

2011-10-28 Thread Nicolas Essis-Breton
How can I ask Sage to solve the following non linear inequality $$\sum_\limits_{i=1}^{n}a_{i}u^{sum_\limits_{j=1}^{i}y_j} c$$ $$y_j in \{0,1\}, j=1,2,\dots,n$$ $$a_i \in \mathbd{R}, i=1,2,\dots,n$$ $$n \in \mathbd{N}, u0, c 0$$ where the $y_j$ are variable and all other terms constant. I'm new

[sage-support] latex rendering too small

2011-10-28 Thread rych
How to make %latex cells to render in larger fonts? And by the way, why is it that the whole cell is rendered as one png image? Perhaps it's more conventional to add latex fragments into a Text cell? How shall I do it? Thanks Igor -- To post to this group, send email to

[sage-support] Re: latex rendering too small

2011-10-28 Thread kcrisman
Perhaps it's more conventional to add latex fragments into a Text cell? How shall I do it? If you, in the notebook, hover the mouse over a blue line (the ones that let you make new cells), and then hold down Shift before clicking (we call it Shift-Click), you will get a nice text area. Word