你确定程序正确,前五个语句都通不过!<br>T=970,大于870,根本不会继续运行。<br>================================================<br>anyway,I show you how the numerical integrate works in MATLAB<br>digits(4)<br>vpa(ft)<br>ans =<br>9.750/T^(1/2)*exp(-17.24/T)*exp(-.4587e9/T/(.2085e5-466.4*T-.4630e-1*T^2+71.15*T*log(T)-8.314*T*log(-12.+12.*exp(150.3/T))/(13.-12.*exp(150.3/T)))^2)<br>str=vectorize('9.750/T^(1/2)*exp(-17.24/T)*exp(-.4587e9/T/(.2085e5-466.4*T-.4630e-1*T^2+71.15*T*log(T)-8.314*T*log(-12.+12.*exp(150.3/T))/(13.-12.*exp(150.3/T)))^2)');<br>fff=inline(str,'T');<br>ff=quadl(fff,.5,100)<br>ff =<br> 77.2998<br>不能用0做积分下限,会出现除零警告以及不能得到结果。<br>BTW:这个式子个人感觉离“复杂”二字还远...
[此贴子已经被作者于2006-6-6 17:54:46编辑过]
|