In: Computer Science
Integrate the following function by using symbolic operation in
MATLAB.
y = x^3 − 2x^2 + 7
clc
syms x
disp("y = x^3 - 2*x^2 + 7");
y = x^3 - 2*x^2 + 7;
disp("The integration of above function is :");
disp(int(y))
OUTPUT:-
y = x^3 - 2*x^2 + 7
The integration of above function is :
(x*(3*x^3 - 8*x^2 + 84))/12