The teacher will be very surprised to see your correct solution 😉
cos(x) + 1 ---------- = 0 sin(x)
x1 = 84.8230016469244
x2 = 47.1238898038469
x3 = 97.3893722612836
x4 = -53.4070751110265
x5 = 91.106186954104
x6 = -84.8230016469244
x7 = 9.42477796076938
x8 = -3.14159265358979
x9 = -40.8407044966673
x10 = 78.5398163397448
x11 = -47.1238898038469
x12 = 40.8407044966673
x13 = -9.42477796076938
x14 = 72.2566310325652
x15 = 84.8230016469244
x16 = 9.42477796076938
x17 = 72.2566310325653
x18 = 34.5575191894877
x19 = -91.106186954104
x20 = 97.3893722612836
x21 = 84.8230016469244
x22 = 34.5575191894877
x23 = -78.5398163397448
x24 = -84.8230016469244
x25 = 15.707963267949
x26 = -65.9734457253857
x27 = -78.5398163397448
x28 = 3.14159265358979
x29 = 15.707963267949
x30 = -47.1238898038469
x31 = -21.9911485751286
x32 = 28.2743338823081
x33 = -15.707963267949
x34 = 40.8407044966673
x35 = 78.5398163397448
x36 = -59.6902604182061
x37 = 47.1238898038469
x38 = -34.5575191894877
x39 = -3.14159265358979
x40 = 65.9734457253857
x41 = 21.9911485751286
x42 = -97.3893722612836
x43 = -3.14159265358979
x44 = -72.2566310325652
x45 = 28.2743338823081
x46 = -15.707963267949
x47 = -28.2743338823081
x48 = -34.5575191894877
x49 = 53.4070751110265
x50 = 59.6902604182061
x50 = 59.6902604182061