summaryrefslogtreecommitdiff
path: root/797/CH3/EX3.11.s
diff options
context:
space:
mode:
Diffstat (limited to '797/CH3/EX3.11.s')
-rw-r--r--797/CH3/EX3.11.s/3_11_solution.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/797/CH3/EX3.11.s/3_11_solution.sce b/797/CH3/EX3.11.s/3_11_solution.sce
new file mode 100644
index 000000000..d1eff4477
--- /dev/null
+++ b/797/CH3/EX3.11.s/3_11_solution.sce
@@ -0,0 +1,12 @@
+//Solution 3-11
+WD=get_absolute_file_path('3_11_solution.sce');
+datafile=WD+filesep()+'3_11_example.sci';
+clc;
+exec(datafile)
+//(a)
+F_Tair = rho_block * V * g;
+printf("Tension in the rope of crane \n1.block suspended in air= %1.2f N", F_Tair/1000);
+//(b)
+F_B = rho_seawater * g * V; //bouyancy force
+F_Twater = F_Tair - F_B; //net force in downward diretion
+printf("\n2.block suspended in seawater= %1.2f kN", F_Twater / 1000);