diff options
Diffstat (limited to '1271/CH20/EX20.16/example20_16.sce')
-rwxr-xr-x | 1271/CH20/EX20.16/example20_16.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1271/CH20/EX20.16/example20_16.sce b/1271/CH20/EX20.16/example20_16.sce new file mode 100755 index 000000000..9fb1875f4 --- /dev/null +++ b/1271/CH20/EX20.16/example20_16.sce @@ -0,0 +1,13 @@ +clc +// Given that +Z = 79 // atomic no. of element +b = 1 // a constant +a = 2.468e15 // a constant in per sec +c = 3e8 // speed of light in m/sec +// Sample Problem 16 on page no. 20.12 +printf("\n # PROBLEM 16 # \n") +printf("Standard formula used \n ") +printf(" nu = a*(Z-b)^2 ........Moseley law \n") +f = a * (Z - b)^2 +lambda = c / f +printf("\n Wavelength of x-ray is %f Angstrom.",lambda*1e10) |