summaryrefslogtreecommitdiff
path: root/3289/CH6/EX6.2/Ex6_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3289/CH6/EX6.2/Ex6_2.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3289/CH6/EX6.2/Ex6_2.sce')
-rwxr-xr-x3289/CH6/EX6.2/Ex6_2.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3289/CH6/EX6.2/Ex6_2.sce b/3289/CH6/EX6.2/Ex6_2.sce
new file mode 100755
index 000000000..829928330
--- /dev/null
+++ b/3289/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,25 @@
+clc
+
+G=28 //GPa
+t1=0.012
+t2=0.006
+t3=0.01
+t4=0.006
+A=0.125
+h=226000 //N/m
+Mt=2*A*h
+disp(Mt,"applied torque in Nm is=")
+
+tau1=(h/t1)
+disp(tau1,"shearing stress in Pa is= ")
+tau2=(h/t2)
+disp(tau2,"shearing stress in Pa is= ")
+tau3=(h/t3)
+disp(tau3,"shearing stress in Pa is= ")
+tau4=(h/t4)
+disp(tau4,"shearing stress in Pa is= ")
+
+//theta=(h/2*G*A)intc((1/t)ds)
+theta=(h/(2*G*10^9*A))*((0.25/t1)+2*(0.5/t2)+(0.25/t3))
+disp(theta,"angle of twist per unit length in rad/m is= ")
+