error while using solve function with integral
古いコメントを表示
Please suggest the solution for the encoutering problem below:
syms x V; Pr=solve( int(x.^2.* exp(-x-1./(x+V)),x,1,inf )-0.5 ==0,V);
回答 (1 件)
Walter Roberson
2016 年 4 月 2 日
0 投票
That equation has no real-valued solution. Are you expecting a complex-valued solution?
5 件のコメント
modem sudhakar
2016 年 4 月 2 日
編集済み: Walter Roberson
2016 年 4 月 2 日
Walter Roberson
2016 年 4 月 2 日
The lower limit is at V = -1 exactly, where the integral is approximately .9526391033789570 . The upper bound is V approach infinity where the integral is 5/e which is approximately 1.839397205857212
When V < -1 then the integral is infinite.
Walter Roberson
2016 年 4 月 11 日
Notice that because the lower limit is about 0.95, it can never be 0, so there are no real-valued solutions.
modem sudhakar
2016 年 4 月 11 日
編集済み: modem sudhakar
2016 年 4 月 11 日
Walter Roberson
2016 年 4 月 11 日
You need to make the integral symbolic. Then vpasolve for V
カテゴリ
ヘルプ センター および File Exchange で Utilities for the Solver についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!