summaryrefslogtreecommitdiff
path: root/3871/CH4/EX4.3/Ex4_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH4/EX4.3/Ex4_3.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 '3871/CH4/EX4.3/Ex4_3.sce')
-rw-r--r--3871/CH4/EX4.3/Ex4_3.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/3871/CH4/EX4.3/Ex4_3.sce b/3871/CH4/EX4.3/Ex4_3.sce
new file mode 100644
index 000000000..d3cba3b18
--- /dev/null
+++ b/3871/CH4/EX4.3/Ex4_3.sce
@@ -0,0 +1,31 @@
+//===========================================================================
+//chapter 4 example 3
+
+clc;
+clear all;
+
+
+//variable decalartion
+Smax = 3.0*10^6; //maximum stress in kg/m**2
+E = 1.2*10^10; //young's modulus in kg/m**2
+w = 0.0006; //width of spring in m
+Td = 1.2*10^-4; //deflecting torque in kg-m
+d = 90; //deflection in degrees
+
+//calucaltions
+theta = %pi/(2); //deflection in radians
+//since T = ((E*W*(t*3))/(12*L))*theta
+//t^3/l = (12*Tc)/(E*W*theta)
+Tc = Td/(2); //controlling torque of each spring in kg-m
+//x = t**3/l
+x = (12*Tc)/((E*w*theta)); //equqation 1
+//y =l/t
+y = (E*theta)/(2*Smax); //equation 2
+//by multiplying equations 1 and 2 (x*y =t**2 =z)
+z = x*y;
+t = sqrt(z); //thickness of spring strip in mm
+l = y*t; //length on m
+
+//result
+mprintf("thickness of spring strip = %3.2f mm",(t*10^3));
+mprintf("\nlength in = %3.2f m",l);