Let function f(x) is defined as
Calculate the value of f(x) for a given x.
Each line contains one double value x (x ≥ 1).
For each value x print on a separate line the value f(x) with 6 digits after the decimal point.