summaryrefslogtreecommitdiff
path: root/509/CH12/EX12.2/12_2.sci
diff options
context:
space:
mode:
Diffstat (limited to '509/CH12/EX12.2/12_2.sci')
-rw-r--r--509/CH12/EX12.2/12_2.sci25
1 files changed, 25 insertions, 0 deletions
diff --git a/509/CH12/EX12.2/12_2.sci b/509/CH12/EX12.2/12_2.sci
new file mode 100644
index 000000000..0ad4b794a
--- /dev/null
+++ b/509/CH12/EX12.2/12_2.sci
@@ -0,0 +1,25 @@
+//Chapter 12 Example 2//
+clc
+clear
+// safety factor=w,maximum strength=s,working stress=t//
+sf=2;
+s=800;// in kg//
+t=s/sf;
+printf("\n Working stress = %.2f kg\n",t);
+// height of one support=h,height of support at other end=h1//
+h=70;
+h1=40;
+// length of span=l,distance of minimum point from the lower support=x1//
+l=160;
+w=0.35;// in kg/m //
+x1=(l/2)-((t*(h-h1))/(w*l));
+printf("\n Minimum point is at distance of %.2f m from lower support.\n",x1);
+h2=65;
+x1=(l/2)-((t*(h-h2))/(w*l));
+printf("\n Minimum point is at distance of %.2f m from lower span.\n",x1);
+// Thus the minimum point lies inside the span i.e 44.29 m from lower span//
+// sag from lower support =d1//
+d1=(w*x1^2)/(2*t);
+printf("\n Distance of sag from lower support = %.2f m\n",d1);
+mgc=h2-d1;
+printf("\n The minimum ground clearance = %.2f m\n",mgc); \ No newline at end of file