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".

 採用された回答

Alan Stevens
Alan Stevens 2020 年 10 月 19 日

0 投票

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 件のコメント

P Rakesh Kumar Dora
P Rakesh Kumar Dora 2020 年 10 月 19 日
編集済み: P Rakesh Kumar Dora 2020 年 10 月 19 日
Can we get explicit form of the integral in terms of 'z' ?Like symbolic tool box gives explicit form.
Alan Stevens
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!).
P Rakesh Kumar Dora
P Rakesh Kumar Dora 2020 年 10 月 22 日
thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by