#include <iostream>
#include <math.h>
int main ()
{
double x = -1, dx = 0.25, y;
std::cout << "x: " << "\ty: " << std::endl;
while (x <= 1.5) {
y = sin(x) - pow(x, 2) + 2/x;
if (!x)
std::cout << x << "\t-" << std::endl;
else
std::cout << x << "\t" << y << std::endl;
x += dx;
}
return 0;
}