Question: how to calculate ln of a negative number?
Answer: The natural logarithm function ln(x) is defined only for x>0. So the natural logarithm of a negative number is undefined. The complex logarithmic function Log(z) is defined for negative numbers too.