blob: 46dcb2ca28c6514641f2e01dea9f5599aa3b259a (
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
|
clear
//
//
//Initilization of Variables
E=2*10**5 //N/mm**2 //Youngs Modulus
I=180*10**6 //mm**4 //M.I
W1=20 //N/m //u.d.l
W2=20*10**3 //N //Pt load
L=3000 //m //Span of beam
a=2000 //m //Span of u.d.l
//Calculations
//Displacement of free End due to 20 KN Pt load at free end
dell1=W2*L**3*(3*E*I)**-1 //mm
//Displacement of free end due to u.d.l
dell2=W1*a**4*(8*E*I)**-1+(L-a)*W1*a**3*(6*E*I)**-1
//Deflection at free end
dell=dell1+dell2 //mm
//Result
printf("\n The Displacement of Free End of cantilever beam is %0.2f mm",dell)
|