Hi everyone. I have a problem like this
So to integrate it, I write this code:
if truefun=@(x) (6*x)+(3*x^2);finalfun = @(x)(180-x)*funS1 = integral(finalfun,0,180)end
But it gives an error. Then I tried to put the '(180-x) inside the original function but the result is wrong. A help would be appreciated. Thanks.
Best Answer