summaryrefslogtreecommitdiff
path: root/2732/CH9/EX9.7
diff options
context:
space:
mode:
Diffstat (limited to '2732/CH9/EX9.7')
-rwxr-xr-x2732/CH9/EX9.7/Ex9_7.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2732/CH9/EX9.7/Ex9_7.sce b/2732/CH9/EX9.7/Ex9_7.sce
new file mode 100755
index 000000000..e413e5f13
--- /dev/null
+++ b/2732/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,27 @@
+clc
+//initialization of variables
+clear
+s=1.6 //m
+s1=4 //m
+pi=28 //degrees
+w=16 //kg/m^2
+p=100 //kg/m^2
+pl=20 //cm
+pb=10 //cm
+r=500 //kg/m^3
+sg=5 //cm
+E=12*10^4
+pi=pi*%pi/180 //radians
+// calculations
+W=w*s+(r*pl*pb/(100*100))
+P=p*s
+L=P+W*cos(pi)
+Mx=L*s1^2*100/8
+sigma_1=Mx*6/(pb*pl^2)
+My=W*sin(pi)*s1^2*100/8
+sigma_2=My*6/(pl*pb^2)
+st=sigma_1*sg/10
+Ts=st-sigma_2
+ez=Ts/E
+// results
+printf('The strain gauge, aligned to the z axis will give compression strain of %.1e',ez)