Given,
(1−x2)dy=[xy+(x3+2)3(1−x2)]dx
⇒dxdy−1−x2xy=1−x2(x3+2)3(1−x2)
The above equation is a linear differential equation,
So, IF=e−∫1−x2xdx=e21ln(1−x2)=1−x2
Now, the solution of the differential equation is given by,
y1−x2=∫1−x2(x3+2)3(1−x2)×(1−x2)dx
⇒y1−x2=3∫(x3+2)dx
⇒y1−x2=3(4x4+2x)+c
Now, using y(0)=0 we get, c=0
Now, finding y(21)
y1−(21)2=3(24⋅41+2⋅21)
⇒y=(321+2)
⇒y(21)=3265=nm
Hence, m+n=97