diff options
Diffstat (limited to '680/CH2/EX2.05/2_05.sce')
-rwxr-xr-x | 680/CH2/EX2.05/2_05.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/680/CH2/EX2.05/2_05.sce b/680/CH2/EX2.05/2_05.sce new file mode 100755 index 000000000..6e8cc6362 --- /dev/null +++ b/680/CH2/EX2.05/2_05.sce @@ -0,0 +1,11 @@ +//Problem 2.05:
+
+//initializing the variables:
+sgm = 0.92;
+dw = 62.4; // in lb/ft3
+
+//calculation:
+dm = sgm*dw
+
+printf("\n\nResult\n\n")
+printf("\n the density of methanol is %.1f lb/ft3\n",dm)
|