summaryrefslogtreecommitdiff
path: root/1100
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /1100
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '1100')
-rwxr-xr-x1100/CH10/EX10.6/10_6.sce38
-rwxr-xr-x1100/CH14/EX14.4/14_4.sce38
2 files changed, 38 insertions, 38 deletions
diff --git a/1100/CH10/EX10.6/10_6.sce b/1100/CH10/EX10.6/10_6.sce
index cb9c95d09..7ff780085 100755
--- a/1100/CH10/EX10.6/10_6.sce
+++ b/1100/CH10/EX10.6/10_6.sce
@@ -1,19 +1,19 @@
- clc
-//initialisation of variables
-P= 15 //psia
-S= 1.7050 //Btu/lb R
-sg= 1.7549 //btu/lb R
-sfg= 1.4415 //Bru/lb R
-hg= 1150.8 //btu/lb
-hfg= 969.7 //Btu/lb
-vg= 26.29 //cu ft/lb
-vfg= 26.27 //cu ft/lb
-//CALCULATIONS
-n= (sg-sx)/sfg
-sx= sg-n*sfg
-hx= hg-n*hfg
-vx= vg-n*vfg
-//RESULTS
-printf ('Volume= %.2f cu ft/lb',vx)
-printf (' \n Entropy = %.2f Btu/lb R',sx)
-printf (' \n Enthalpy= %.1f Btu/lb',hx)
+clc
+//initialisation of variables
+P= 15 //psia
+sx= 1.7050 //Btu/lb R
+sg= 1.7549 //btu/lb R
+sfg= 1.4415 //Bru/lb R
+hg= 1150.8 //btu/lb
+hfg= 969.7 //Btu/lb
+vg= 26.29 //cu ft/lb
+vfg= 26.27 //cu ft/lb
+//CALCULATIONS
+n= (sg-sx)/sfg
+sx= sg-n*sfg
+hx= hg-n*hfg
+vx= vg-n*vfg
+//RESULTS
+printf ('Volume= %.2f cu ft/lb',vx)
+printf (' \n Entropy = %.2f Btu/lb R',sx)
+printf (' \n Enthalpy= %.1f Btu/lb',hx) \ No newline at end of file
diff --git a/1100/CH14/EX14.4/14_4.sce b/1100/CH14/EX14.4/14_4.sce
index af86d4903..a766cb74c 100755
--- a/1100/CH14/EX14.4/14_4.sce
+++ b/1100/CH14/EX14.4/14_4.sce
@@ -1,19 +1,19 @@
-clc
-//initialisation of variables
-mO2=1.33 //lb
-mCO2=3.67 //lb
-CvO2=0.155 //Btu/lb F
-CvCO2=0.165 //Btu/lb F
-Cc=0.170 //Btu/lb F
-t2=1000 //F
-tB=68 //F
-t=300 //F
-mC=1
-mO=4
-//Calculations
-deltaE1=mO2*CvO2*(t2-tB) + mCO2*CvCO2*(t2-tB)
-deltaE2=mC*CC*(tB-t) + mO*CvO2*(tB-t)
-E= -14087 //Btu
-Q=deltaE1+E+deltaE2
-//Results
-printf ('Heat Transfer from the system = %.2f',Q)
+clc
+//initialisation of variables
+mO2=1.33 //lb
+mCO2=3.67 //lb
+CvO2=0.155 //Btu/lb F
+CvCO2=0.165 //Btu/lb F
+Cc=0.170 //Btu/lb F
+t2=1000 //F
+tB=68 //F
+t=300 //F
+mC=1
+mO=4
+//Calculations
+deltaE1=mO2*CvO2*(t2-tB) + mCO2*CvCO2*(t2-tB)
+deltaE2=mC*Cc*(tB-t) + mO*CvO2*(tB-t)
+E= -14087 //Btu
+Q=deltaE1+E+deltaE2
+//Results
+printf ('Heat Transfer from the system = %.2f',Q) \ No newline at end of file