summaryrefslogtreecommitdiff
path: root/3863/CH12/EX12.6
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3863/CH12/EX12.6
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip
Added new codeHEADmaster
Diffstat (limited to '3863/CH12/EX12.6')
-rw-r--r--3863/CH12/EX12.6/Ex12_6.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3863/CH12/EX12.6/Ex12_6.sce b/3863/CH12/EX12.6/Ex12_6.sce
new file mode 100644
index 000000000..37772c289
--- /dev/null
+++ b/3863/CH12/EX12.6/Ex12_6.sce
@@ -0,0 +1,23 @@
+clear
+//Given
+//Variable declaration
+L=5*1000 //Length in mm
+L_star=5 //Length in m
+w=9 //Uniformly distributed load in kN/m
+f=7 //Bending stress in N/sq.mm
+E=1e4 //Young's modulus in N/sq.mm
+yc=10 //Central deflection in mm
+
+//Calculation
+W=w*L_star*1e3 //Total load in N
+bd3=((W*(L**3)*12*5)/(E*yc*384)) //width X depth^3 in mm^4
+M=(W*L/8) //Maximum bending moment in Nmm
+bd2=(M*12/(f*2)) //width X depth^2 in mm^3
+
+d=(bd3/bd2) //Depth of beam in mm
+
+b=(M*12/(f*2)/d**2) //Width of beam in mm
+
+//Result
+printf("\n Depth of beam = %0.3f mm",d)
+printf("\n Width of beam = %0.3f mm",b)