clc clear //Initialization of variables w=0.3448 Z0=0.898 Z1=0.08 //calculations Z=Z0 + Z1*w //results printf("Compression factor = %.3f ",Z)