function X = xPart(fun) % Gives the x-values of a given function x = fun; X = x(1,:);