summaryrefslogtreecommitdiff
path: root/884/CH1/EX1.8/Example1_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '884/CH1/EX1.8/Example1_8.sce')
-rwxr-xr-x884/CH1/EX1.8/Example1_8.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/884/CH1/EX1.8/Example1_8.sce b/884/CH1/EX1.8/Example1_8.sce
new file mode 100755
index 000000000..b08c873a9
--- /dev/null
+++ b/884/CH1/EX1.8/Example1_8.sce
@@ -0,0 +1,14 @@
+// Dimensional Analysis
+
+clear;
+clc;
+
+printf("\t Example 1.8\n");
+
+gpcc=0.808;//density in gram per cm^3
+
+kgpmc=1000*gpcc;//g/cm^3 to kg/m^3, as 1000g=1kg and 1cm=10^-2 m
+
+printf("\t the density of liquid nitrogen is : %3.0f kg/m^3\n",kgpmc);
+
+//End