diff options
Diffstat (limited to '557/CH12/EX12.2/2.sce')
-rwxr-xr-x | 557/CH12/EX12.2/2.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/557/CH12/EX12.2/2.sce b/557/CH12/EX12.2/2.sce new file mode 100755 index 000000000..07307815d --- /dev/null +++ b/557/CH12/EX12.2/2.sce @@ -0,0 +1,22 @@ +clc; funcprot(0); //Example 12.2
+
+//Initializing the variables
+Vp =12;
+lp = 40;
+lm = 1;
+As = 2500;
+Dm = 32;
+rhoP = 1025;
+rhoM = 1000;
+Ap = As;
+
+//Calculations
+Am = As/40^2;
+Vm = Vp*sqrt(lm/lp);
+Dfm = 3.7*Vm^1.95*Am;
+Rm = Dm - Dfm;
+Rp = Rm *(rhoP/rhoM)*(lp/lm)^2*(Vp/Vm)^2;
+Dfp = 2.9*Vp^1.8*Ap;
+Dp = Rp + Dfp;
+
+disp(Dp/1000,"Expected total resistance (kN) :");
\ No newline at end of file |