Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how do i write this equation?

4 visualizaciones (últimos 30 días)
Reza Ghasemi
Reza Ghasemi el 28 de Mayo de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
hello, how do i write this?
my code is
k = abs(x).*exp(-abs(x))
  2 comentarios
Walter Roberson
Walter Roberson el 28 de Mayo de 2020
Your k (lowercase) is fine for that; now you just have to integrate that according to the methods of your assignment.
Reza Ghasemi
Reza Ghasemi el 28 de Mayo de 2020
yup i got it thank you

Respuestas (1)

Nishant Gupta
Nishant Gupta el 30 de Mayo de 2020
You can use 'int' function to perform integration as following:
syms x;
k = int(abs(x).*exp(-abs(x)),x,[-3,3]);
  1 comentario
Walter Roberson
Walter Roberson el 30 de Mayo de 2020
This Question was really the continuation of another Question, in which the assignment was to use a riemann sum to approximate the integral.

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by