summaryrefslogtreecommitdiff
path: root/3776/CH4/EX4.7/Ex4_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3776/CH4/EX4.7/Ex4_7.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3776/CH4/EX4.7/Ex4_7.sce')
-rw-r--r--3776/CH4/EX4.7/Ex4_7.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3776/CH4/EX4.7/Ex4_7.sce b/3776/CH4/EX4.7/Ex4_7.sce
new file mode 100644
index 000000000..6b437ff50
--- /dev/null
+++ b/3776/CH4/EX4.7/Ex4_7.sce
@@ -0,0 +1,21 @@
+clear
+//Given
+T_ab = 0 //N.m - torsion in AB
+T_bc = 150 //N.m - torsion in BC
+T_cd = 150 //N.m - torsion in CD
+T_de = 1150 //N.m - torsion in DE
+l_ab = 250 //mm - length of AB
+l_bc = 200 //mm - length of BC
+l_cd = 300 //mm - length of cd
+l_de = 500.0 //mm - length of de
+d_1 = 25 //mm - outer diameter
+d_2 = 50 //mm - inner diameter
+G = 80 //Gpa -shear modulus
+//Caliculations
+
+J_ab = 3.14*(d_1**4)/32 //mm4
+J_bc = 3.14*(d_1**4)/32 //mm4
+J_cd = 3.14*(d_2**4 - d_1**4)/32 //mm4
+J_de = 3.14*(d_2**4 - d_1**4)/32 //mm4
+rad = T_ab*l_ab/(J_ab*G)+ T_bc*l_bc/(J_bc*G)+ T_cd*l_cd/(J_cd*G)+ T_de*l_de/(J_de*G) // adding the maximum radians roteted in each module
+printf("\n The maximum angle rotated is %0.3f radians ",rad)