Why is my integration output the mathematical expression and not the solution?
1 view (last 30 days)
I am trying to solve the following question:
and I have utlised the following script to achieve so:
func = ((x^3*cos(x/2)+1/2)*(sqrt(4-x^2)));
But MATLAB keeps returning the explicit form of the function back instead of computing it, as shown below:
int((4 - x^2)^(1/2)*(x^3*cos(x/2) + 1/2), x, -2, 2)
What am I doing wrong that is making it not compute but merely display the function?
The answer should be or π.