A real number is chosen uniformly at random from the segment . The player's reward equals the square of the chosen number: W = x^2.
Compute the expected value of the reward.
One real number n~(0 \le n \le 10^6).
Print the expected value of the reward with at least decimal digits.
Example 1