integral does not give results
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/350753/image.png)
0 Kommentare
Antworten (1)
Star Strider
am 24 Aug. 2020
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 Kommentare
Bruno Luong
am 24 Aug. 2020
This might be useful
syms x
Int = int(x*exp(-x/3)+tan(x),x,0,5,'PrincipalValue',true)
Siehe auch
Kategorien
Mehr zu Number Theory finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!