The limit of cosx / (1-sinx) ^ 2 when x tends to π / 2

The limit of cosx / (1-sinx) ^ 2 when x tends to π / 2

lim(x→π/2) cosx /(1-sinx)²
Law of lobida
= lim(x→π/2) - sinx / [ 2(1-sinx)*(-cosx) ]
= lim(x→π/2) tanx / 2(1-sinx)
The denominator tends to zero and the numerator to infinity
The limit does not exist