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 --- 1952/CH12/EX12.2/Ex2.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 1952/CH12/EX12.2/Ex2.sce (limited to '1952/CH12/EX12.2/Ex2.sce') diff --git a/1952/CH12/EX12.2/Ex2.sce b/1952/CH12/EX12.2/Ex2.sce new file mode 100755 index 000000000..399a89710 --- /dev/null +++ b/1952/CH12/EX12.2/Ex2.sce @@ -0,0 +1,11 @@ +// Additional solved examples , Example 2 , pg 330 +lam=500*10^-9//wavelength(in m) +T=250+273 //temperature(in kelvin) (converting celsius into kelvin) +k=1.38*10^-23//boltzman constant (in (m^2*Kg)/(s^2*k)) +h=6.625*10^-34//plancks constant(in Js) +c=3*10^8//speed of light +N=exp(-(h*c)/(lam*k*T)) //N=(n2/n1)=relative population of atoms in the 1st excited state and in ground state +//n1=number of atoms in ground state +//n2=number of atoms in excited state +printf("Relative population of Na atoms in the 1st excited state and in ground state\n") +disp(N) -- cgit