Integration by numerical methods
4 次查看(过去 30 天)
显示 更早的评论
Hi, please someone can help how to compute the following integral numerically, since analytic integration is not possible for all values of "z". Here " z" lies in between "0" to "1".
0 个评论
采纳的回答
Alan Stevens
2020-10-19
Something like this:
z = 0.01:0.01:1;
I = zeros(1,numel(z));
for i = 1:numel(z)
I(i) = integral(@(x) sqrt(x)./(exp(x)./z(i) - 1),0,inf);
end
plot(z,I),grid
3 个评论
Alan Stevens
2020-10-19
Wolfram Alpha gives a result in terms of a function Li. MATLAB doesn't seem to have that function (unless it is there under another name!).
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!