cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
logarithm
logarithm
Sep 10, 2013 at 8:43am UTC
foozhan
(29)
hi all how can i calculate a logarithm with my own base for example log on base 0.52 ?
Sep 10, 2013 at 9:14am UTC
abhishekm71
(820)
You can apply the log formula
log x base 0.52 = ln x / ln (0.52) = (log x base 10) / ( log 0.52 base 10 )
Sep 10, 2013 at 10:47am UTC
Stewbond
(2827)
http://en.wikipedia.org/wiki/List_of_logarithmic_identities
abhishekm71
is correct, Check out the link above and see the
Changing the base
section.
Topic archived. No new replies allowed.