Troubles with Integrate

*To*: mathgroup at smc.vnet.net*Subject*: [mg70225] Troubles with Integrate*From*: "Roman V. Kiseliov" <unicorn at kurskline.ru>*Date*: Sat, 7 Oct 2006 07:09:35 -0400 (EDT)

If I try to do following calculation Mathematica 5.2.0.0 can't evaluate integrals. psi:= (-Pi^(-1))*((Sin[Pi*((t - 5/4)/3)]/(t - 5/4))*Cos[Pi*(t - 5/4)] + (Sin[Pi*(t + 1/4)]/(t + 1/4))*Cos[Pi*(t + 1/4)]) + (1/Pi)*((Sin[2*Pi*((t - 7/8)/3)]/(t - 7/8))*Sin[2*Pi*(t - 7/8)] - (Sin[2*Pi*((t - 1/8)/3)]/(t - 1/8))*Sin[2*Pi*(t - 1/8)]); Integrate[psi*psi, t] Integrate[psi*psi, {t, -inf, +inf}] If I try to interrupt calculation, Mathematica sometimes says 'Mathematica has detected a possible internal error. If possible, report the error to support at wolfram.com, quoting "Assertion 'interruptMenuType != 0' failed at KernelPackets.c:726", and describe in as much detail as possible what you were doing when the error occurred.' Note also that Integrate[psi, {t, -inf, +inf}] in Mathematica 4.2.0.0 evaluates as 0 but Mathematica 5.2.0.0 give value -1/2 Roman V. Kiseliov Kursk State University Theor. Phys. Dept.