
function y=fun2(x)

% this is function f(x)=cos^2 (3x)

y=(cos(3*x))^2;







