summaryrefslogtreecommitdiff
path: root/3392/CH1/EX1.1/Ex1_1.sce
blob: c4e71e34fae04faac81a9d1fc13f99b1efef5557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
clc
// initialization of variables
clear
// part (a)
a=700 // M Pa from figure 1.8
b=100 // M Pafrom figure 1.8
m=1/6 // from figure 1.8
Y=450 // M Pa from figure 1.9
//calculations
sigma_u=a+m*b
// results
printf('\n part (a) \n')
printf(' The ultimate strength is sigma = %.f M Pa',sigma_u)
printf('\n and the yield strength is Y = %.f M Pa',Y)

// part (b)
c1=62 // from figure 1.8
d1=0.025 // from figure 1.8
c2=27 // from figure 1.10a
d2=0.04 // from figure 1.10a
// calculations
U_f1=c1*b*d1*10^6
U_f2=c2*b*d2*10^6
// results
printf('\n part (b)')
printf('\n The modulus of toughness for alloy steel is Uf = %.3e N/m^2',U_f1)
printf('\n and structural steel is Uf = %.3e N/m^2',U_f2)