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
我想计算这个积分,但是算不出来



代码如下: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}}.