diff options
Diffstat (limited to '2975/CH24/EX24.18w')
-rw-r--r-- | 2975/CH24/EX24.18w/Ex24_18w.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2975/CH24/EX24.18w/Ex24_18w.sce b/2975/CH24/EX24.18w/Ex24_18w.sce new file mode 100644 index 000000000..d969bb713 --- /dev/null +++ b/2975/CH24/EX24.18w/Ex24_18w.sce @@ -0,0 +1,23 @@ +//developed in windows 8 operating system 64bit
+//platform Scilab 5.4.1
+//example 24_18w
+
+clc;clear;
+//Given Data
+
+temperature=300; //Temperature of the water vapour (Unit: Kelvin)
+volume=1; //Volume of the water vapour(Unit : m^3)
+molecular_weight_water=18; //Molecular weight of the water (Unit: g/mol)
+r=8.3; //Gas constant (Unit: J/mol-K)
+relative_humidity=50/100; //Relative humidity of the air (Unit: percentage)
+pressure=3.6*10^3; //Pressure of the water vapour (Unit: Pascal)
+
+//Formula: PV=nRT
+
+//Calculation
+
+mass_of_vapour=molecular_weight_water*pressure*volume/(r*temperature); //Calculation of mass of vapour (Unit: gram)
+
+amount_vapour=relative_humidity*mass_of_vapour; //Calculation of vapour after considering relative humidity (Unit : gram)
+
+disp(amount_vapour,"As the relative humidity is 50% , the amount of vapour present in 1 m^3 is (Unit : gram)");
|