summaryrefslogtreecommitdiff
path: root/3862/CH10/EX10.10/Ex10_10.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3862/CH10/EX10.10/Ex10_10.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3862/CH10/EX10.10/Ex10_10.sce')
-rw-r--r--3862/CH10/EX10.10/Ex10_10.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3862/CH10/EX10.10/Ex10_10.sce b/3862/CH10/EX10.10/Ex10_10.sce
new file mode 100644
index 000000000..9b286129c
--- /dev/null
+++ b/3862/CH10/EX10.10/Ex10_10.sce
@@ -0,0 +1,21 @@
+clear
+//
+//A cantilever of 3 m span, carrying uniformly distributed load of 3 kN/m is to be designed using cast iron rectangular section. Permissible stresses in cast iron are f = 30 N/mm^2 in tension and fc = 90 N/mm^2 in compression
+
+L=(3) //Span of cantilever,m
+w=(3) //uniformly distributed load,KN/m
+
+M=w*1000000*(L**2)/2 //Maximum moment**N-mm
+//let b be the width and d the depth
+//Z=b*(d**2)/6
+
+//Since it is rectangular section, N-A lies at mid-depth, and stresses at top and bottom are same. Hence, permissible tensile stress value is reached earlier and it governs the design.
+fper=30 //N/mm^2
+b=100 //mm
+f=30
+
+//f*Z=M
+
+d=sqrt((M*6)/(b*f))
+
+printf("\n d= %0.1f mm",d)