summaryrefslogtreecommitdiff
path: root/3535/CH7/EX7.1/Ex7_1.sce
blob: d2338a43bd773dd9cc5ab8f03bba0592a1868a9b (plain)
1
2
3
4
5
6
7
8
9
10
11
//Chapter 7, Example 7.1, Page 177
clc
clear
// Thickness of shield
Wmu = 0.07066 // meu of water
Lmu = 0.7721 // meu of lead
Wx= log(10)*(1/Wmu)
Lx= log(10)*(1/Lmu)
printf("Thickness of water shield = %f cm\n",Wx)
printf(" Thickness of lead shield = %f cm",Lx)
//Answers may vary due to round off error