function value = yfunction(x)
f=inline('x-y^3-exp(y)','x','y');
for k=1:length(x)
    value(k) = fzero(@(y) f(x(k),y), .5);
end