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 --- 632/CH8/EX8.4/example8_4.sce | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 632/CH8/EX8.4/example8_4.sce (limited to '632/CH8/EX8.4') diff --git a/632/CH8/EX8.4/example8_4.sce b/632/CH8/EX8.4/example8_4.sce new file mode 100755 index 000000000..5641e88f7 --- /dev/null +++ b/632/CH8/EX8.4/example8_4.sce @@ -0,0 +1,27 @@ +//clc() +Pa = 15;//kPa ( partial pressure of acetone) +Ptotal = 101.3;//kPa +Mfr = Pa / Ptotal; +disp(Mfr,"(a)Mole fraction of acetone = ") +Macetone = 58.048; +Mnitrogen = 28; +mafr = Mfr * Macetone / ( Mfr * Macetone + (1-Mfr)* Mnitrogen ); +disp(mafr,"(b)Weight fraction of acetone = ") +Y = Mfr / ( 1 - Mfr ); +disp("moles of acetone/moles of nitrogen",Y,"(c)Molal humidity = ") +Y1 = Y * Macetone / Mnitrogen ; +disp("kg acetone/kg nitrogen",Y1,"(d)Absolute humidity = ") +Pas = 26.36;//kPa ( vapour pressure) +Ys = Pas / ( Ptotal - Pas);//saturation humidity +disp("moles of acetone/moles of nitrogen",Ys,"(e)Saturation humidity = ") +Y1s = Ys * Macetone / Mnitrogen; +disp("kg acetone/kg nitrogen",Y1s,"(f)Absolute saturation humidity = ") +V = 100;//m^3 +Vstp =22.4143;//m^3/kmol +Pstp = 101.3;//kPa +Tstp = 273.15;//K +T = 295;//K +N = V * Ptotal * Tstp / (Vstp * Pstp * T ); +Nacetone = N * Mfr; +macetone = Nacetone * Macetone; +disp("kg",macetone,"(g)Mass of acetone in 100m^3 of the total gas = ") \ No newline at end of file -- cgit