[sage-support] Re: Inert Integrals and Derivatives?

2008-08-30 Thread Jason Merrill
On Aug 30, 7:46 pm, Robert Dodier <[EMAIL PROTECTED]> wrote: > From the direction this discussion has taken I'm guessing that > nobody here is aware that selective evaluation is trivial in Lisp, > and Maxima. In both cases a single quote marks stuff that > isn't evaluated. Maxima further marks a d

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-30 Thread Tim Lahey
On Aug 30, 2008, at 7:46 PM, Robert Dodier wrote: This kind of stuff yanks my chain in a bad way, unfortunately. I gather it is more interesting to reinvent the wheel than learn how to use existing, unfamiliar wheel technology. What makes it worse is that there is talk of copying Maple and Math

[sage-support] Notebook Trouble: ** Message: GetValue variable

2008-08-30 Thread Cody Gunton
Hello, I had a computer freeze-up while using Sage notebook, and now it is acting funky. Between sessions, it will forget the names I have given to worksheets and will resurrect worksheets that I have thrown out. It also sometimes creates duplicate worksheets. I have tried cleaning out all of the

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-30 Thread Ondrej Certik
> This kind of stuff yanks my chain in a bad way, unfortunately. > I gather it is more interesting to reinvent the wheel than learn > how to use existing, unfamiliar wheel technology. What makes > it worse is that there is talk of copying Maple and Mathematica > notation, which both have all sorts

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-30 Thread Robert Dodier
Robert Bradshaw wrote: > On Fri, 29 Aug 2008, Jason Grout wrote: > > Jason Merrill wrote: > >> The Mathematica syntax is Hold[Integral[x,{x,0,1}]]. This remains > >> unevaluated until it is wrapped with an Evaluate[]. The nice thing > >> about this syntax is that it works for any kind of expres

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-30 Thread Ondrej Certik
> Btw, as usual, I would learn from what Mathematica is doing, because > the Hold(...) stuff seams really simple to me. So maybe the evaluate > keyword should be used in Python. We use the "evaluate" keyword > inconsistently in sympy so far. Here is Mathematica's documentation for Hold: http://r

[sage-support] Re: Inert Integrals and Derivatives?

2008-08-30 Thread Ondrej Certik
On Fri, Aug 29, 2008 at 11:46 AM, David Joyner <[EMAIL PROTECTED]> wrote: > > On Fri, Aug 29, 2008 at 3:07 AM, Burcin Erocal <[EMAIL PROTECTED]> wrote: >> >> On Thu, 28 Aug 2008 15:28:03 -0400 >> Tim Lahey <[EMAIL PROTECTED]> wrote: >> >>> Hi, >>> >>> Maple has a really useful feature of inert inte

[sage-support] Re: convert string to sage expression

2008-08-30 Thread geir egeland
Thank you for all the help. With your input, I managed to do what I wanted in Sage, and can now finish my paper before the deadline:) regards, Geir Egeland phone +47 906 40 507 email: [EMAIL PROTECTED] PhD Candidate University of Stavanger and Research Scientist Telenor R&I On 30 Aug 2008, at

[sage-support] Re: Infinite sum

2008-08-30 Thread Raouf
Hi, Thank u everybody for your help. i'm going to use Maxima and Maple to compute my expression. Raouf --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

[sage-support] Re: Infinite sum

2008-08-30 Thread Mike Hansen
On Sat, Aug 30, 2008 at 11:15 AM, Robert Dodier <[EMAIL PROTECTED]> wrote: > Dunno if it matters but maybe you can handle this directly in Maxima. > > foo : sum (1/(k + m)^3, k, 1, inf); > > load (simplify_sum); > simplify_sum (foo); > => -psi[2](m+1)/2 > > ev (%, m=2); > => zeta(3)-9/8 > > ev (

[sage-support] Re: Infinite sum

2008-08-30 Thread Robert Dodier
Raouf wrote: > I am a newbie in sage and i want to compute an infinite sum with > parameter m, like sum(1/(k+m)^3) k=1 to infinity. Dunno if it matters but maybe you can handle this directly in Maxima. foo : sum (1/(k + m)^3, k, 1, inf); load (simplify_sum); simplify_sum (foo); => -psi[2](m+1

[sage-support] Re: Infinite sum

2008-08-30 Thread Ondrej Certik
On Sat, Aug 30, 2008 at 4:34 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > On Sat, Aug 30, 2008 at 6:06 AM, tkeller <[EMAIL PROTECTED]> wrote: >> >> I asked this question myself a few months ago, and the easiest 2 >> solutions seem to be utilizing sympy or maxima. >> >> Via sympy it is: >> import

[sage-support] Re: Infinite sum

2008-08-30 Thread Ondrej Certik
On Sat, Aug 30, 2008 at 6:06 AM, tkeller <[EMAIL PROTECTED]> wrote: > > I asked this question myself a few months ago, and the easiest 2 > solutions seem to be utilizing sympy or maxima. > > Via sympy it is: > import sympy > sympy.var('x') > print sympy.sum(2**(-x), (x, 1, oo)) > > I'm taking this

[sage-support] Re: Infinite sum

2008-08-30 Thread Raouf
Hi Thank u Thomas for these idea. In fact i divide the expression that i want to estimate into 2 part, the first( where we found the infinite sum with parameters) i can calculate it with Maple but i don't know how to use Maple into the Sage's notebook. And the second part of expression i must do i