diff options
Diffstat (limited to '3720/CH3/EX3.11/Ex3_11.sce')
-rw-r--r-- | 3720/CH3/EX3.11/Ex3_11.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3720/CH3/EX3.11/Ex3_11.sce b/3720/CH3/EX3.11/Ex3_11.sce new file mode 100644 index 000000000..edfb30db7 --- /dev/null +++ b/3720/CH3/EX3.11/Ex3_11.sce @@ -0,0 +1,16 @@ +// Example 3_11
+clc;clear;funcprot(0);
+// Given values
+rho_sw=1025;// The density of sea water in kg/m^3
+rho_con=2300;// The density of concrete in kg/m^3
+g=9.81;// The acceleration due to gravity in m/s^2
+
+// Calculation (a)
+V=0.4*0.4*3; // Volume of the block in m^3;
+F_air=(rho_con*g*V)/1000;// kN
+printf('Tension in rope must be equal to the weight of the block,F_air=%0.1f kN\n',F_air);
+// Calculation (b)
+F_b=(rho_sw*g*V)/1000;// kN
+printf('Balance force F_b=%0.1f kN\n',F_b);
+F_water=F_air-F_b;// kN
+printf('Tension in rope when it is completely immersed in water,F_water=%0.1f kN\n',F_water);
|