1 2 3 4 5 6 7 8 9
clc //initialisation of variables clear vpe= 42 //atm p2= 1 //atm //CALCULATIONS N2= p2/vpe //RESULTS printf ('Ideal solubility of ethane = %.3f mole fraction',N2)