summaryrefslogtreecommitdiff
path: root/3705/CH6/EX6.12/Ex6_12.sce
blob: ce78f3d188102aa827775002d6ee9a6bf79ea3c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

clear//

//Variable Declaration
wo=600 //Load in N/m
L=6 //Span of the beam in m
b=2 //Distance of the load from end in m
a=1 //Distance of the load from end in m

//Calulations
EI_delta1=wo*384**-1*(5*L**4-12*L**2*b**2+8*b**4) //Deflection in N.m^3
EI_delta2=wo*96**-1*a**2*(3*L**2-2*a**2) //Deflection in N.m^3

EI_delta=EI_delta1-EI_delta2 //Total Delfection at midspan in N.m^3

//Result
printf("\n The total Deflection at midpsan is %0.0f N.m^3 downwards",EI_delta)