大佬们,请问这种没有解析解的方程用mma应该怎么求解?
mathematica吧
全部回复
仅看楼主
level 2
如图,没有解析解,找了一晚上也不知道用什么代码去计算,P是误差函数Erf
2021年06月01日 13点06分 1
吧务
level 10
考虑NIntegrate FindRoot
2021年06月01日 16点06分 2
谢谢,我试试
2021年06月02日 07点06分
可以了,积出来了,非常感谢
2021年06月02日 08点06分
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分 3
1