x = input('enter a value for x: ');
if x > 1;
    xlim = 1;
elseif x < -1;
    xlim = -1;
else
    xlim = x;
end
disp([x xlim])
