summaryrefslogtreecommitdiff
path: root/896/CH1/EX1.1/1.sce
diff options
context:
space:
mode:
Diffstat (limited to '896/CH1/EX1.1/1.sce')
-rwxr-xr-x896/CH1/EX1.1/1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/896/CH1/EX1.1/1.sce b/896/CH1/EX1.1/1.sce
new file mode 100755
index 000000000..f4b49adca
--- /dev/null
+++ b/896/CH1/EX1.1/1.sce
@@ -0,0 +1,13 @@
+clc
+//let the total mass of mud be 100lbm
+m_total=100;//lbm
+//70% by wt of mud is sand(SiO2)and remaining is water
+m_sand=0.7*m_total;//lbm
+m_water=0.3*m_total;//lbm
+rho_sand=165;//lbm/ft^3
+rho_water=62.5;//lbm/ft^3
+//rho=mass/volume
+rho_mud=m_total/((m_sand/rho_sand)+(m_water/rho_water));
+disp("The density of mud=")
+disp(rho_mud)
+disp("lbm/ft^3") \ No newline at end of file