From secant to tangent