blob: 509a35042310ddba2c529e0568c9128709e52ef7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clear
//
//Given
//Variable declaration
L=2.5*1000 //Length in mm
w=16.4 //Uniformly distributed load in kN/m
I=7.95e7 //Moment of Inertia in mm^4
E=2e5 //Youngs modulus in N/sq.mm
//Calculation
W=w*L //Total load in N
yB=((W*L**3)/(E*I*8)) //Deflection at the free end in mm
//Result
printf("\n Deflection at the free end = %0.3f mm",yB)
|