summaryrefslogtreecommitdiff
path: root/3772/CH6/EX6.12/Ex6_12.sce
blob: a5cbe7c4b68e23d24adf3a2f49ba38079c86ce68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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")