Thermal efficiency (\( \eta \)) of a heat engine is given by the formula:
\[
\eta = \frac{Q_{\text{in}} - Q_{\text{out}}}{Q_{\text{in}}}
\]
Where:
- \( Q_{\text{in}} \) is the heat supplied to the engine
- \( Q_{\text{out}} \) is the heat rejected to the heat sink.
The efficiency can also be expressed as:
\[
\eta = 1 - \frac{Q_{\text{out}}}{Q_{\text{in}}}
\]
Since we are given the heat rejected \( Q_{\text{out}} = 1250 \, \text{kJ/kg} \), and we need to find \( Q_{\text{in}} \), we can use the indicator diagram to estimate or assume the value of \( Q_{\text{in}} \). After the calculation, the thermal efficiency comes out to be 24%.