summaryrefslogtreecommitdiff
path: root/632/CH3/EX3.9/example3_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '632/CH3/EX3.9/example3_9.sce')
-rwxr-xr-x632/CH3/EX3.9/example3_9.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/632/CH3/EX3.9/example3_9.sce b/632/CH3/EX3.9/example3_9.sce
new file mode 100755
index 000000000..d0ba3da67
--- /dev/null
+++ b/632/CH3/EX3.9/example3_9.sce
@@ -0,0 +1,14 @@
+//clc()
+m1 = 10;//kg
+m2 = 5;//kg
+sp.g1 = 1.17;
+sp.g2 = 0.83;
+Dwater = 1000;//kg/m^3
+DA = Dwater * sp.g1;
+DB = Dwater * sp.g2;
+V1 = m1 / DA;
+V2 = m2 / DB;
+V = V1 + V2;
+Dmix = (m1 + m2)/ V ;
+sp.g3 = Dmix / Dwater;
+disp(sp.g3,"specific gravity of mixture =") \ No newline at end of file