Opened 4 years ago

#18821 new defect

integral with sqrt(cos)*sin unsolved

Reported by: rws Owned by:
Priority: major Milestone: sage-6.8
Component: calculus Keywords: Maxima
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

F = lambda z: (2/pi)*integral((4*cos(x)^2-1)^z*sin(x)^2,x,0,pi)
print F(1/2)
...
RuntimeError: ECL says: Error executing code in Maxima:

sage: a=numerical_integral(real(2/pi*(4*cos(x)^2-1)^(.5)*sin(x)^2),0,pi)
sage: b=numerical_integral(imag(2/pi*(4*cos(x)^2-1)^(.5)*sin(x)^2),0,pi)
sage: a[0]+b[0]*i
0.483843757993525*i + 0.3697166887548152

http://ask.sagemath.org/question/27235/problem-with-integral/

Change History (0)

Note: See TracTickets for help on using tickets.