Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3942 by [email protected]: pproblem with integration
http://code.google.com/p/sympy/issues/detail?id=3942

The following is todays version of sympy from git:

In [5]: integrate( (exp(t*x)-1)/x, (x,0,1))
Out[5]: zoo + Ei(t) - Ei(0)

The result, using the value zoo which I understand means 1/0, is wrong, sine this integral is perfectly convergent. Wolphram alpha gives the result
ntegrate [e^[tx] - 1] / x, x=0..1

result:

Definite integral:
Chi(t)+Shi(t)- log(t) - gamma where

RawBoxes[TemplateBox[{x}, CoshIntegral]] is the hyperbolic cosine integral »
RawBoxes[RowBox[{log, RowBox[{(, x, )}]}]] is the natural logarithm »
RawBoxes[TemplateBox[{x}, SinhIntegral]] is the hyperbolic sine integral »
EulerGamma is the Euler‐Mascheroni constant »

(But I am really not sure Wolphrams result is correct either, since it seems to have the wrong limit when $t \rightarrow 0$.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to