Use the integral command in MATLAB to write a one-line MATLAB code that integrates the function f(x) = cos(x^2) in the interval [0, π/2]. Note that you will have to create an anonymous function as an input argument for your integral function. Do not define your anonymous function separately! Type it as a (direct) argument inside your integral function.
Warning: Do not leave space in between characters, for example, type g=@(x)x.^3 instead of g=@(x) x.^3.