求助帖,积分算不出来
mathematica吧
全部回复
仅看楼主
level 2
大佬们,求助
我想计算这个积分,但是算不出来
代码如下:
yh (分子左边那个h)= 1.05457266*10^(-34)
k(kB) = 1.380649*10^(-23)
T1=1000
T2=400
NIntegrate[(yh*x/((Exp[yh*x/(k*1000)] - 1))) - (yh*x/((Exp[yh*x/(k*400)] - 1))), {x, 0, Infinity}]
错误提示:NIntegrate::inumr: The integrand (x yh)/(-1+E^((x yh)/(1000 k)))-(x yh)/(-1+E^((x yh)/(400 k))) has evaluated to non-numerical values for all sampling points in the region with boundaries {{1,10}}.
2021年06月22日 11点06分 1
吧务
level 10
我这里报错与你的不同,报的是不收敛。考虑到10e-34量级的系数的存在,报不收敛倒是不奇怪
2021年06月22日 20点06分 2
1