3479 - Summation 3479 - Summation 3479 - Summation

Statistics Sub: 243 | AC: 73 | AC%: 30,04 | Score: 2,06
Created by Oreste Nillar Cambara
Added by Oreste (2015-12-02)
Limits
Total Time: 2000 MS | Test Time: 1000 MS |Memory: 32 MB | Output: 64 MB | Size: 1 MB
Enabled languages
Available in

Description

The sum of the odd numbers is well known to all, now it required the following summation:
sin(1)+sin(3)+sin(5)+...+sin(2*n-1)
The sum of the odd numbers is well known to all, now it required the following summation:
sin(1)+sin(3)+sin(5)+...+sin(2*n-1)
The sum of the odd numbers is well known to all, now it required the following summation:
sin(1)+sin(3)+sin(5)+...+sin(2*n-1)

Input specification

A single line containing the number n(1<n<10^9)
A single line containing the number n(1<n<10^9)
A single line containing the number n(1<n<10^9)

Output specification

Print the answer to the problem described above rounded to 6 places after the decimal point.
Print the answer to the problem described above rounded to 6 places after the decimal point.
A single line containing the number n(1<n<10^9)

Sample input

4

Sample output

0.680653

Hint(s)

http://coj.uci.cu/24h/
http://coj.uci.cu/24h/
http://coj.uci.cu/24h/

Recommendation

We have carefully selected several similar problems: 2156 | 2243 | 1811 | 2141 | 1650 | 4105