Competitions
Week 8: December 28 - January 10. Functions. Part 1
Simple function
Implement a function f(x) = x + sin(x).
Input
One real value x.
Output
Print the value of f(x) with 4 decimal digits.
Input example #1
1.1234
Output example #1
2.0250
Input example #2
-3.1415
Output example #2
-3.1416