Quadrature formula for approximating the singular integral of Cauchy type with unbounded weight function on the edges