diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /34/CH9 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '34/CH9')
-rwxr-xr-x | 34/CH9/EX9.1/Ch9Exa1.sci | 17 | ||||
-rwxr-xr-x | 34/CH9/EX9.4/Ch9Exa4.sci | 13 | ||||
-rwxr-xr-x | 34/CH9/EX9.5/Ch9Exa5.sci | 24 | ||||
-rwxr-xr-x | 34/CH9/EX9.6/Ch9Exa6.sci | 9 | ||||
-rwxr-xr-x | 34/CH9/EX9.7/Ch9Exa7.sci | 14 | ||||
-rwxr-xr-x | 34/CH9/EX9.8/Ch9Exa8.sci | 13 |
6 files changed, 90 insertions, 0 deletions
diff --git a/34/CH9/EX9.1/Ch9Exa1.sci b/34/CH9/EX9.1/Ch9Exa1.sci new file mode 100755 index 000000000..b390b5220 --- /dev/null +++ b/34/CH9/EX9.1/Ch9Exa1.sci @@ -0,0 +1,17 @@ +k= 8.617*10^(-5); //Boltzmann constant, eV/K
+To=273; //initial temperature, K
+E1= -13.6; //energy of ground state, eV
+E2= -3.4; //energy of first excited state, eV
+dE= E2-E1; //difference in energy levels
+g1=2; //number of energy states for E1
+g2=8; //number of energy states for E2
+
+J= dE/(k*To);
+Nratio1= (g2/g1)*(%e)^(-J); //ratio of number of atoms in level 2 and level 1 at To
+
+T1=10273; //K
+J1= J*To/T1;
+Nratio2= (g2/g1)*(%e)^(-J1); //at T1
+
+disp(To,"The ration at 273 K is: ")
+disp(T1,"The ratio at 10273 k is: ")
\ No newline at end of file diff --git a/34/CH9/EX9.4/Ch9Exa4.sci b/34/CH9/EX9.4/Ch9Exa4.sci new file mode 100755 index 000000000..f637040be --- /dev/null +++ b/34/CH9/EX9.4/Ch9Exa4.sci @@ -0,0 +1,13 @@ +
+Moxygen= 16.0; //atomic mass,u
+Mo2= 32.0; //Molecular mass, u
+u= 1.66*(10^(-27)); //atomic mass unit, kg
+Moxygen= Mo2*u; //mass, kg
+t= 273; //temperature, K
+k= 1.38*10^(-23); //Boltzmann constant, J/K
+Vrms= sqrt(3*k*t/Moxygen); // m/s
+disp(Vrms,"The rms velocity of oxygen is: ")
+
+//Result
+// The rms velocity of oxygen is:
+// 461.26708
\ No newline at end of file diff --git a/34/CH9/EX9.5/Ch9Exa5.sci b/34/CH9/EX9.5/Ch9Exa5.sci new file mode 100755 index 000000000..5cbc1bd1d --- /dev/null +++ b/34/CH9/EX9.5/Ch9Exa5.sci @@ -0,0 +1,24 @@ +
+//Part (a)
+V= 1.00; //volume, cm^3
+V= V*10^(-6); //converting to m^3
+dI= 2.404; //standard value of definite Integral used
+k= 8.617*10^(-5); //Boltzmann constant, eV/K
+h= 4.13*(10^(-15)); //Planck's constant, eV.s
+T= 1000; //temperature, K
+c= 3 *(10^8); //speed of light, m/s
+N= 8*(%pi)*V*dI*[(k*T/(h*c))^3];
+disp(N,"the number of photons is: ")
+
+//Result
+// the number of photons is:
+// 2.032D+10
+
+//Part(b)
+Sig= 5.670*10^(-8); //Stefan's constant, W/m^2.K^4 , refer to Page 317
+Ephoton= Sig*(c^2)*(h^3)*T/(2.405*(2*(%pi)*(k^3))); //J
+disp(Ephoton,"The average energy of the photons, in J, is: ")
+
+//Result
+// The average energy of the photons, in J, is:
+// 3.718D-20
diff --git a/34/CH9/EX9.6/Ch9Exa6.sci b/34/CH9/EX9.6/Ch9Exa6.sci new file mode 100755 index 000000000..3e0483e59 --- /dev/null +++ b/34/CH9/EX9.6/Ch9Exa6.sci @@ -0,0 +1,9 @@ +
+T= 2.7; //blackbody temperature, K
+Lambda= 2.898*10^(-3)/T; //using wein's displacement law, Eqn 9.40, m
+Lambda= Lambda*10^(3); //converting to mm
+disp(Lambda,"The wavelength for maximum radiation, in mm, is: ")
+
+//Result
+// The wavelength for maximum radiation, in mm, is:
+// 1.0733333
\ No newline at end of file diff --git a/34/CH9/EX9.7/Ch9Exa7.sci b/34/CH9/EX9.7/Ch9Exa7.sci new file mode 100755 index 000000000..0c7e8cbe9 --- /dev/null +++ b/34/CH9/EX9.7/Ch9Exa7.sci @@ -0,0 +1,14 @@ +
+Rearth= 1.5*10^(11); //radius of earth, m
+r= 1.4; //rate of arrival of sunlight, kW/m^2
+P= (r*10^3)*4*(%pi)*(Rearth^2); //total power reaching Earth
+Rsun= 7*10^(8); //radius of Sun, m
+r2= P/(4*(%pi)*(Rsun^2)); //radiation rate of Sun, W/m^2
+emissivity=1; //for blackbody
+Sig= 5.670*10^(-8); //Stefan's constant, W/m^2.K^4
+T= [r2/(emissivity*Sig)]^(1/4);
+disp(T,"The surface temperature of Sun, in K, is: ")
+
+//Result
+//The surface temperature of Sun, in K, is:
+// 5802.7366
\ No newline at end of file diff --git a/34/CH9/EX9.8/Ch9Exa8.sci b/34/CH9/EX9.8/Ch9Exa8.sci new file mode 100755 index 000000000..1af884f39 --- /dev/null +++ b/34/CH9/EX9.8/Ch9Exa8.sci @@ -0,0 +1,13 @@ +
+u= 1.66*(10^(-27)); //atomic mass unit, kg
+density= 8.94*10^(3); // kg/m^3
+M= 63.5; //atomic mass of copper, u
+Edensity= density/(M*u); //electron density, electrons/m^3
+h= 6.63*(10^(-34)); //Planck's constant, J.s
+Me= 9.1*(10^(-31)); //mass of electron, kg
+Efermi= h^2/(2*Me)*[(3*Edensity)/(8*(%pi))]^(2/3); // J
+disp(Efermi,"The fermi energy, in J, is: ")
+
+//Result
+//The fermi energy, in J, is:
+// 1.130D-18
\ No newline at end of file |