summaryrefslogtreecommitdiff
path: root/1100/CH17
diff options
context:
space:
mode:
Diffstat (limited to '1100/CH17')
-rwxr-xr-x1100/CH17/EX17.1/17_1.sce16
-rwxr-xr-x1100/CH17/EX17.2/17_2.sce18
-rwxr-xr-x1100/CH17/EX17.3/17_3.sce17
-rwxr-xr-x1100/CH17/EX17.4/17_4.sce12
4 files changed, 63 insertions, 0 deletions
diff --git a/1100/CH17/EX17.1/17_1.sce b/1100/CH17/EX17.1/17_1.sce
new file mode 100755
index 000000000..2f0c02db6
--- /dev/null
+++ b/1100/CH17/EX17.1/17_1.sce
@@ -0,0 +1,16 @@
+clc
+//initialisation of variables
+R= 53.31
+T= 80 //F
+P2= 90//psia
+P1= 15 //psia
+n= 1.4
+n1= 1.3
+cv= 0.171
+//CALCULATIONS
+Wk= (n/(n-1))*R*(T+460)*((P2/P1)^((n-1)/n)-1)
+Wn= (n1/(n1-1))*R*(T+460)*((P2/P1)^((n1-1)/n1)-1)
+Wt= R*(T+460)*log(P2/P1)
+Q= cv*0.778*((n-n1)/(1-n1))*(T+460)*((P2/P1)^((n-1)/n)-1)
+//RESULTS
+printf ('Heat transfered from the airin each case= %.1f Btu/lb',Q)
diff --git a/1100/CH17/EX17.2/17_2.sce b/1100/CH17/EX17.2/17_2.sce
new file mode 100755
index 000000000..e9acf05e9
--- /dev/null
+++ b/1100/CH17/EX17.2/17_2.sce
@@ -0,0 +1,18 @@
+clc
+//initialisation of variables
+R= 53.31
+T= 80 //F
+P2= 90//psia
+P1= 15 //psia
+n= 1.4
+n1= 1.3
+cv= 0.171
+//CALCULATIONS
+Wk= (n/(n-1))*R*(T+460)*((P2/P1)^((n-1)/n)-1)
+Wn= (n1/(n1-1))*R*(T+460)*((P2/P1)^((n1-1)/n1)-1)
+Wt= R*(T+460)*log(P2/P1)
+nc= Wt/Wn
+nc1=Wk/Wn
+////RESULTS
+printf ('Thermal effeciency= %.2f ',nc)
+printf (' \n Isothermal effeciency= %.2f ',nc1)
diff --git a/1100/CH17/EX17.3/17_3.sce b/1100/CH17/EX17.3/17_3.sce
new file mode 100755
index 000000000..1fef630ed
--- /dev/null
+++ b/1100/CH17/EX17.3/17_3.sce
@@ -0,0 +1,17 @@
+clc
+//initialisation of variables
+R= 53.31
+T= 80 //F
+P2= 90//psia
+P1= 15 //psia
+n= 1.4
+cp= 0.240
+nc= 0.95
+n1= 1.3
+//CALCULATIONS
+Wk= (n/(n-1))*(R)*(T+460)*((P2/P1)^((n-1)/n)-1)
+Wx= -Wk/nc
+dh= cp*(T+460)*((P2/P1)^((n1-1)/n1)-1)
+Q= dh+(Wx/778)
+//RESULTS
+printf ('Heat transferred= %.1f Btu/lb ',Q)
diff --git a/1100/CH17/EX17.4/17_4.sce b/1100/CH17/EX17.4/17_4.sce
new file mode 100755
index 000000000..8a24f9feb
--- /dev/null
+++ b/1100/CH17/EX17.4/17_4.sce
@@ -0,0 +1,12 @@
+clc
+//initialisation of variables
+P1= 83.5//psia
+P2= 5 //psia
+n= 3 //percent
+n1= 1.25
+//CALCULATIONS
+nv= 1-(n/100)*((P1/P2)^(1/n1)-1)
+nv1= 1-(n/100)*(sqrt((P1/P2)^(1/n1))-1)
+//RESULTS
+printf ('single-stage compression = %.3f ',nv)
+printf (' \n two-stage compression = %.3f ',nv1)