diff options
Diffstat (limited to '3705/CH5')
-rw-r--r-- | 3705/CH5/EX5.10/Ex5_10.sce | 24 | ||||
-rw-r--r-- | 3705/CH5/EX5.11/Ex5_11.sce | 21 | ||||
-rw-r--r-- | 3705/CH5/EX5.2/Ex5_2.sce | 48 | ||||
-rw-r--r-- | 3705/CH5/EX5.3/Ex5_3.sce | 24 | ||||
-rw-r--r-- | 3705/CH5/EX5.4/Ex5_4.sce | 12 | ||||
-rw-r--r-- | 3705/CH5/EX5.5/Ex5_5.sce | 22 | ||||
-rw-r--r-- | 3705/CH5/EX5.6/Ex5_6.sce | 23 | ||||
-rw-r--r-- | 3705/CH5/EX5.7/Ex5_7.sce | 32 | ||||
-rw-r--r-- | 3705/CH5/EX5.8/Ex5_8.sce | 24 |
9 files changed, 230 insertions, 0 deletions
diff --git a/3705/CH5/EX5.10/Ex5_10.sce b/3705/CH5/EX5.10/Ex5_10.sce new file mode 100644 index 000000000..a2bf0f093 --- /dev/null +++ b/3705/CH5/EX5.10/Ex5_10.sce @@ -0,0 +1,24 @@ + +clear//
+
+//Variable Declaration
+sigma_w=1000 //Working Stress in Bending in psi
+tau_w=100 //Working stress in shear in psi
+//Dimensions
+b_out=8 //Width in inches
+h=10 //Depth in inches
+b_in=6 //Width in inches
+
+//Calculations
+I=((b_out*h**3)-(b_in*b_out**3))*12**-1 //Moment of inertia in in^4
+//Design for shear
+Q=(b_out*h*0.5*0.25*h)-(b_in*b_out*0.5*0.25*b_out) //First Moment about NA in in^3
+
+//Largest P
+P=(tau_w*I*2)/(1.5*Q) //P in shear in lb
+
+//Design for bending
+P1=(sigma_w*I)/(60*5) //P in bending in lb
+
+//Result
+printf("\n The maximum allowable P value is %0.0f lb",min(P,P1))
diff --git a/3705/CH5/EX5.11/Ex5_11.sce b/3705/CH5/EX5.11/Ex5_11.sce new file mode 100644 index 000000000..8497a6f3a --- /dev/null +++ b/3705/CH5/EX5.11/Ex5_11.sce @@ -0,0 +1,21 @@ + +clear//
+
+//Variable Declaration
+A=2630 //Area in mm^2
+y_bar=536.6 //Neutral Axis depth from top in mm
+tau_w=100 //Allowable stress in MPa
+sigma_b_w=280 //Allowable bending stress in MPa
+d=0.019 //Diameter of the rivet in m
+t_web=0.01 //Thickness of the web in m
+I=4140 //Moment of inertia in m^4
+V=450 //Max shear allowable in kN
+
+//Calculations
+Q=A*y_bar //first moment in mm^3
+Fw=(%pi*d**2)*tau_w*10**6 //Allowable force in N
+Fw_2=d*t_web*sigma_b_w*10**6*0.5 //Allowable force in N
+e=Fw_2*I*(V*10**3*Q*10**-3)**-1 //Allowable spacing in m
+
+//Result
+printf("\n The maximum spacing allowed is %0.1f mm",e*1000)
diff --git a/3705/CH5/EX5.2/Ex5_2.sce b/3705/CH5/EX5.2/Ex5_2.sce new file mode 100644 index 000000000..45506c5aa --- /dev/null +++ b/3705/CH5/EX5.2/Ex5_2.sce @@ -0,0 +1,48 @@ + +clear//
+
+//Variable Declaration
+wf=6 //Width of the top flange in inches
+df=0.8 //Depth of the top flange in inches
+dw=8 //Depth of the web portion in inches
+ww=0.8 //Width of the web portion in inches
+Ra=1600 //Reation at point A in lb
+Rb=3400 //Reaction at point B in lb
+w=400 //Load on the beam in lb/ft
+M_4=3200 //Moment at x=4 ft in lb.ft
+M_10=4000 //Moment at x=10 ft in lb.ft
+
+//Calculations
+//Preliminary Calculations
+//Area computation
+A1=dw*ww //Area of the web portion in sq.in
+A2=wf*df //Area of the top flange in sq.in
+y1=dw*0.5 //Centroid from the bottom of the web portion in inches
+y2=dw+df*0.5 //Centroid from the bottom of the flange portion in inches
+
+//y_bar computation
+y_bar=(A1*y1+A2*y2)/(A1+A2) //centroid of the section in inches from the bottom
+
+//Moment of Inertia computation
+I=(ww*dw**3*12**-1)+(A1*(y1-y_bar)**2)+(wf*df**3*12**-1)+(A2*(y2-y_bar)**2) //Moment of inertia in in^4
+
+//Maximum Bending Moment
+c_top=dw+df-y_bar //distance of top fibre in inches
+c_bot=y_bar //Distance of bottom fibre in inches
+
+//Stress at x=4 ft
+sigma_top=-(12*M_4*c_top)*I**-1 //Stress at top fibre in psi
+sigma_bot=12*M_4*c_bot*I**-1 //Stress at bottom fibre in psi
+
+//Stress at x=10 ft
+sigma_top2=M_10*12*c_top*I**-1 //Stress at the top fibre in psi
+sigma_bot2=-M_10*12*c_bot*I**-1 //Stress at the bottom fibre in psi
+
+//Maximum values
+[sigma_t] = (max(sigma_bot,sigma_bot2,sigma_top,sigma_top2))
+[sigma_c] = (min(sigma_top,sigma_top2,sigma_bot,sigma_bot2))
+
+//Result
+printf("\n The maximum values of stress are")
+printf("\n Maximum Tension= %0.0f psi at x=4ft",sigma_t)
+printf("\n Maximum Compression= %0.0f psi at x=10ft",-sigma_c)
diff --git a/3705/CH5/EX5.3/Ex5_3.sce b/3705/CH5/EX5.3/Ex5_3.sce new file mode 100644 index 000000000..b6b6448ce --- /dev/null +++ b/3705/CH5/EX5.3/Ex5_3.sce @@ -0,0 +1,24 @@ + +clear//
+
+//Variable Declaration
+L=4 //Length of each section in ft
+h_ab=4 //Thickness of the front section in inches
+h_bd=6 //Thickness of the back section in inches
+P=2000 //Point load acting at point A in lb
+M_B=8000 //Moment at 4ft in lb.ft
+M_D=16000 //Moment at x=8ft in lb.ft
+b=2 //Breadth in inches
+
+//Calculations
+S_ab=b*h_ab**2*6**-1 //Sectional Modulus of section AB in in^3
+S_bd=b*h_bd**2*6**-1 //Sectional Modulus of section BD in in^3
+sigma_B=12*M_B*S_ab**-1 //Maximum bending stress in psi
+sigma_D=12*M_D*S_bd**-1 //Maximum bending stress in psi
+
+//Maximum stress
+sigma_max=max(sigma_B,sigma_D) //Maximum stress in psi
+
+//Result
+printf("\n Comparing the two results we find that the maximum stress is")
+printf("\n Sigma_max= %0.0f psi",sigma_max)
diff --git a/3705/CH5/EX5.4/Ex5_4.sce b/3705/CH5/EX5.4/Ex5_4.sce new file mode 100644 index 000000000..94b980574 --- /dev/null +++ b/3705/CH5/EX5.4/Ex5_4.sce @@ -0,0 +1,12 @@ + +clear//
+
+//Variable Declaration
+M=15000 //Maximum bending moment in absolute values in lb.ft
+S=42 //Sectional Modulus in in^3
+
+//Calculations
+sigma_max=M*12*S**-1 //Maximum stress in the section in psi
+
+//Result
+printf("\n The maximum Bending Stress in the section is %0.0f psi",sigma_max)
diff --git a/3705/CH5/EX5.5/Ex5_5.sce b/3705/CH5/EX5.5/Ex5_5.sce new file mode 100644 index 000000000..ed515504c --- /dev/null +++ b/3705/CH5/EX5.5/Ex5_5.sce @@ -0,0 +1,22 @@ + +clear//
+
+//Variable Declaration
+M_max=60*10**3 //Maximum Bending Moment in kN.m
+sigma_w=120*10**6 //Maximum Bending Stress allowed in Pa
+M_max_2=61.52*10**3 //max bending moment computed in N.m
+
+//Section details
+mass=38.7 //Mass in kg/m
+g=9.81 //Acceleration due to gravity in m/s^2
+S=549*10**3 //Sectional modulus of the section in mm^3
+
+//Calculations
+S_min=M_max*sigma_w**-1*10**9 //Minimum Sectional Modulus required in mm^3
+
+//We selecet section W310x39
+w0=mass*g*10**-3 //Weight of the beam in kN/m
+sigma_max=M_max_2*S**-1*10**3 //Maximum stress in MPa
+
+//Result
+printf("\n The section chosen is W310x39 with maximum stress as %0.1f MPa",sigma_max)
diff --git a/3705/CH5/EX5.6/Ex5_6.sce b/3705/CH5/EX5.6/Ex5_6.sce new file mode 100644 index 000000000..80b492023 --- /dev/null +++ b/3705/CH5/EX5.6/Ex5_6.sce @@ -0,0 +1,23 @@ + +clear//
+
+//Variable Declaration
+V_max=24 //Maximum Shear in kN
+b=0.160 //Width of the beam in m
+h=0.240 //Depth of the beam in m
+
+//Calculations
+I=b*h**3*12**-1 //Moment of Inertia of the beam in m^4
+
+//Part 1
+Q=b*(h*3**-1)**2 //First moment of Area m^3
+tau_max=(V_max*Q)*(I*b)**-1 //Maximum Shear Stress in glue in kPa
+
+//Part 2
+tau_max_2=(3.0/2.0)*(V_max/(b*h)) //Shear Stress in kPa
+Q_1=b*h*0.5*h*0.25 //First moment about NA in m^3
+tau_maxx=(V_max*Q_1)/(I*b) //Shear stress in kPa
+
+//Result
+printf("\n The Results agree in both parts")
+printf("\n The maximum stress is %0.0f kPa",tau_max_2)
diff --git a/3705/CH5/EX5.7/Ex5_7.sce b/3705/CH5/EX5.7/Ex5_7.sce new file mode 100644 index 000000000..43c4cc5aa --- /dev/null +++ b/3705/CH5/EX5.7/Ex5_7.sce @@ -0,0 +1,32 @@ + +clear//
+
+//Variable Declaration
+I=310 //Moment of inertia in in^4
+V=160 //Shear Force in kips
+//Dimension defination
+tf=0.515 //Thickness of flange in inches
+de=11.94 //Effective depth in inches
+tw=0.295 //Thickness of web in inches
+wf=8.005 //Width of lange in inches
+
+//Calculations
+//Part 1
+Q=wf*tf*(de-tf)*0.5 //First moment about NA in inch^3
+tau_min=(V*Q*10**2)/(I*tw) //Minimum shear stress in web in psi
+
+//Part 2
+A_2=(de*0.5-tf)*tw //Area in in^3
+y_bar_2=0.5*(de*0.5-tf) //Depth in inches
+
+Q_2=Q+A_2*y_bar_2 //First Moment in inches^3
+
+tau_max=(V*Q_2*10**2)/(I*tw) //Maximum Shear Stress in psi
+
+//Part 3
+V_web=10.91*tw*(tau_min+((2*3**-1)*(tau_max-tau_min))) //Shear in the web in lb
+perV=(V_web/V)*100 //Percentage shear force in web in %
+t_max_final=V*10**3/(10.91*tw)
+
+//result
+printf("\n The final shear stress in the web portion is %0.0f psi",t_max_final)
diff --git a/3705/CH5/EX5.8/Ex5_8.sce b/3705/CH5/EX5.8/Ex5_8.sce new file mode 100644 index 000000000..fd5ca7985 --- /dev/null +++ b/3705/CH5/EX5.8/Ex5_8.sce @@ -0,0 +1,24 @@ + +clear//
+
+//Variable Declaration
+I=547 //Moment of inertia in inches^4
+d=8.9 //NA deoth in inches
+V=12 //Shear Force in kips
+h=7.3 //Depth of NA
+b=2 //Width in inches
+t=1.2 //Thickness in inches
+h2=7.5 //Depth in inches
+
+//Calculations
+//Shear Stress at NA
+Q=(b*h)*(h*0.5) //First Moment about NA in in^3
+tau=(V*10**3*Q)/(I*b) //Shear stress at NA in psi
+
+//Shear Stress at a-a
+Q_1=(t*h2)*(d-h2*0.5) //First moment about NA in in^3
+tau1=(V*Q_1)/(I*t) //Shear Stress in psi
+
+//Result
+printf("\n Comparing two stresses")
+printf("\n The maximum stress is %0.0f psi",max(tau,tau1))
|