summaryrefslogtreecommitdiff
path: root/1943/CH9/EX9.6/Ex9_6.sce
blob: 783299b00e728619829a932c57dba4ce0f22779e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

clc
clear
//Input data
p=1;//The density of water in g/cm^3
sch=0.332;//The microscopic capture cross section of hydrogen in barn
sco=0.0002;//The microscopic capture cross section of oxygen in barn

//Calculations
N=(6.023*10^23)*p/18;//Number of molecules of water per cm^3
scw=(2*N*sch*10^-24)+(N*sco*10^-24);//The microscopic capture cross section of water in cm^-1

//output
printf('The microscopic capture cross section of water = %3.4f cm^-1 ',scw)