From: SourceForge.net <no...@so...> - 2006-09-06 11:38:28
|
Bugs item #1552789, was opened at 2006-09-05 11:08 Message generated for change (Comment added) made by willisbl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1552789&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lisp Core - Integration Group: None Status: Open Resolution: None Priority: 5 Submitted By: Raymond Toy (rtoy) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(1/(sin(x)^2+1),x,1,1+%pi) takes forever Initial Comment: This is a follow-on to Bug [ 1044318 ] defint(1/(sin(x)^2+1),x,0,3*%pi) wrong. integrate(1/(sin(x)^2+1),x,1,1+%pi) seems to take forever. But if the limits are 0 and %pi, the integral is evaluated instantly with the correct value. ---------------------------------------------------------------------- >Comment By: Barton Willis (willisbl) Date: 2006-09-06 06:38 Message: Logged In: YES user_id=895922 ldefint gives a wrong answer (basically bug 1044318) (%i10) ldefint(1/(sin(x)^2+1),x,1,1+%pi); (%o10) 0 integrate gives an antiderivative that isn't continuous at odd integer multiples of %pi / 2 (%i11) integrate(1/(sin(x)^2+1),x); (%o11) atan((2*tan(x))/sqrt(2))/sqrt(2) The expression atan(2*tan(x)/sqrt(2))/sqrt(2)+sqrt(2)*%pi*floor(x/%pi-1/2)/2 might be a valid antiderivative on all of R provided the first term is assumed left continuous at each odd integer multiple of %pi/2, I think. Barton ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1552789&group_id=4933 |