import kotlin.math.lnval number = 512.0val logBase = 8.0val result = ln(number) / ln(logBase)//result is 3.0println("result is $result")