from math import sin
from numpy import arange
def f(x):
return 0 if x <= 0 else x if 0 < x <= 1 else x ** 2 - sin(x ** 2)
x0,xk,d = float(input()),float(input()),float(input())
for i in arange(x0,xk,d):
print(f(i))
public delegate double SimpleFunction(double x);
public static List<(double, double)> Tabulate(SimpleFunction f, double a, double b, double h)
{
List<(double, double)> Result = new List<(double, double)>();
double x = a;
int k = 0;
while (x < b)
{
x = a + k * h;
k++;
Result.Add((x, f(x)));
}
return Result;
}