import java.util.*;
import java.lang.*;
import java.io.*;
class Main
{
{
Scanner in
= new Scanner
(System.
in); double a, b, h;
//cin >> a >> b>> h;
a = in.nextDouble();
b = in.nextDouble();
h = in.nextDouble();
for (double x = a; x <= b; x += h) {
System.
out.
printf("%.3f %.3f\n", x,
3 * Math.
sin(x
)); }
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBNYWluCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVNjYW5uZXIgaW4gPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwoJCWRvdWJsZSBhLCBiLCBoOwogICAgCS8vY2luID4+IGEgPj4gYj4+IGg7CiAgICAJYSA9IGluLm5leHREb3VibGUoKTsKICAgIAliID0gaW4ubmV4dERvdWJsZSgpOwogICAgCWggPSBpbi5uZXh0RG91YmxlKCk7CiAgICAJZm9yIChkb3VibGUgeCA9IGE7IHggPD0gYjsgeCArPSBoKSB7CiAgICAgICAgCVN5c3RlbS5vdXQucHJpbnRmKCIlLjNmICUuM2ZcbiIsIHgsIDMgKiBNYXRoLnNpbih4KSk7CiAgICAJfQoJfQp9