點樣用log計進制?

2006-12-13 6:19 am
我記得我同學可以唔知點樣 log a ÷log b 就可以將 唔知邊個數由a進制轉做b進制....
當然我 log a ÷log b E條式係一定錯啦.....
所以想問下有冇人可以幫下我...
只需要打出一條成功轉換的log式比我試下成功就得....
唔該哂^^...
更新1:

To : stenleyforreg 冇錯啦...正是我想知ge野.. 我會盡快選出最佳回答... 無奈要等24小時=.=........ 唔該哂兩位....多謝

回答 (2)

2006-12-13 6:53 am
✔ 最佳答案
Let A 做你想要既進制既數(即係如果你要2進制A就係2)
Let B 做你想要拎黎log既數(即係如果你想log 8,個base係2既話B就係8)

Log B ÷ Log A

拎個數黎睇
Put A = 2, B=8
Answer應該係3
因為8係2既3次方

Log 8÷Log2

=3Log2÷Log2

=3
參考: Me
2006-12-13 8:01 pm
log (base b) X = ln a / ln b * log (base a) X

or

log (base b) X = log (base a) X / log (base a) b

u want try it in excel...


收錄日期: 2021-04-25 18:32:30
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20061212000051KK04830

檢視 Wayback Machine 備份