x = input('enter a value for x: ');
if x > 0;
    lx = log(x);
else
    lx = log(-x);
end
disp(lx)
