summaryrefslogtreecommitdiff
path: root/2417/CH6/EX6.34
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2417/CH6/EX6.34
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2417/CH6/EX6.34')
-rwxr-xr-x2417/CH6/EX6.34/Ex6_34.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/2417/CH6/EX6.34/Ex6_34.sce b/2417/CH6/EX6.34/Ex6_34.sce
new file mode 100755
index 000000000..02d39fc24
--- /dev/null
+++ b/2417/CH6/EX6.34/Ex6_34.sce
@@ -0,0 +1,23 @@
+clear;
+clc;
+printf("\t\t\tProblem Number 6.34\n\n\n");
+// Chapter 6: The Ideal Gas
+// Problem 6.34 (page no. 284)
+// Solution
+
+//From the table at 1000 R: //From the table at 500 R:
+h2=240.98; h1=119.48;
+//Btu/lbm //enthalpy //Btu/lbm //enthalpy
+u2=172.43; u1=85.20;
+//Btu/lbm //internal energy //Btu/lbm //internal energy
+fy2=0.75042; fy1=0.58233;
+//Btu/lbm*R //Btu/lbm*R
+
+//The change in enthalpy is
+deltah=h2-h1; //Btu/lbm
+//The change in internal energy is
+deltau=u2-u1; //Btu/lbm
+printf("The change in enthalpy is %f Btu/lbm & the change in internal energy is %f Btu/lbm\n",deltah,deltau);
+//Because in the constant-pressure process -R*log(p2/p1) is zero,
+deltas=fy2-fy1; //Btu/lbm*R //The entropy when air is heated at constant pressure
+printf("The entropy when air is heated at constant pressure is %f Btu/lbm/R\n",deltas);