x=5;
function y=f(x)
y=3*x^2+5*x-14;
endfunction
[wynik,info]=fsolve("f",[1])