summaryrefslogtreecommitdiff
path: root/1793/CH6/EX6.2/6q2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1793/CH6/EX6.2/6q2.sce')
-rwxr-xr-x1793/CH6/EX6.2/6q2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1793/CH6/EX6.2/6q2.sce b/1793/CH6/EX6.2/6q2.sce
new file mode 100755
index 000000000..d91e18f16
--- /dev/null
+++ b/1793/CH6/EX6.2/6q2.sce
@@ -0,0 +1,13 @@
+clc
+//initialisation of variables
+G= 2.6
+LL= 20
+P= 20
+//calclations
+R= (4804574*G-195.55*(LL)^2+156971*(P)^0.5-9527830)^0.5
+n= (1.195e-4)*((LL)^2)-1.964*G-(6.617e-5)*(P)+7.651
+w= %e^n
+//results
+printf ('maximum dry density = % f kg/m^3 ',R)
+printf ('optimum moisture content = % 2f ',w)
+