You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With sympy 1.0, I seem to getting different results when doing an integral with respect to a function or a variable. Maybe I'm doing something wrong here but this:
import sympy as sy
from IPython.display import display
x,y,a,b,t = sy.var("x y a b t", real=True)
f = sy.var("f", cls=sy.Function)
I = sy.integrals.Integral(y*x/(1+sy.exp(-a*(x-b))), x)
display(I)
display(I.doit())
I = sy.integrals.Integral(y*f(t)/(1+sy.exp(-a*(f(t)-b))), f(t))
display(I)
display(I.doit())
Outputs this:
The solution of this type of integral should be:
I get that this type of integral isn't supported yet, but it seems wrong that the function variant returns an answer.
The text was updated successfully, but these errors were encountered:
With sympy 1.0, I seem to getting different results when doing an integral with respect to a function or a variable. Maybe I'm doing something wrong here but this:
Outputs this:
The solution of this type of integral should be:
I get that this type of integral isn't supported yet, but it seems wrong that the function variant returns an answer.
The text was updated successfully, but these errors were encountered: