secant working