summaryrefslogtreecommitdiff
path: root/2744/CH10/EX10.1/Ex10_1.sce
blob: 9c5d2753ad76e0affffb9147c7b2b9385f9ad484 (plain)
1
2
3
4
5
6
7
clear;
clc;
d = 2;// feet
p = 250;// lb/in^2
f = 12000;// lb/in^2
t_limit = p*d*12/(2*f) ;// inches
printf('The necessary thickness of metal for seamless pipe is %.2f inches',t_limit);