(A) Air temperature is at 350 K, Heat transfer= dQ= 1050 J
Entropy generation,
Sgen=ΔSsys+TdQ
Here, in case of ambient condititon change in entropy will be zero
Sgen=3501050=3KJ
(B) As per the second case we know that for carnot heat engine
Q2Q1=T2T1
Q21050=349.999350.001
Q2=1049.99 J
and entropy generation
Sgen=349.9991049.999=2.999J/K
Comments