summaryrefslogtreecommitdiff
path: root/1627/CH3/EX3.3/Ex3_3.sce
blob: 69fabab639581d084303c87c11d5607f1322828f (plain)
1
2
3
4
5
6
7
8
9
10
clc
//initialisation of variables
d=100*10^-3//m
p=35*10^6//N/m^2
c=5.17*10^8//N/m^2
//CALCULATIONS
Tc=(p*d)/(2*c)*1000//mm
f=Tc*2//mm
//RESULTS
printf('The safety factor is=% f mm',f)