clc //initialisation of variables a= 1.360 //l^2 atm mole^-1 b= 0.0317 //l mole^-1 R= 0.08205 //J/mol K //CALCULATIONS T= 2*a/(b*R) //RESULTS printf (' Temperature= %.f K',T-6)