필터 지우기
필터 지우기

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 CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by