Hi,

I’ve used the Math.log(2)like,

irb(main):001:0> Math.log(2)

=> 0.6931471805599453

When I’m using the scientific calculator to calculate log(2), it

produces the answer as, 0.30102999566398119521373889472449

I’ve realized that Math.log(2) != 0.30102999 of log(2).

Anyhow please assist me to get the value 0.30102999 for log(2) in Ruby

code.