What will be the output of log (-5.8) when executed on R console?

Answer: a
Explanation: Executing the above on R console or terminal will display a warning sign that NaN (Not a Number) will be produced in R console because it is not possible to take a log of a negative number(-).
 

Tìm kiếm

Back
Top