blob: 30a06d6be4875910260c95687c7a5204c40193b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear//
//Variable Declaration
//The computation is mostly variable based hence values will be directly declared
C1=19.20*10**3 //lb.ft^2
C2=-131.6*10**3 //lb.ft^2
C3=14.7*10**3 //lb.ft^2
C4=-112.7*10**3 //lb.ft^2
EI=10**7 //Flexural Rigidity in psi
//Calculations
v=-(C2*12**3)/(EI*40) //Displacement in inches
//Result
printf("\n The maximum displacement is %0.3f in downwards",v)
|