We were recently asked to evaluate this - $y(x) = \int_{0}^{\pi} \sin(x+y(x)) dx$
I think we can start by breaking up the integral as $y(x) = \int_{0}^{\pi} \sin(x)\cos(y(x)) dx + \int_{0}^{\pi} \cos(x)\sin(y(x)) dx$ and then assuming the form that $y$ would take as $y(x) = A\sin(x) + B\cos(x) + D$.
As @joriki suggested, the main point in solving this is in realizing that y is not a function of x but, contrary to what seems in the question, a constant because RHS is a definite integral! So let's assume that $y = K$(say). So the equation can be rewritten as-
$K = \int_{0}^{\pi} \sin(x+K) dx$ and we're left with simply finding the value of $K$. So, $K = -(\cos(\pi+K) - \cos(0 + K)) = 2\cos(K)$ and finally, y is the solution of the equation: $K/2 = \cos(K)$ for which $y\approx1.02987$ as calculated here