summaryrefslogtreecommitdiff
path: root/632/CH3/EX3.8/example3_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '632/CH3/EX3.8/example3_8.sce')
-rwxr-xr-x632/CH3/EX3.8/example3_8.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/632/CH3/EX3.8/example3_8.sce b/632/CH3/EX3.8/example3_8.sce
new file mode 100755
index 000000000..3d98d1734
--- /dev/null
+++ b/632/CH3/EX3.8/example3_8.sce
@@ -0,0 +1,8 @@
+//clc()
+m1 = 1;//kg (mass in air)
+m2 = 0.9;//kg (mass in water)
+m3 = 0.82;//kg (mass in liquid)
+L1 = m2 - m1;//kg (loss of mass in water)
+L2 = m3 - m1;//kg (loss of mass in liquid)
+sp.g = L2 /L1;
+disp(sp.g,"specific gravity of liquid = ") \ No newline at end of file