summaryrefslogtreecommitdiff
path: root/3772/CH12/EX12.1/Ex12_1.sce
blob: d9006f99325e3e29fed0d1a4b9b4ba9585511932 (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
// Problem no 12.1,Page No.286

clc;clear;
close;

L=6 //m //Length of Beam
L_1=4 //m //Length of Beam with udl Load
w=10 //KN/m //u.d.l

//Calculation

//Deflection of cantileverat C due to udl on AB
y_c=w*L_1**4*8**-1+w*L_1**3*6**-1*(L-L_1) 

//Deflection of cantileverat C due to prop reaction alone
//y_c_2=R_c*L**3*3**-1

//Since both Deflection are Equal
//y_c=y_c_2

R_c=y_c*(6**3)**-1*3 //Reaction at C

//Result
printf("The Reaction at End C is %.3f kN",R_c)