[sage-support] Re: problem with a couple definite integrals

2009-10-19 Thread Jim Clark
Thanks for the response, kcrisman. The questions you ask are exactly what I've been pondering myself. After much additional messing around, I found the problem (and its solution): the factor in front should be 2/a, not a/2: sage: var('a, n, x') (a, n, x) sage: assume(a>0) sage: assume(n,'int

[sage-support] Re: problem with a couple definite integrals

2009-10-19 Thread kcrisman
On Oct 19, 1:02 am, Jim Clark wrote: > Hi sage supporters, > > I am attempting to verify some properties of the quantum mechanics   > "particle in a box" problem. > integral() is returning the wrong results for and . > I can't figure out what I might be doing wrong. > > To find : > ---