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 --- 2453/CH10/EX10.1/10_1.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2453/CH10/EX10.1/10_1.sce (limited to '2453/CH10/EX10.1') diff --git a/2453/CH10/EX10.1/10_1.sce b/2453/CH10/EX10.1/10_1.sce new file mode 100755 index 000000000..ac803bc25 --- /dev/null +++ b/2453/CH10/EX10.1/10_1.sce @@ -0,0 +1,17 @@ +//To calculate the relative population +c = 3*10^8; //speed of light, m/sec +h = 6.6*10^-34; //planck's constant +e = 1.6*10^-19; +T = 300; //temperature, K +K = 8.61*10^-5; +lamda = 6943; //wavelength, armstrong +lamda = lamda*10^-10; //wavelength, m +// let E2 - E1 be E +E = h*c/lamda; //energy, J +E = E/e; //energy, eV +//let population ratio N2/N1 be N +N = exp(-E/(K*T)); +printf("relative population of 2 states is"); +disp(N); + +//answer given in the book is wrong -- cgit