summaryrefslogtreecommitdiff
path: root/3772/CH6/EX6.12/Ex6_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3772/CH6/EX6.12/Ex6_12.sce')
-rw-r--r--3772/CH6/EX6.12/Ex6_12.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/3772/CH6/EX6.12/Ex6_12.sce b/3772/CH6/EX6.12/Ex6_12.sce
new file mode 100644
index 000000000..a5cbe7c4b
--- /dev/null
+++ b/3772/CH6/EX6.12/Ex6_12.sce
@@ -0,0 +1,30 @@
+// Problem no 6.12,Page No.163
+
+clc;clear;
+close;
+
+L=4 //m //Length of Beam
+
+//calculations
+
+//Consider a section at distance x from A and B.M at this section is
+//M=P*(3-x)-10*x**2+90*x-195
+
+//Now //EI*d**2*y*d**2*x=-P*(3-x)+10*x**2-90*x+195
+
+//On Integrating above equation we get
+//E*I*dy*dx**-1=-P*(3*x-x**2*2**-1)+10*x**3*2**-1-45*x**2+195*x+C_1
+
+//Again On Integrating above equation we get
+//E*I*y=-P*(3*x**2*2**-1-x**3*6**-1)+10*x**4*12**-1-15*x**3+195*x**2*2**-1+C_1*x+C_2
+
+//But at x=0,dy*dx**-1=0 we get ,C_1=0
+// x=0,y=0 we get ,C_2=0
+//At x=3 m,y=0
+x=3
+C_1=0
+C_2=0
+P=(10*x**4*12**-1-15*x**3+195*x**2*2**-1+C_1*x+C_2)*(3*x**2*2**-1-x**3*6**-1)**-1
+
+//Result
+printf("Load taken by prop is %.2f",P);printf(" KN")