Integration is wrong
GoldenMan123 opened this issue · 5 comments
GoldenMan123 commented
Hello!
Recently I've found that interation of function f = (sqrt(1 + x * sin(x)) - 1) / (exp(x ** 2) - 1) on (0, 1) results in -pi/2 but the correct answer is pi/2. This function is positive on that interval.
Also I can see that sympy.plotting.plot(sympy.diff(sympy.integrate(f))) and sympy.plotting.plot(f) visually differ by a sign.
Wolfram Alpha: https://www.wolframalpha.com/input/?i=integrate+1+%2F+%28%282+-+x%29+*+sqrt%281+-+x%29%29+from+0+to+1
GoldenMan123 commented
RajMukherjee1601 commented
good morning sir ,I can solve this problem can u assign me this problem ??
RajMukherjee1601 commented
Just need to change the value 0 in place of 1 and 1 in place of 0
RajMukherjee1601 commented
oscarbenjamin commented
This issue should be opened on the sympy repo. This repo is for the website.