The compressibility factor for H2 which behaves as a real gas is
For H2 , attractive forces are neglected, hence
aV2=0
∴P⟮V−b⟯ = RT
PV = RT + Pb
∴PVRT=⟮1 + PbRT⟯=Z