from numpy import log as ln z = 3 k = 2 x = 1 - ln(1 + z) / ln(1 + k) y = 1/5 print("The x=", x) Q = x**y print(Q)
The result is