From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1172/CH3/EX3.21/Example3_21.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 1172/CH3/EX3.21/Example3_21.sce (limited to '1172/CH3/EX3.21/Example3_21.sce') diff --git a/1172/CH3/EX3.21/Example3_21.sce b/1172/CH3/EX3.21/Example3_21.sce new file mode 100755 index 000000000..dc3334cc6 --- /dev/null +++ b/1172/CH3/EX3.21/Example3_21.sce @@ -0,0 +1,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) + + -- cgit