0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

対数計算

Last updated at Posted at 2019-08-20
python
>>> import math

底が2の2の対数

底が2の2の対数 $\log_2 {2}$

python
>>> math.log(2,2) 
1.0

Googleで計算 -> lg(2)

image.png
参考:google電卓リファレンス

底が2の3の対数

底が2の3の対数 $\log_2 {3}$

python
>>> math.log(3,2)
1.5849625007211563

Googleで計算 -> lg(3)

image.png
参考:google電卓リファレンス

底が2の4の対数

底が2の4の対数 $\log_2 {4}$

python
>>> math.log(4,2)
2.0

底が2の8の対数

底が2の8の対数 $\log_2 {8}$

python
>>> math.log(8,2)
3.0

底が10の4の対数

底が10の4の対数 $\log{4}$

Googleで計算 -> log(4)

image.png

CASIOの高精度計算サイトで計算 -> log(4)

image.png
参考:高精度計算サイト

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?