summaryrefslogtreecommitdiff
path: root/629/CH3/EX3.4
diff options
context:
space:
mode:
Diffstat (limited to '629/CH3/EX3.4')
-rw-r--r--629/CH3/EX3.4/ex3_4.txt3
-rw-r--r--629/CH3/EX3.4/example3_4.sce12
2 files changed, 15 insertions, 0 deletions
diff --git a/629/CH3/EX3.4/ex3_4.txt b/629/CH3/EX3.4/ex3_4.txt
new file mode 100644
index 000000000..90496176e
--- /dev/null
+++ b/629/CH3/EX3.4/ex3_4.txt
@@ -0,0 +1,3 @@
+
+The pressure at an elevation of 2000m = 80.0 kPa absolute.
+ \ No newline at end of file
diff --git a/629/CH3/EX3.4/example3_4.sce b/629/CH3/EX3.4/example3_4.sce
new file mode 100644
index 000000000..85e93b313
--- /dev/null
+++ b/629/CH3/EX3.4/example3_4.sce
@@ -0,0 +1,12 @@
+clear
+clc
+//Example 3.4 PRESSURE IN THE TROPOSPHERE
+p0=101.3; //absolute pressure[kPa]
+T0=23+273; //absolute temp.[K]
+alpha=5.87*10^-3; //[K/m]
+delz=2000; //[m](delz=z-z0)
+k=5.823; //(k=g/alpha*R)
+
+//Pressure equation in troposphere
+p=p0*((T0-alpha*delz)/T0)^k //[kPa]
+printf("\nThe pressure at an elevation of 2000m = %.1f kPa absolute.\n",p) \ No newline at end of file