Function tabulation
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Write a program that prints the values of a function y = 3 · sin(x) on segment from a to b inclusively with step h.
Input
Three double values a, b and h are given in one line.
Output
Print in each line two numbers x and y, ascending x with three decimal digits.
Examples
Input #1
Answer #1
Submissions 11K
Acceptance rate 57%