On Wed, May 9, 2012 at 4:38 PM, Jeroen Demeyer <[email protected]> wrote:
> On 2012-05-09 22:35, Kjetil brinchmann Halvorsen wrote:
>> sage: k = var('k')
>> sage: (1/k**4).sum(k,1,00)
>> 0
>>
>> sage: sum(1/k**4,k,1,00)
>>
>>
>> Kjetil
>>
>
> Are you confusing 00 with oo for infinity:

Wow, I'm definitely going to make an exercise out of this next time I
teach an undergrad class on Sage!

William

>
> sage: var('k')
> k
> sage: sum(1/k**4,k,1,oo)
> 1/90*pi^4
> sage: sum(1/k**4,k,1,Infinity)
> 1/90*pi^4
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to