For the given even positive integer n find the value of
The even positive integer n (2 ≤ n ≤ 100000).
Print the value of f(n) with four digits after the decimal point.