This question was asked in Ex 5.3, 4

Y=tan -¹(cosecx cotx)

Rekha Bagul's image