solve 0.999 ^ x = 0.5