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