clc //initialisation of variables t= 20 //min t1= 19.4 //min M= 32 //gms //CALCULATIONS x= M*t1^2/t^2 //RESULTS printf (' molecular weight of ethane = %.1f gms',x)