summaryrefslogtreecommitdiff
path: root/1898/CH5/EX5.1/Ex5_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1898/CH5/EX5.1/Ex5_1.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 '1898/CH5/EX5.1/Ex5_1.sce')
-rwxr-xr-x1898/CH5/EX5.1/Ex5_1.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1898/CH5/EX5.1/Ex5_1.sce b/1898/CH5/EX5.1/Ex5_1.sce
new file mode 100755
index 000000000..4dd42d741
--- /dev/null
+++ b/1898/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,18 @@
+clear all; clc;
+
+disp("Scilab Code Ex 5.1 : ")
+
+//Given:
+r = 50; //mm
+J = (%pi/2)*(r^4); //polar moment of inertia
+tou_max = 56; //MPa
+T = (tou_max*J)/(r*10^6); //toumax = Tc/J
+
+//Display:
+
+
+printf("\n\nThe resultant internal torque = %1.0f kNm',T);
+
+//-----------------------------------------------------------------END-------------------------------------------------------------------------------------------------
+
+