For an isobaric process, the heat transferred to the system \( Q \) can be calculated using the formula:
\[ Q = n C_p \Delta T \]
where:
- \( n \) is the number of moles of the gas (given as 5 moles),
- \( C_p \) is the specific heat capacity at constant pressure,
- \( \Delta T \) is the change in temperature, i.e., \( T_{\text{final}} - T_{\text{initial}} \).
We are given \( C_v = 12.5 \) J mol\(^{-1}\) K\(^{-1}\) and need to calculate \( C_p \), which is related to \( C_v \) by the equation:
\[ C_p = C_v + R \]
where \( R = 8.314 \) J mol\(^{-1}\) K\(^{-1}\) (the gas constant).
Thus, we have:
\[ C_p = 12.5 + 8.314 = 20.814 \, \text{J mol}^{-1} \text{K}^{-1} \].
Now, we can calculate \( \Delta T \):
\[ \Delta T = T_{\text{final}} - T_{\text{initial}} = 450 \, \text{K} - 300 \, \text{K} = 150 \, \text{K} \].
Substituting these values into the heat transfer equation:
\[ Q = 5 \times 20.814 \times 150 = 15450 \, \text{J} \].
Thus, the amount of heat transferred to the system is \( \boxed{15450} \) J.