I don't understand the question. Zero is a root of f(x) = x^2-sin(x), so what's the issue? The secant method will converge toward only one root given a pair of initial values for x1 and x2. To get the other root try using a different pair of initial values, say 0.8 and 1.0.