summaryrefslogtreecommitdiff
path: root/1793/CH3/EX3.3/3Q3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1793/CH3/EX3.3/3Q3.sce')
-rwxr-xr-x1793/CH3/EX3.3/3Q3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1793/CH3/EX3.3/3Q3.sce b/1793/CH3/EX3.3/3Q3.sce
new file mode 100755
index 000000000..c9959bde8
--- /dev/null
+++ b/1793/CH3/EX3.3/3Q3.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+n= 0.4
+G= 2.68
+w= 0.12
+R= 1000 //kg/m^3
+V= 10 //m^3
+//calculations
+d= G*R*(1-n)*(1+w)
+s= ((1-n)*G+n)*R
+M= s-d
+m= M*V
+//results
+printf ('mass of water to be added for full saturation = % f kg ',m)