From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3864/CH4/EX4.4/Ex4_4.sce | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 3864/CH4/EX4.4/Ex4_4.sce (limited to '3864/CH4/EX4.4') diff --git a/3864/CH4/EX4.4/Ex4_4.sce b/3864/CH4/EX4.4/Ex4_4.sce new file mode 100644 index 000000000..40556ec38 --- /dev/null +++ b/3864/CH4/EX4.4/Ex4_4.sce @@ -0,0 +1,52 @@ +clear +// + +//Initilization of Variables + +//Flange (Top) +b1=80 //mm //Width +t1=40 //mm //Thickness + +//Flange (Bottom) +b2=160 //mm //width +t2=40 //mm //Thickness + +//web +d=120 //mm //Depth +t3=20 //mm //Thickness + +D=200 //mm //Overall Depth +sigma1=30 //N/mm**2 //Tensile stress +sigma2=90 //N/mm**2 //Compressive stress +L=6000 //mm //Span + +//Calculations + +//Distance of centroid from bottom fibre +y_bar=(b1*t1*(D-t1*2**-1)+d*t3*(d*2**-1+t2)+b2*t2*t2*2**-1)*(b1*t1+d*t3+b2*t2)**-1 //mm + +//Moment of Inertia +I=1*12**-1*b1*t1**3+b1*t1*(D-t1*2**-1-(y_bar))**2+1*12**-1*t3*d**3+t3*d*(d*2**-1+t2-(y_bar))**2+1*12**-1*b2*t2**3+b2*t2*(t2*2**-1-(y_bar))**2 + + +//Extreme fibre distance of top and bottom fibres are y_t and y_c respectively + +y_t=y_bar //mm +y_c=D-y_bar //mm + +//Moment carrying capacity considering Tensile strength +M1=sigma1*I*y_t**-1*10**-6 //KN-m + +//Moment carrying capacity considering compressive strength +M2=sigma2*I*y_c**-1*10**-6 //KN-m + +//Max Bending moment in simply supported beam 6 m due to u.d.l +//M_max=w*L*10**-3*8**-1 +//After simplifying further we get +//M_max=4.5*w + +//Now Equating it to Moment carrying capacity, we get load carrying capacity +w=M1*4.5**-1 //KN/m + +//Result +printf("\n Max Uniformly Distributed Load is %0.3f KN/m",w) -- cgit