The teacher will be very surprised to see your correct solution 😉
x sin(x) - - = -1/2 2
x1 = 2.38006127313934
x2 = 2.38006127313934
x3 = 2.38006127313934