summaryrefslogtreecommitdiff
path: root/1055/CH9/EX9.2/ch9_2.sce
blob: 8baa2b75dbf7150e6c854a9bfa2bd18539bc8b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// To determine the minimum internal diameter of the lead sheath
clear
clc;
e1=4;
e2=4;
e3=2.5;
g1max=50;
g2max=40;
g3max=30;
r=.5;// radius (cm)
r1=r*e1*g1max/(e2*g2max);
r2=r1*e2*g2max/(e3*g3max);
V=66;
lnc=(V-((r*g1max*log(r1/r))+(r1*g2max*log(r2/r1))));
m=lnc/(r2*g3max);
R=r2*(%e^m);
D=2*R;
mprintf("minimum internal diameter of the lead sheath,D=%.2f cms\n",D);