[sage-support] Re: Having trouble with syntax and nesting integral into limit

2014-06-06 Thread kcrisman
On Thursday, June 5, 2014 11:24:39 PM UTC-4, Robert Dodier wrote: > > On 2014-06-06, kcrisman > wrote: > > > lim(1/n^2*integrate(sin((2*n+1)*x)/sinh(x),x,0,pi/2),n=infinity) > > I couldn't make any progress with the integral (in Maxima). > Computing the integral numerically with quad_qawo (sam

[sage-support] Re: Having trouble with syntax and nesting integral into limit

2014-06-05 Thread James Hozier
Mathematica provides an answer of -3*pi/2, but that answer is incorrect. I wanted to see if Sage could compute the correct solution On Thursday, June 5, 2014 11:24:39 PM UTC-4, Robert Dodier wrote: > > On 2014-06-06, kcrisman > wrote: > > > lim(1/n^2*integrate(sin((2*n+1)*x)/sinh(x),x,0,pi/2),n=

[sage-support] Re: Having trouble with syntax and nesting integral into limit

2014-06-05 Thread Robert Dodier
On 2014-06-06, kcrisman wrote: > lim(1/n^2*integrate(sin((2*n+1)*x)/sinh(x),x,0,pi/2),n=infinity) I couldn't make any progress with the integral (in Maxima). Computing the integral numerically with quad_qawo (same function should be in Sage somewhere) suggests that it's pi/2 as n increases witho

[sage-support] Re: Having trouble with syntax and nesting integral into limit

2014-06-05 Thread kcrisman
On Thursday, June 5, 2014 9:49:15 PM UTC-4, James Hozier wrote: > > > > > > > I'm >