数值积分问题,求指点
为什么积分syms xs=vpa((int((sin(x))^2.5,0,pi)+int((-sin(x))^0.5*((sin(x))^2),pi,2*pi))/pi)可以得到结果,但是当我把2.5改为2.25把0.5改为0.25的时候,就出错了。提示
??? Error using ==> sym.maple at 87
Error, (in trig/reduce) too many levels of recursion
Error in ==> sym.int at 51
r = reshape(maple('map','int',f(:),[x.s '=(' a.s ')..(' b.s
')']),size(f));
Error in ==> Untitled212 at 2
s=vpa((int((sin(x))^2.25,0,pi)+int((-sin(x))^0.25*((sin(x))^2),pi,2*pi))/pi) 各位大神这是什么原因。
页:
[1]