How to Solve an Equation with an Integral for the Integral Range Parameter?

1 回表示 (過去 30 日間)
Benjamin
Benjamin 2020 年 11 月 26 日
コメント済み: Benjamin 2020 年 11 月 26 日
Hello
Dear experts,
I need to solve an equation that includes an integral in it, and I need to solve it for the parameter x that is the integral range. Please look at the picture attached. Note that I need to solve for a given L to see what is the value of s (or x).
I appreciate your response

採用された回答

Star Strider
Star Strider 2020 年 11 月 26 日
The gammainc function does not take complex arguments, so this is likely the best you can hope for:
F = @(S) S - 0.01 * gammainc(5/3, 40*S^0.6);
Lfcn = @(x) integral(@(S) 1./sqrt(F(S)), 0, x, 'ArrayValued',1);
Ssln = fsolve(@(x)abs(Lfcn(x)) - 0.2, 1E-8);
with x=0.0157.
  3 件のコメント
Star Strider
Star Strider 2020 年 11 月 26 日
Aa always, my pleasure!
Benjamin
Benjamin 2020 年 11 月 26 日
It is very nice of you. I also posted another related question HERE. I appreciate if you also take a look at it.
Kind regards,

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpecial Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by