$${W = Fd\, \cos \phi}$$