summaryrefslogtreecommitdiff
path: root/446/CH10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /446/CH10
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '446/CH10')
-rwxr-xr-x446/CH10/EX10.1/10_1.sce9
-rwxr-xr-x446/CH10/EX10.1/10_1.txt6
-rwxr-xr-x446/CH10/EX10.2/10_2.sce7
-rwxr-xr-x446/CH10/EX10.2/10_2.txt4
-rwxr-xr-x446/CH10/EX10.3/10_3.sce11
-rwxr-xr-x446/CH10/EX10.3/10_3.txt6
-rwxr-xr-x446/CH10/EX10.4/10_4.sce9
-rwxr-xr-x446/CH10/EX10.4/10_4.txt6
-rwxr-xr-x446/CH10/EX10.5/10_5.sce8
-rwxr-xr-x446/CH10/EX10.5/10_5.txt3
10 files changed, 69 insertions, 0 deletions
diff --git a/446/CH10/EX10.1/10_1.sce b/446/CH10/EX10.1/10_1.sce
new file mode 100755
index 000000000..8a529803b
--- /dev/null
+++ b/446/CH10/EX10.1/10_1.sce
@@ -0,0 +1,9 @@
+clear
+clc
+disp('Exa-10.1'); //Theoretical Question
+//**Install and use maxim tool for symbolic integration. remove the '//'(comment markings) below and run the program.
+//Vm=integrate('(v^3)*(e^(-b*v^2))','x',0,%infi);
+//rest of the results follow from above
+printf('The average speed is found out to be (8*k*T/m)^1/2)\n');
+printf('The RMS speed is (3*k*T/m)^1/2\n');
+printf('The Most probable speed is found out to be (2*k*T/m)^1/2 \n where all the symbols used are conventional constants.'); \ No newline at end of file
diff --git a/446/CH10/EX10.1/10_1.txt b/446/CH10/EX10.1/10_1.txt
new file mode 100755
index 000000000..c7282c8ab
--- /dev/null
+++ b/446/CH10/EX10.1/10_1.txt
@@ -0,0 +1,6 @@
+
+ Exa-10.1
+The average speed is found out to be (8*k*T/m)^1/2)
+The RMS speed is (3*k*T/m)^1/2
+The Most probable speed is found out to be (2*k*T/m)^1/2
+ where all the symbols used are conventional constants. \ No newline at end of file
diff --git a/446/CH10/EX10.2/10_2.sce b/446/CH10/EX10.2/10_2.sce
new file mode 100755
index 000000000..ec45c4f77
--- /dev/null
+++ b/446/CH10/EX10.2/10_2.sce
@@ -0,0 +1,7 @@
+clear
+clc
+disp('Exa-10.2'); //The solution is purely theoretical and involves a lot of approximations.
+printf('The value of shift in frequency was found out to be delf=7.14*fo*10^-7*sqrt(T) for a star composing of hydrogen atoms at a temperature T.\n');
+T=6000; //temperature for sun
+delf=7.14*10^-7*sqrt(T);.....//change in frequency
+printf('The value of frequency shift for sun(at 6000 deg. temperature) comprsing of hydrogen atoms is %.1e times the frequency of the light.',delf); \ No newline at end of file
diff --git a/446/CH10/EX10.2/10_2.txt b/446/CH10/EX10.2/10_2.txt
new file mode 100755
index 000000000..b2a0199b3
--- /dev/null
+++ b/446/CH10/EX10.2/10_2.txt
@@ -0,0 +1,4 @@
+
+ Ex-10.2
+The value of shift in frequency was found out to be delf=7.14*fo*10^-7*sqrt(T) for a star composing of hydrogen atoms at a temperature T.
+The value of frequency shift for sun(at 6000 deg. temperature) comprsing of hydrogen atoms is 5.5e-005 times the frequency of the light. \ No newline at end of file
diff --git a/446/CH10/EX10.3/10_3.sce b/446/CH10/EX10.3/10_3.sce
new file mode 100755
index 000000000..99f25d0df
--- /dev/null
+++ b/446/CH10/EX10.3/10_3.sce
@@ -0,0 +1,11 @@
+clear
+clc
+disp('Exa-10.3(a)');
+kT=0.0252;E=10.2 // at room temperature, kT=0.0252 standard value and given value of E
+n2=2;n1=1; g2=2*(n2^2);g1=2*(n1^2); //values for ground and excited states
+t=(g2/g1)*%e^(-E/kT); //fraction of atoms
+printf('The number of hydrogen atoms required is %e which weighs %e Kg\n',1/t,(1/t)*(1.67*10^-27));
+disp('Ex-10.3(b)');
+t=0.1/0.9;k=8.65*10^-5 //fracion of atoms in case-2 is given
+T=-E/(log(t/(g2/g1))*k); //temperature
+printf('The value of temperature at which 1/10 atoms are in excited state is %.3f K',T);
diff --git a/446/CH10/EX10.3/10_3.txt b/446/CH10/EX10.3/10_3.txt
new file mode 100755
index 000000000..288debed4
--- /dev/null
+++ b/446/CH10/EX10.3/10_3.txt
@@ -0,0 +1,6 @@
+
+ Exa-10.3(a)
+The number of hydrogen atoms required is 1.526869e+175 which weighs 2.549871e+148 Kg
+
+ Ex-10.3(b)
+The value of temperature at which 1/10 atoms are in excited state is 32905.944 K \ No newline at end of file
diff --git a/446/CH10/EX10.4/10_4.sce b/446/CH10/EX10.4/10_4.sce
new file mode 100755
index 000000000..7a18c6757
--- /dev/null
+++ b/446/CH10/EX10.4/10_4.sce
@@ -0,0 +1,9 @@
+clear
+clc
+disp('Exa-10.4(a)'); //theoretical
+printf('The energy of interaction with magnetic field is given by uB and the degeneracy of the states are +-1/2 which are identical.\nThe ratio is therefore pE2/pE1 which gives e^(-2*u*B/k*T)');
+disp('Ex-10.4(b)');
+uB=5.79*10^-4; //for a typical atom
+t=1.1;k=8.65*10^-5; //ratio and constant k
+T=2*uB/(log(t)*k); //temperature
+printf('The value of temperature ar which the given ratio exists is %.2f K',T);
diff --git a/446/CH10/EX10.4/10_4.txt b/446/CH10/EX10.4/10_4.txt
new file mode 100755
index 000000000..874081af3
--- /dev/null
+++ b/446/CH10/EX10.4/10_4.txt
@@ -0,0 +1,6 @@
+
+ Exa-10.4(a)
+The energy of interaction with magnetic field is given by uB and the degeneracy of the states are +-1/2 which are identical.
+The ratio is therefore pE2/pE1 which gives e^(-2*u*B/k*T)
+ Ex-10.4(b)
+The value of temperature ar which the given ratio exists is 140.46 K \ No newline at end of file
diff --git a/446/CH10/EX10.5/10_5.sce b/446/CH10/EX10.5/10_5.sce
new file mode 100755
index 000000000..ef6131ac4
--- /dev/null
+++ b/446/CH10/EX10.5/10_5.sce
@@ -0,0 +1,8 @@
+clear
+clc
+disp('Exa-10.5');
+p=0.971; A=6.023*10^23; m=23.0; // various given values and constants
+c= (p*A/m)*10^6; // atoms per unit volume
+hc=1240; mc2=0.511*10^6; // hc=1240 eV.nm
+E= ((hc^2)/(2*mc2))*(((3/(8*%pi))*c)^(2/3)); //value of fermi energy
+printf('The fermi energy for sodium is %f eV',E*10^-18);//multiply by 10^-18 to convert metres^2 term to nm^2
diff --git a/446/CH10/EX10.5/10_5.txt b/446/CH10/EX10.5/10_5.txt
new file mode 100755
index 000000000..f82bd11c6
--- /dev/null
+++ b/446/CH10/EX10.5/10_5.txt
@@ -0,0 +1,3 @@
+
+ Exa-10.5
+The fermi energy for sodium is 3.15 eV \ No newline at end of file