Rewrite the differential equation as x5dxdy=7x4coty−excscy. Multiplying by sin y and putting z=cosy, so z′=−siny⋅y′, gives z′+(x7)z=x5ex.
The integrating factor is x7. Hence (x7z)′=x2ex, and integration gives x7z=ex(x2−2x+2)+C.
The initial point gives z(1)=cos(2π)=0, so C=−e. At x=2,128cosy=2e2−e.
Therefore cosy=1282e2−e, option (2).