blob: 91eaded52bc8d2ce6ea10482c00499793d0c1bf8 (
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
|
clc
//
//Variable declaration
cosB=12/13.0
//Calculation
//Centroid
Y=((2*65*3*30)/((2*65*3)+((50)*(3)))) // Distance y(mm)
//Centroidal Moment of Inertia
b=(3)/(cosB) // Distance(mm)
I=2*((1/12.0)*(3.25)*((60**3)) + (3.25)*(60)*((8.33**2))) + ((1/12.0)*(50)*((3**3)) + (50)*(3)*((21.67**2)))// Moment of inertia(mm**4)
I=(I/((10**12))) // Moment of inertia(m**4)
//Shearing Stress at A
ta=0
//Maximum Shearing Stress
Q=(3.25*38.33*(38.33/2.0))
tE=((5)*(2.387*((10**-6))))/((0.2146*((10**-6)))*(0.003))
tE=(tE/1000.0) // Largest shearing stress
// Result
printf("\n Case(a) Shearing stress at A = %0.3f ksi' ,ta)
printf("\n Case(a) Maximum shearing stress = %0.3f MPa' ,tE)
|