DB45
(1 - cos x)/ sin x + sin x /(1-cos x ) = 2/sin x {(1-cosx)(1-cos x) + sin x (sin x)}/ { sin x(1- cos x)} = 2/sin x (1- 2cos x + cos² x + sin² x) / sin x(1-cos x) = 2/sin x (1- 2 cos x + 1) / sin x(1 -cos x) = 2/ sin x (2 - 2 cos x) / sin x(1- cos x) = 2 / sin x 2(1 - cos x ) / sin x ( 1- cos x ) = 2/ sin x 2/sin x = 2/ sin x ...
{(1-cosx)(1-cos x) + sin x (sin x)}/ { sin x(1- cos x)} = 2/sin x
(1- 2cos x + cos² x + sin² x) / sin x(1-cos x) = 2/sin x
(1- 2 cos x + 1) / sin x(1 -cos x) = 2/ sin x
(2 - 2 cos x) / sin x(1- cos x) = 2 / sin x
2(1 - cos x ) / sin x ( 1- cos x ) = 2/ sin x
2/sin x = 2/ sin x
...