import kotlin.math.powval number = 8.0val power = 3.0val result = number.pow(power)//result is 512.0println("result is $result")