El profesor se sorprenderá mucho al ver tu solución correcta😉
2 d cos (y(x)) - --(y(x))*tan(x) = 0 dx
cos(y)^2 - tan(x)*y' = 0
(x, y):
(-10.0, 0.75)
(-7.777777777777778, -1.5385888004735955)
(-5.555555555555555, 2.17e-322)
(-3.333333333333333, nan)
(-1.1111111111111107, 2.78363573e-315)
(1.1111111111111107, 8.427456047434801e+197)
(3.333333333333334, 3.1933833808213433e-248)
(5.555555555555557, 4.3149409499051355e-61)
(7.777777777777779, 8.388243571812249e+296)
(10.0, 3.861029683e-315)
(10.0, 3.861029683e-315)