[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command log(2) give value as 500

From: Marco Atzeri
Subject: Re: command log(2) give value as 500
Date: Mon, 12 Feb 2018 16:10:23 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 12/02/2018 15:29, behindvampire wrote:
Hi  all,I am new to this octave world so please bear my foolish question.i am
trying to find the natural log value of 2 but the value it generate is
500.Plz guide me where am i doing wrong.

Please note that "copy and paste" is always better.

octave:1> log(e)
ans =  1
octave:2> log(2)
ans =  0.69315
octave:3> which log
'log' is a built-in function from the file libinterp/corefcn/
I guess you have redefined log somewhere,
what is the output of "which log" ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]