Final answer:
To compute the integral, use the 'int' function. To find the first and second derivatives, use the 'diff' function.
Step-by-step explanation:
To compute the integral, first, we need to define the symbolic variable 'x'. In MATLAB, this can be done using the 'syms' function: syms x. Next, we can compute the integral of the function 'f(x)' using the 'int' function: integral = int(x^2 * exp(x) - 5*x^3, x). This will give us the integral of the function.
To find the first derivative of the function, we can use the 'diff' function in MATLAB: derivative = diff(x^2 * exp(x) - 5*x^3, x). This will give us the first derivative of the function.
To find the second derivative, we can again use the 'diff' function on the first derivative: second_derivative = diff(derivative, x).