function s = test(x) s = 0; for j = 2:5 s=s+x(j+1)* sin(pi*x(j))-(x(j)^2 * cos(pi*x(j-1))); end
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)