summaryrefslogtreecommitdiff
path: root/1172/CH3/EX3.21/Example3_21.sce
blob: dc3334cc6099b7b0e1dd78c86d077467ce9cd8ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc
//Given that
lambda1 = 1.321 // wavelength of L- alpha line for platinum
lambda2 = 4.174 // wavelength of l - alpha line of unknown substance 
z1= 78// atomic number of platinum
c = 3e8 // speed of light in m/s
b = 7.4 // constant  for L - alpha line
//Sample Problem 21 page No. 146
printf("\n\n\n # Problem 21 # \n")
printf("\n Standard formula Used \n sqrt(nu1)= a*(Z-b)")
z2 = b + (z1 - b) * sqrt(lambda1 / lambda2) //calculation of the unknown substance has atomic number
printf ("\n The unknown substance has atomic number %d. ", z2)