We prove that the function g(x)=1/(1−cos(x)) is completely monotonic on (0,π] and absolutely monotonic on [π,2π), and we determine the best possible bounds λn and μn such that the inequalities λn≤g(n)(x)+g(n)(y)−g(n)(x+y)(n≥0even) and μn≤g(n)(x+y)−g(n)(x)−g(n)(y)(n≥1odd) hold for all x,y∈(0,π) with x+y≤π.