How to calculate logarithms in java? -
i'm trying write java program can take values , put them formula involving log 1/3.
how can calculate log 1/3 in java?
you can use math.log(value)
log of specific value value considered in double
.you can use math.log10(value)
base 10 log.
so can use
math.log(1/3.0)
Comments
Post a Comment