This integral is solved using the basic trigonometric integration rule combined with the reverse of the chain rule (u-substitution).
1. Standard Integration Rule:
Recall that $\int \sin(ax) \, dx = -\frac{1}{a} \cos(ax) + c$.
2. Identification of Parameters:
In the expression $\sin \frac{y}{2}$, the variable is $y$ and the coefficient $a$ is $\frac{1}{2}$.
3. Calculation:
Applying the rule:
$$\int \sin \frac{y}{2} \, dy = -\frac{1}{1/2} \cos \frac{y}{2} + c$$
$$\text{Integral} = -2 \cos \frac{y}{2} + c$$
Option (D) is the only mathematically sound answer. Note that Option (B) incorrectly changes the variable to $x$.