import math
a=float(input())
b=float(input())
x=float(input())
k=float(input())
e=float(input())
if a!=0:
(0.8*x/math.sqrt(math.fabs(x)))
else:
print ("error");
if k+b!=0:
(math.pow(math.sin(x), 2)*a/k+b)
N=0.8*x/math.sqrt(math.fabs(x))+((math.pow(math.sin(x), 2)*a/k+b+0.87)*math.sin(x)+math.pow(e, x))
print(N)
aW1wb3J0IG1hdGgKYT1mbG9hdChpbnB1dCgpKQpiPWZsb2F0KGlucHV0KCkpCng9ZmxvYXQoaW5wdXQoKSkKaz1mbG9hdChpbnB1dCgpKQplPWZsb2F0KGlucHV0KCkpCmlmIGEhPTA6CgkoMC44KngvbWF0aC5zcXJ0KG1hdGguZmFicyh4KSkpCmVsc2U6CglwcmludCAoImVycm9yIik7CmlmIGsrYiE9MDoKCShtYXRoLnBvdyhtYXRoLnNpbih4KSwgMikqYS9rK2IpCglOPTAuOCp4L21hdGguc3FydChtYXRoLmZhYnMoeCkpKygobWF0aC5wb3cobWF0aC5zaW4oeCksIDIpKmEvaytiKzAuODcpKm1hdGguc2luKHgpK21hdGgucG93KGUsIHgpKQoJcHJpbnQoTik=