The given D.E. can be written asdxdy−ytanx=6xsecx...(i), which is a liner differential equation of the form dxdy+Py=Q, where P&Q are the function of x or constants.
Here, P=-\mathrm{tan}x&Q=6xsecx
Integrating factor =e∫Pdx=e−∫tanxdx
=e−(−ln(cosx))=eln(cosx)=cosx
And, the solution of the linear differential equation is,
y(I.F.)=∫Q(I.F.)dx+c
⇒y⋅cosx=∫(6xsecx)⋅cosxdx
⇒y⋅cosx=∫6xdx
⇒y⋅cosx=3x2+c...(ii)
Given y(3π)=0, hence
0=3(3π)2+c
⇒c=−3π2
Thus, the curve is, y⋅cosx=3x2−3π2
Now, put x=6π, to get
y(6π)⋅cos(6π)=3(6π)2−3π2
⇒y(6π)⋅23=3⋅36π2−3π2
⇒y(6π)⋅23=12π2−3π2
⇒y(6π)⋅23=−4π2
⇒y(6π)=−23π2.