summaryrefslogtreecommitdiff
path: root/3764/CH6/EX6.03/Ex6_03.sce
blob: 15b76f86eb4eb86bc864d9c829cc774d811f85ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clc
//
//
//Variable declaration
l=0.020                                                                           // Length(m)
b=0.100                                                                           // Breadth(m)
V=500                                                                             // Vertical shear(N)
y=0.060                                                                           // Distance(m)

//Calculation         
A=l*b                                                                             // Area(m**2)
Q=A*y                                                                             // First moment of an area with respect to a given axis
I=(1/12.0)*(0.020)*(0.1**3) + 2*((1/12.0)*(0.1)*(0.02**3) + (0.020*0.1)*(0.06**2))    // Moment of inertia(m**4)    
q=(V*Q)/(I)                                                                       
F=(0.025)*q                                                                       // Shearing force in each nail(N)

// Result
printf("\n Shearing force in each nail is = %0.3f N' ,F)