Hey There!
ideal gas law :
PV = nRT
P = nRT/V
P = (1*0.082)(18+273)/(0.5) = 47.724 atm
For VDW :
(P + a(n/V)²)(V - nB) = nRT
P = nRT/(V - nB) - a(n/V)²
P = 1*0.082*(18+273) / (0.5-1*0.03219) - 1.345*( 1/0.5 )² = 45.62
P = 45.62 atm
Pdif = P2-P1 = 47.724 - 45.62 = 2.104 atm