From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1052/CH29/EX29.7/297.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 1052/CH29/EX29.7/297.sce (limited to '1052/CH29/EX29.7/297.sce') 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); + -- cgit