#include <iostream>
using std::cout;
using std::cin;
using std::endl;
#include <cmath>
using std::pow;
int main()
{
double x = -4.0, y;
for(int i = 0; i < 14; i++)
{
y = pow(x, 2) + 2 * x + 2;
x += 0.2;
cout << "y = " << y << endl;
}
cin.get();
return 0;
}