function y = sin2(x)

xx = x .* pi;
y = sin(xx) .* sin(xx);

