summaryrefslogtreecommitdiff
path: root/1970/CH10/EX10.11/CH10Exa11.sce
blob: 9be87c93475477d9eeca4f55bb0f9d582837143e (plain)
1
2
3
4
5
6
7
8
9
// Scilab code Exa10.11 : : Page-458 (2011)
clc; clear;
lambda = sqrt(1.45e-021/(4*%pi));        // Wavelength, metre
W_ratio = 2.3e-07;                    // Width ratio
sigma = W_ratio*(4*%pi)*lambda^2*10^28;            // Scattering contribution, barn
printf("\nThe scattering contribution to the resonance = %4.2f barns", sigma);

// Result
// The scattering contribution to the resonance = 3.33 barns