diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2507/CH5/EX5.10 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2507/CH5/EX5.10')
-rwxr-xr-x | 2507/CH5/EX5.10/Ex5_10.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2507/CH5/EX5.10/Ex5_10.sce b/2507/CH5/EX5.10/Ex5_10.sce new file mode 100755 index 000000000..56801bd96 --- /dev/null +++ b/2507/CH5/EX5.10/Ex5_10.sce @@ -0,0 +1,18 @@ +clc
+clear
+printf("Example 5.10 | Page number 131 \n\n");
+//Find the mass of air entering and temperature of air in vessel
+
+//Given Data
+m1 = 0.8 //kg //initial mass of air
+p1 = 150 //kPa //initial pressure of air
+T1 = 300 //K //initial temperature of air
+p_p = 600 //kPa //pressure of air in pipe
+T_p = 330 //K // temperature of air in pipe
+
+//Solution
+m2T2 = (p_p/p1)*T1*m1
+m2 = ((0.718*(m2T2/m1-T1))/(331.65)*m1)+m1 //kg //final mass of air
+printf("Mass of air entering in vessel = %.4f kg\n",m2-m1)
+T2 = m2T2/m2 //K //Temperature of air in vessel
+printf("Temperature of air in vessel = %.1f K",T2)
|