summaryrefslogtreecommitdiff
path: root/3647/CH9/EX9.1/ex9_1.sce
blob: 7b196d7205bf64dae12e5e605a789482208c7070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
q=8000//lbf/in^2
r=9.25//in
G=12*10^6//lbf/in^2
t=1*%pi/180//rad
h=180//lbf ft
//CALCULATIONS
S=((G*%pi*r)/(q*h*2))//in
//RESULTS
printf('the shaft size and maximum shear stress=% f in',S)