フィルターのクリア

integral does not give results

1 回表示 (過去 30 日間)
Bilal Ates
Bilal Ates 2020 年 8 月 24 日
コメント済み: Bruno Luong 2020 年 8 月 24 日
x=sym('x')
int(((x*exp(-x/3))+tan(x)),0,5)
I can't find where I made the mistake, Matlab does not give results

回答 (1 件)

Star Strider
Star Strider 2020 年 8 月 24 日
It works for me (in R2020a):
x=sym('x')
Int = int(x*exp(-x/3)+tan(x),x,0,5)
producing:
Int =
NaN
To understand the results, plot the function:
figure
fplot(x*exp(-x/3)+tan(x), [0,5])
grid
.
  7 件のコメント
Star Strider
Star Strider 2020 年 8 月 24 日
My pleasure!
Bruno Luong
Bruno Luong 2020 年 8 月 24 日
This might be useful
syms x
Int = int(x*exp(-x/3)+tan(x),x,0,5,'PrincipalValue',true)

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

カテゴリ

Help Center および File ExchangeNumber Theory についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by