Find a function f ( x ) {\displaystyle f(x)} such that f ′ ( x ) = sin ( x ) + 2 x {\displaystyle f'(x)=\sin(x)+{\frac {2}{\sqrt {x}}}} and such that f ( π ) = 0 {\displaystyle f(\pi )=0} .