import math
K = 4.201
L = 3
x = float(input("Enter value for x: "))
a = math.sqrt(K * math.sqrt(x) + 2 - (1 / L) * (math.exp(2) - math.exp(-2)))
b = math.sin(0.5 * math.atan(-0.25) * math.log(5))
if a > 2 * b:
y = math.sqrt(3 * a - 5 * b)
elif a == 2 * b:
y = a
else:
y = math.sqrt(3 * a + 5 * b)
print("Result y = {:.4f}".format(y))
aW1wb3J0IG1hdGgKCksgPSA0LjIwMQpMID0gMwoKeCA9IGZsb2F0KGlucHV0KCJFbnRlciB2YWx1ZSBmb3IgeDogIikpCgphID0gbWF0aC5zcXJ0KEsgKiBtYXRoLnNxcnQoeCkgKyAyIC0gKDEgLyBMKSAqIChtYXRoLmV4cCgyKSAtIG1hdGguZXhwKC0yKSkpCmIgPSBtYXRoLnNpbigwLjUgKiBtYXRoLmF0YW4oLTAuMjUpICogbWF0aC5sb2coNSkpCgppZiBhID4gMiAqIGI6CiAgICB5ID0gbWF0aC5zcXJ0KDMgKiBhIC0gNSAqIGIpCmVsaWYgYSA9PSAyICogYjoKICAgIHkgPSBhCmVsc2U6CiAgICB5ID0gbWF0aC5zcXJ0KDMgKiBhICsgNSAqIGIpCgpwcmludCgiUmVzdWx0IHkgPSB7Oi40Zn0iLmZvcm1hdCh5KSk=