Implement the function f(x) = x^3 + 2 \cdot x^2 - 3.
Each line contains one real number x.
For each value of x, print the value of the function f(x) on a separate line with four decimal places.
Example 1