summaryrefslogtreecommitdiff
path: root/1052/CH29/EX29.7/297.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1052/CH29/EX29.7/297.sce
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 '1052/CH29/EX29.7/297.sce')
-rwxr-xr-x1052/CH29/EX29.7/297.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1052/CH29/EX29.7/297.sce b/1052/CH29/EX29.7/297.sce
new file mode 100755
index 000000000..41ce28ad0
--- /dev/null
+++ b/1052/CH29/EX29.7/297.sce
@@ -0,0 +1,15 @@
+clc;
+//Example 29.7
+//page no 461
+printf("\Example 29.7 page no 461\n\n");
+//a reactor is located in a relatively large laboratory,the reactor can emit as much as of hydrocarbon into the room if a safety valves ruptures
+v=1100//volume of reactor,m^3
+T=295//temperature of reactor,K
+v_s=0.0224//volume of gas at STP,m^3
+T_s=273//standard temperature,K
+n_air=(v/v_s)*(T_s/T)//total gmoles of air in the room
+printf("\n n_air=%f gmol",n_air);
+v_r=0.75//Hydrocarbon emit by reactor,gmol
+x_hc= (v_r/(n_air + v_r))*10^9//mole fraction of hydrocarbon in the room,parts per billion
+printf("\n mole fraction of HC x_hc=%f ppb ",x_hc);
+