diff options
Diffstat (limited to '3856/CH19/EX19.2')
-rw-r--r-- | 3856/CH19/EX19.2/Ex19_2.sce | 25 | ||||
-rw-r--r-- | 3856/CH19/EX19.2/Ex19_2.txt | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/3856/CH19/EX19.2/Ex19_2.sce b/3856/CH19/EX19.2/Ex19_2.sce new file mode 100644 index 000000000..a5b679d48 --- /dev/null +++ b/3856/CH19/EX19.2/Ex19_2.sce @@ -0,0 +1,25 @@ +//Calculate the Partial pressure of Oxygen at an altitude of 30 km (stratosphere)
+
+//Example 19.2
+
+clc;
+
+clear;
+
+Po=0.20; //Partial pressure of Oxygen at an sea level in atm
+
+g=9.81; //Gravitational constant in m s^-2
+
+h=30*10^3; //height in m
+
+mew=0.03200; //Molar mass of Oxygen molucule in kg mol^-1
+
+R=8.314; //Gas constant in J K^-1 mol^-1
+
+T=25+273; //Temperarure in K
+
+P=Po*(exp(-(g*mew*h)/(R*T))); //Partial pressure of Oxygen at an altitude of 30 km (stratosphere)in atm
+
+printf("Partial pressure of Oxygen at an altitude of 30 km = %.1f*10^-3 atm",P*10^3);
+
+
diff --git a/3856/CH19/EX19.2/Ex19_2.txt b/3856/CH19/EX19.2/Ex19_2.txt new file mode 100644 index 000000000..66b065d56 --- /dev/null +++ b/3856/CH19/EX19.2/Ex19_2.txt @@ -0,0 +1 @@ + Partial pressure of Oxygen at an altitude of 30 km = 4.5*10^-3 atm
\ No newline at end of file |