The ODE
is separable, as
Integrate both sides:
In the left integral, substitute u = πy/4 and du = π/4 dy :
Given that y = 1 when x = 0, we have
since tan(π/4) = 1. So the ODE has a particular solution of
or
Now when y = 3, we have
making the answer C.