#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main() {
// your code goes here
double a, b, h;
cin >> a >> b>> h;
for(double x = a; x <= b; x += h){
cout << fixed << setprecision(3) <<x<< " " << 3 * sin(x) << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CiNpbmNsdWRlIDxpb21hbmlwPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglkb3VibGUgYSwgYiwgaDsKCWNpbiA+PiBhID4+IGI+PiBoOwoJZm9yKGRvdWJsZSB4ID0gYTsgeCA8PSBiOyB4ICs9IGgpewoJCWNvdXQgPDwgZml4ZWQgPDwgc2V0cHJlY2lzaW9uKDMpIDw8eDw8ICIgIiA8PCAzICogc2luKHgpIDw8IGVuZGw7CQoJfQoJcmV0dXJuIDA7Cn0=