This question was asked in Ex 7.2, 32

1/1+cotx

Palak Verma's image