function ret=func2d(x,y)
    ret=2*x.^2 + y.^2;
end
