clc //initialisation of variables n= 1.5 //kmol V= 0.5 //m^3 M= 18.02 //kg //CALCULATIONS m= n*M v= V/m //RESULTS printf ('mass = %.2f kg',m) printf ('\n sepcific volume = %.4f m^3/kg',v)