1 2 3 4 5 6 7 8 9 10
clc //initialisation of variables P= 1 //atm a= 18.46 //per cent P1= 0.5 //atm //CALCULATIONS Kp= P*4*(a/100)^2/(1-(a/100)^2) //RESULTS printf ('Kp= %.3f ',Kp)