Problems
Value of variable 4
Value of variable 4
Find the value of the variable y for a given real value of the variable x.
y = {2x - 1 \over x^2} + {\sqrt{x^2 + 1} \over 2}
Input data
Value of the variable x.
Output data
Print the value of the variable y up to thousandths.
Examples
Input example #1
1
Output example #1
1.707