Borrar filtros
Borrar filtros

integral does not give results

1 visualización (últimos 30 días)
Bilal Ates
Bilal Ates el 24 de Ag. de 2020
Comentada: Bruno Luong el 24 de Ag. de 2020
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

Respuestas (1)

Star Strider
Star Strider el 24 de Ag. de 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 comentarios
Star Strider
Star Strider el 24 de Ag. de 2020
My pleasure!
Bruno Luong
Bruno Luong el 24 de Ag. de 2020
This might be useful
syms x
Int = int(x*exp(-x/3)+tan(x),x,0,5,'PrincipalValue',true)

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by