summaryrefslogtreecommitdiff
path: root/1898/CH5/EX5.1/Ex5_1.sce
blob: 4dd42d741751ae144cad9bb6e13335f19c92b51c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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-------------------------------------------------------------------------------------------------