在 SymPy 中,集成如下所示的大三角函数的推荐方法是什么?数值积分给出-27151.225
.
from sympy import pi, sin, cos
from sympy.abc import x, t
function = 1.55572382686041*(1.5263628489853e-9*x**(-1)*sin(10.9175359259421*pi -0.0301592300440543*pi*x)*sin(t)*x - 17456139.8613791*x**(-1)*sin(10.9175359259421*pi - 0.0301592300440543*pi*x)*cos(t)*x + 9401.13817429496*pi*cos(10.9175359259421*pi - 0.0301592300440543*pi*x)*cos(t)*x)*x**(-1)*cos(32.7526077778264*pi - 0.0904776901321629*pi*x)*cos(t) + (1162050.0*x**(-1)*sin(10.9175359259421*pi - 0.0301592300440543*pi*x)*sin(t)*x - 9.81127127213595e-10*x**(-1)*sin(10.9175359259421*pi - 0.0301592300440543*pi*x)*cos(t)*x + 3.43953078983083e-13*pi*cos(10.9175359259421*pi - 0.0301592300440543*pi*x)*cos(t)*x)*(-1.0*x**(-1)*cos(32.7526077778264*pi - 0.0904776901321629*pi*x)*sin(t) + 0.0904776901321629*pi*sin(32.7526077778264*pi - 0.0904776901321629*pi*x)*sin(t))
function.integrate( (x,362.,395.154), (t,0,2*pi) )
此类函数在此处详述的问题中生成。