作业帮 > 综合 > 作业

matlab 求积分时 出现如下错误,

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/07/19 16:59:56
matlab 求积分时 出现如下错误,
代码如下:gamma()为伽马函数
>> clear
>> syms t x;
>> int(int(2^(3*t)*x^(3*t-1)*exp(-2*x)/gamma(3*t),x,0,100),t,0,t)
Warning:Explicit integral could not be found.
ans =
int(piecewise([0 < Re(t),(gamma(3*t) - igamma(3*t,200))/gamma(3*t)]),t = 0..t)
请问,1.为什么出现Warning:Explicit integral could not be found.之后还能给出结果
2.这个结果好像不太对,t = 0..
程序本身没有错,只是给出了警告:求不出显示积分,即此二重积分无法用初等函数来表示,没有解析解.只能求得数值解(方法很多),但有误差.
t = 0..t表示积分区间[0,t].