MATLAB: How to find the first 3 roots of sin(x)+0.5=0 bigger than zero? (Multiple roots)

multiple rootsperiodic function

Without using fzero function and without plotting the sin(x)+0.5 to find where the plot coincides with the x-axis, is there another way to obtain the first 3 roots of sin(x)+0.5=0?
Thanks Efe

Best Answer

Efe, that looks like a trick question... sin(x)+5 cannot be equal to zero, since sin(x) is between -1 and +1.