Implement the function f(x)=x3+2⋅x2−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.