A uniform rod PQ of length 1m and mass 2kg is pivoted at the end…