$${W = \int \tau\, d\theta}$$