The function defined by $f(x)=\sin\pi x$ has zeros at every integer. Show that when $-1<a<0$ and $2<b<3$ , the bisection method converges to
(a) $0$, if $a+b<2$
(b) $2$, if $a+b>2$
(c) $1$, if $a+b=2$
$a$ denotes lower limit & $b$ denotes upper limit of the interval $[a,b]$
How to consider the intervals fulfilling the conditions?
I have thought by the following way:
(a) $1<a+b<2$ . but if i put $f(1)=\sin\pi=0$ and $f(2)=\sin 2\pi=0$
it is not providing the different signs.
I haven't idea to solve the questions.

To help the OP, let me suggest a corrected version of the question:
The first thing I would do to solve this question is to draw a sketch of the graph of $f$ on the interval $(-1,2)$. And it happens that already the first midpoint of the bisection method determines $c$... Hint: this first midpoint is either in the interval $(\frac12,1)$ or equal to $1$ or in the interval $(1,\frac32)$. What happens next, in each case?