diff options
Diffstat (limited to '689/CH3/EX3.1/1.sce')
-rw-r--r-- | 689/CH3/EX3.1/1.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/689/CH3/EX3.1/1.sce b/689/CH3/EX3.1/1.sce new file mode 100644 index 000000000..331eb6908 --- /dev/null +++ b/689/CH3/EX3.1/1.sce @@ -0,0 +1,16 @@ +clc; funcprot(0);
+//Example 3.1 Equation of states
+
+// Initialisation of variables
+T = 45+459.4;
+P = 25.93;
+P0 = 29.92;
+T0 = 518.4;
+rho_0 = 0.002378
+
+// Calculations
+rho = P*rho_0*T0/(P0*T);
+
+//Results
+disp(rho , "Density of dry air when pressure is 25.93 inch (pound/inch3):");
+
|