e-olymp
Competitions

Quick Start C: Loops, Arrays, Functions

Simple function

Implement a function f(x) = x + sin(x).

Input

One double value of x.

Output

Print the value of f(x) with 4 decimal digits.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1.1234
Output example #1
2.0250
Input example #2
-3.1415
Output example #2
-3.1416