summaryrefslogtreecommitdiff
path: root/689/CH3/EX3.2
diff options
context:
space:
mode:
Diffstat (limited to '689/CH3/EX3.2')
-rw-r--r--689/CH3/EX3.2/2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/689/CH3/EX3.2/2.sce b/689/CH3/EX3.2/2.sce
new file mode 100644
index 000000000..8ca4c518e
--- /dev/null
+++ b/689/CH3/EX3.2/2.sce
@@ -0,0 +1,18 @@
+clc; funcprot(0);
+//Example 3.2 Equation of states
+
+// Initialisation of variables
+T = -10+459.4;
+P = 16.38;
+P0 = 29.92;
+T0 = 518.4;
+rho_0 = 0.002378
+g = 32.1740;
+
+// Calculations
+rho = P*rho_0*T0/(P0*T);
+W = rho*g;
+
+//Results
+disp(W , "Spwcific gravity of dry air (lb/ft3):");
+