diff options
Diffstat (limited to '1205/CH6/EX6.7')
-rw-r--r-- | 1205/CH6/EX6.7/S_6_7.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/1205/CH6/EX6.7/S_6_7.sce b/1205/CH6/EX6.7/S_6_7.sce new file mode 100644 index 000000000..8fa50ec95 --- /dev/null +++ b/1205/CH6/EX6.7/S_6_7.sce @@ -0,0 +1,21 @@ +clc;
+//Part 1
+printf("By theoritical calculation we getb F_DH=W*cos(theta)/sin(theta)\n");
+printf("Therefore result obtained is independant of d\n");
+//Given data
+
+a=0.70;//m
+theta=60;//degree
+theta=theta*%pi/180;//radian, conversion into radian
+L=3.20;//m
+m=1000;//kg, mass of crate
+g=9.81;//m/s^2, acceleration due to gravity
+
+DH=sqrt(a^2+L^2-2*a*L*cos(theta));//m, by cosine rule
+W=m*g;//N, wight of crate
+W=W/1000;//kN, conversion into kN
+//Recalling equation got from theoritical part
+EH=L;//m
+F_DH=W*DH/EH/tan(theta);//kN, Force exerted by cylinder
+
+printf("Force exerted by each cylinder is F_DH=%.2f kN \n",F_DH);
|