summaryrefslogtreecommitdiff
path: root/3864/CH4/EX4.24/Ex4_24.sce
blob: 5b2e0cad5774d8cc0386fa32af621a25cec7c449 (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
31
32
33
34
35
36
37
38
39
40
clear
//

//Initilization of Variables

L=4000 //mm //span

//Rectangular Cross-section
b=100 //mm //Width
d=200 //mm //Thickness

F_per=10 //N/mm**2 //Max Bending stress
q_max=0.6 //N/mm**2 //Shear stress

//Calculations

//If the Load W is in KN/m

//Max shear Force
//F=w*l*2**-1 //KN
//After substituting values and further simplifying we get
//M=2*w //KN-m

//Max Load from Consideration of moment
//M=1*6**-1*b*d**2*F_per
//After substituting values and further simplifying we get
w=(1*6**-1*b*d**2*F_per)*(2*10**6)**-1 //KN/m

//Max Load from Consideration of shear stress
//q_max=1.5*F*(b*d)**-1 //N
//After substituting values and further simplifying we get
F=q_max*(1.5)*b*d //N

//If w is Max Load in KN/m,then
//2*w*1000=8000
//After Rearranging and Further simplifying we get
w2=8000*(2*1000)**-1 //KN/m

//Result
printf("\n Uniformly Distributed Load Beam can carry is %0.2f  KN/m",w)