Given : m = 1 kg ; p1 = 5 bar ;
V1 = 0.02 m3 ;
V2 = 0.08 m3 ;
p2 = 1.5 bar.
(i) p-V diagram : p-V diagram of the cycle is shown in
(ii) Work done and heat transfer :

Process 1-2 (Linear law) :
p = a + bV
The values of constants a and b can be determined from the values of pressure and volume at the state points 1 and 2.
5 = a + 0.02b ...(i)
1.5 = a + 0.08b ...(ii)
From (i) and (ii) we get, b = – 58.33 and a = 6.167

This is work done by the system.

Process 2 – 3 (constant pressure) :
p3 = p2 = 1.5 bar
The volume V3 can be worked out from the hyperbolic compression 3–1, as follows :

Process 3 – 1 (hyperbolic process) :

This is the work done on the system
Net work done, Wnet = W1–2 + W2–3 + W3–1
= 19.5 + (– 1.995) + (– 12.05) = 5.445 kJ.