From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 1388/CH4/EX4.26/4_26.sce | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to '1388/CH4') diff --git a/1388/CH4/EX4.26/4_26.sce b/1388/CH4/EX4.26/4_26.sce index aecc42694..29a4514cc 100755 --- a/1388/CH4/EX4.26/4_26.sce +++ b/1388/CH4/EX4.26/4_26.sce @@ -1,15 +1,16 @@ -clc -//initialisation of variables -H= 1436.3 //cal mole^-1 -d= 0.9999 //g ml^-1 -d1= 0.9168 //g ml^-1 -P= 1 //atm -m= 18.02 //gm -R= 1.987 //cal/mole K -T= 2 //C -//CALCULATIONS -V= (p/d)-(p/d1) -H1= H*82.05/(m*R) -P1= H1*(-T)/(273*V) -//RESULTS -printf (' pressure required to decrease= %.f atm',P1) +clc +clear +//initialisation of variables +H= 1436.3 //cal mole^-1 +d= 0.9999 //g ml^-1 +d1= 0.9168 //g ml^-1 +P= 1 //atm +m= 18.02 //gm +R= 1.987 //cal/mole K +T= 2 //C +//CALCULATIONS +V= (P/d)-(P/d1) +H1= H*82.05/(m*R) +P1= H1*(-T)/(273*V) +//RESULTS +printf (' pressure required to decrease= %.f atm',P1) \ No newline at end of file -- cgit