summaryrefslogtreecommitdiff
path: root/2744/CH10/EX10.3/Ex10_3.sce
blob: 177d7a6a448d97464525e5e14fedad26d4e917c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear;
clc;
d = 30;// inches
H = 300;// feet
w = 62.5;
f = 2800;
//intensity of water pressur
p = w*H/144;// lb/in^2
t_limit = p*d/(2*f);// inches
printf('Thickness of metal required is %.4f inches',t_limit);

//the answer is correct only, but it is approximated in the text book.