summaryrefslogtreecommitdiff
path: root/3875/CH11/EX11.5/11_5.sce
blob: dae2c7749c828063ec2b604dfe2fb0037a436ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;
clear;
h=6.63*10^-34 //Plancks constant in J-s
c=3*10^8 //velocity of light in m/s
lambda=0.194*10^-9 //wavelength in m
E_ca=3.69 //energy of calcium target in keV
Z_ca=20 //atomic no of calcium
//calculation

E_imp=((h*c)/(lambda*1.6*10^-19))/10^3
Z_imp=(sqrt(E_imp/E_ca)*(Z_ca-1)+1)

mprintf("The atomic no is = %d,hence impurity is iron",Z_imp)