summaryrefslogtreecommitdiff
path: root/3772/CH12/EX12.3/Ex12_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3772/CH12/EX12.3/Ex12_3.sce')
-rw-r--r--3772/CH12/EX12.3/Ex12_3.sce40
1 files changed, 40 insertions, 0 deletions
diff --git a/3772/CH12/EX12.3/Ex12_3.sce b/3772/CH12/EX12.3/Ex12_3.sce
new file mode 100644
index 000000000..4fb5ae117
--- /dev/null
+++ b/3772/CH12/EX12.3/Ex12_3.sce
@@ -0,0 +1,40 @@
+// Problem no 12.3,Page No.287
+
+clc;clear;
+close;
+
+L=6 //m //span of beam
+w=30*10**3 //KN/m //u.d.l
+P=160*10**3 //N //concentrated Load
+
+//Calculations
+
+//Consider a section at a distance x from the fixed end A and B.M at x
+//M_x=R_b*(6-x)-30*2**-1*(6-x)**2-160*(3-x)
+
+//E*I*d**2y*(dx**2)**-1=-M_x=-R_b*(6-x)+15*(6-x)+160*(3-x)
+
+//Now Integrating above term we get
+//E*I*dy*(dx)**-1=R_b*2**-1*(6-x)**2-5*(6-x)**3-80*(3-x)**2+C_1 (Equation 1)
+
+//Now on Integrating we get
+//E*I*y=-R_b*6**-1*(6-x)**3+5*4**-1*(6-x)**2+80*3**-1*(3-x)**3+C_1*x+C_2 (Equation 2)
+
+//At x=0,dy*dx**-1=0
+//substituting in equation 1 we get
+//C_1=1800-R_b
+
+//At x=0,y=0
+//substituting in equation 2 we get
+//C_2=36*R_b-2340
+
+//At x=6,y=0
+R_b=72**-1*(10800-2340)
+
+//At x=0
+x=0
+M_x=R_b*(6-x)-30*2**-1*(6-x)**2-160*(3-x)
+
+//Result
+printf("Bending Moment at A is %.2f",M_x);printf(" KNm")
+printf("\n The Reaction at B %.2f",R_b);printf(" KN")