function g = g351(x) % Izracun vrednosti funkcije x^3 + 2x^2 + 10x - 20 g = -(((x+2).*x-10).*x-20)/20;