El profesor se sorprenderá mucho al ver tu solución correcta😉
d --(y(x))*cos(y(x)) + sin(y(x)) = x dx
sin(y) + cos(y)*y' = x
/ -x\ y(x) = pi - asin\-1 + x + C1*e /
/ -x\ y(x) = asin\-1 + x + C1*e /
(x, y):
(-10.0, 0.75)
(-7.777777777777778, -1.5707963376704963)
(-5.555555555555555, 2.7e-322)
(-3.333333333333333, nan)
(-1.1111111111111107, 3.695430796e-315)
(1.1111111111111107, 2.44844136553879e+184)
(3.333333333333334, 1.2085307015955082e+161)
(5.555555555555557, 8.735934836677909e+189)
(7.777777777777779, 2.5718481162063698e+151)
(10.0, -3.127441380144104e-210)
(10.0, -3.127441380144104e-210)