eolymp
bolt
Try our new interface for solving problems
Problems

Function - 2

Function - 2

Implement a function $f(x) = \sqrt{x} + 2 \cdot x + sin(x)$. \InputFile Each line contains one real number $x$. \OutputFile For each value $x$ print in a separate line the value of the function $f(x)$ with four digits after the decimal point.
Time limit 1 second
Memory limit 128 MiB
Input example #1
2.234
10.23
56.1
23.2651
Output example #1
6.7507
22.9375
119.2562
50.3973
Author Mykhailo Medvediev
Source Programming language C