Sympy and wolframalpha have produced different result. Have done anything obviously wrong here?
import sympy as smp
smp.init_printing()
In [2]:
a,R,t = smp.symbols('a,R,t',real=True)
In [3]:
f = t**2/(1+t**2/a**2);f
Out[3]:
In [4]:
I=smp.Integral(f,t); I
Out[4]:
In [5]:
I.doit()
Out[5]:
a2t
Wolframalpha gives however