a) For the thermal efficiency we have
![\eta_(th) = (Q_(out))/(Q_(in)) = (|W|)/(|Q_h|)\\\eta_(th) = (|W|)/(|W|+|Q_2|)](https://img.qammunity.org/2020/formulas/engineering/college/sg9fhon01a1obsx37h3ss5cz3jmay256cd.png)
With the previously values we know that
and
(convert the min to sec)
Replacing the values
![\eta_(th)=(8)/(8+1440/6)=(1)/(31)\\\eta_(th)\% = 3.225\%](https://img.qammunity.org/2020/formulas/engineering/college/bomgb6995peyjn2wc2cu4cc1w6g38kvlai.png)
b) We use the formula of carnot efficiency
![\eta_(th)=1-(T_l)/(T_h)\\\eta_(th)\% =(1-(280)/(295))*100\\\eta_(th)\%=5.085\%](https://img.qammunity.org/2020/formulas/engineering/college/l53hymkr5u30aeohaztnb77006xdmn3m9l.png)
**Note that apply the formula of carnot cycle we need to consider that there is no exchange of heat, there is no friction and the reservior are completely insulated