summaryrefslogtreecommitdiff
path: root/3863/CH13/EX13.10/Ex13_10.sce
blob: 441d324eaa06dd3de3df5046f347201e9d4094a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
clear
//

//Given
//Variable declaration
L=4*1000           //Length in mm
w=50               //load at fixed end in N/mm
I=1e8              //Moment of Inertia in mm^4
E=2e5              //Youngs modulus in N/sq.mm

//Calculation
//case(i):Slope at the free end
thetaB=(-(w*(L**3))/(24*E*I))

//case(ii):Deflection at the free end
yB=((w*L**4)/(E*I*30))


//Result
printf("\n Slope at the free end = %0.3f  rad",-thetaB)
printf("\n Deflection at the free end = %0.3f  mm",yB)