clc clear //initialisation of variables n1= 0.25 //mole nh= 0.75 //mole p= 400 //atm T= 50 //C vn= 0.083 //lit vh= 0.081 //lit //CALCULATIONS V= n1*vn+vh*nh //RESULTS printf ('Volume of given mixture is = %.3f lit',V)