summaryrefslogtreecommitdiff
path: root/1865/CH3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1865/CH3
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1865/CH3')
-rw-r--r--1865/CH3/EX3.1/prob_1.sce11
-rw-r--r--1865/CH3/EX3.2/prob_2.sce10
-rw-r--r--1865/CH3/EX3.3/prob_3.sce14
-rw-r--r--1865/CH3/EX3.4/prob_4.sce11
-rw-r--r--1865/CH3/EX3.5/prob_5.sce11
-rw-r--r--1865/CH3/EX3.6/prob_6.sce18
-rw-r--r--1865/CH3/EX3.7/prob_7.sce15
-rw-r--r--1865/CH3/EX3.8/prob_8.sce11
8 files changed, 101 insertions, 0 deletions
diff --git a/1865/CH3/EX3.1/prob_1.sce b/1865/CH3/EX3.1/prob_1.sce
new file mode 100644
index 000000000..8baf63ccc
--- /dev/null
+++ b/1865/CH3/EX3.1/prob_1.sce
@@ -0,0 +1,11 @@
+
+//Problem 1
+//Calculate the wavelength of X-rays
+clear
+clc
+V=12400// Potential difference in V
+e=1.6*10^(-19)//charge on an electron in C
+h=6.626*10^(-34)//planck's constant in J-s
+c=3*10^(8)//velocity of light in m/s
+w=((h*c)/(e*V))*10^(10)// wavelength of X-rays in A
+printf('wavelength of X-rays = %.1f A',w) \ No newline at end of file
diff --git a/1865/CH3/EX3.2/prob_2.sce b/1865/CH3/EX3.2/prob_2.sce
new file mode 100644
index 000000000..34deb6a31
--- /dev/null
+++ b/1865/CH3/EX3.2/prob_2.sce
@@ -0,0 +1,10 @@
+
+//Problem 2
+//Calculate the maximum speed of electron striking the anti-cathode
+clear
+clc
+V=18// Potential difference in kV
+e=1.6*10^(-19)//charge on an electron in C
+m=9.1*10^(-31)//mass of an electron in kg
+v=(2*e*V/m)^(0.5)//maximum speed of electron in m/s
+printf('maximum speed of electron striking the anti-cathode = %.1f m/s',v) \ No newline at end of file
diff --git a/1865/CH3/EX3.3/prob_3.sce b/1865/CH3/EX3.3/prob_3.sce
new file mode 100644
index 000000000..f03a1e35c
--- /dev/null
+++ b/1865/CH3/EX3.3/prob_3.sce
@@ -0,0 +1,14 @@
+
+//Problem 3
+//calculate the energy falling on the target material per second and also calculate the cutoff wavelength of the X-rays
+clear
+clc
+V=20*10^3// potential difference in V
+e=1.6*10^(-19)//charge on an electron in C
+h=6.6*10^(-34)//planck's constant in J-s
+c=3*10^(8)//velocity of light in m/s
+i=1//current in mA
+E=i*V*10^(-3)//energy in j/s
+w=(h*c)/(e*V)//wavelength in nm
+printf('energy falling on the target material per second = %.1f j/s \n',E)
+printf('cutoff wavelength of the X-rays = %.3f nm',w*10^9) \ No newline at end of file
diff --git a/1865/CH3/EX3.4/prob_4.sce b/1865/CH3/EX3.4/prob_4.sce
new file mode 100644
index 000000000..09d1233d2
--- /dev/null
+++ b/1865/CH3/EX3.4/prob_4.sce
@@ -0,0 +1,11 @@
+
+//Problem 4
+//calculate the velocity of electrons at which they strike the target
+clear
+clc
+V=10*10^3// potential difference in V
+e=1.6*10^(-19)//charge on an electron in C
+m=9.1*10^(-31)//mass of an electron in kg
+KE=e*V// kinetic energy of electrons reaching the target material in J
+v=(2*KE/m)^(0.5)//velocity of electrons at which they strike the target in m/s
+printf('velocity of electrons at which they strike the target = %.2f m/s',v) \ No newline at end of file
diff --git a/1865/CH3/EX3.5/prob_5.sce b/1865/CH3/EX3.5/prob_5.sce
new file mode 100644
index 000000000..ff690adda
--- /dev/null
+++ b/1865/CH3/EX3.5/prob_5.sce
@@ -0,0 +1,11 @@
+
+//Problem 5
+//calculate the glancing angle for third order reflection
+clear
+clc
+w=0.842*(10)^(-10)//wavelength in m
+x=8.5833//glancing angle(in degrees) for the first order reflection
+a=1,b=3//a=1 for 1st order b=3 for 3rd order reflection
+d=(a*w)/(2*sind(x))//inerplanar spacing for first order reflection
+y=asind((b*w)/(2*d))
+printf('Glancing angle for the third order reflection = %.2f degrees',y)
diff --git a/1865/CH3/EX3.6/prob_6.sce b/1865/CH3/EX3.6/prob_6.sce
new file mode 100644
index 000000000..5f7371445
--- /dev/null
+++ b/1865/CH3/EX3.6/prob_6.sce
@@ -0,0 +1,18 @@
+
+//Problem 6
+//calculate the interplanar spacing of the crystal
+clear
+clc
+w=0.58//wavelength of monochromatic X-rays
+a=6.45,b=9.15,c=13//Bragg's reflection are obtained at these angles (in degrees)
+d=w/(2*sind(a))//value of d/n in first case (in A)
+d1=w/(2*sind(b))//value of d/n in second case (in A)
+d2=w/(2*sind(c))//value of d/n in third case (in A)
+printf('value of d/n in first case= %.3f A\n',d)
+printf('value of d/n in second case=%.3f A\n',d1)
+printf('value of d/n in third case=%.3f A\n',d2)
+printf('it is clear from all the cases that the values of d/n (d,d1,d2) in first case is almost twice that of third case.\nThis shows that angles 6.45 degrees and 13 degrees represent the 1st and 2nd order reflection maxima from one set of parallel planes.\nTherefore spacing can be obtained by putting n=1 in 1st case or n=2 in 3rd case \n')
+n1=1
+n3=2
+d3=(d)*n1//interplanar spacing of the crystal
+printf('\n therefore interplanar spacing of the crystal = %.3f A',d3) \ No newline at end of file
diff --git a/1865/CH3/EX3.7/prob_7.sce b/1865/CH3/EX3.7/prob_7.sce
new file mode 100644
index 000000000..b053ce769
--- /dev/null
+++ b/1865/CH3/EX3.7/prob_7.sce
@@ -0,0 +1,15 @@
+
+//Problem 7
+//Calculation of various orders in which Bragg's reflection takes place
+clear
+clc
+w=1.5//wavelength of monochromatic X-rays in A
+d=1.61//interplanar spacing in A
+a=1,b=2,c=3//a=1 for 1st order b=2 for 2nd order and c=3 for 3rd order
+x=asind((a*w)/(2*d))//angle of reflection in 1st order in degrees
+y=asind((b*w)/(2*d))//angle of reflection in 2nd order in degrees
+Q=(c*w)/(2*d)//Q is the sine of angle of reflection in 3rd order
+printf('angle of reflection in 1st order = %.3f degrees\n',x)
+printf('angle of reflection in 2nd order = %.3f degrees\n',y)
+printf('sine of angle of reflection in 3rd order = %.3f \n',Q)
+printf('now z(angle of reflection in 3rd order ) > 90 degrees therefore there is no third order maxima \n hence 1st and 2nd order maxima would be possible') \ No newline at end of file
diff --git a/1865/CH3/EX3.8/prob_8.sce b/1865/CH3/EX3.8/prob_8.sce
new file mode 100644
index 000000000..b2d74426f
--- /dev/null
+++ b/1865/CH3/EX3.8/prob_8.sce
@@ -0,0 +1,11 @@
+
+//Problem 8
+//calculate the wavelength of X-rays used
+clear
+clc
+d=2.81//interplanar spacing in A
+n=1//order of beam
+x=10//angle of first order beam with the incident beam
+y=x/2//angle of incident
+w=2*d*sind(y)// wavelength of X-rays used in A
+printf('wavelength of X-rays used = %.2f A',w) \ No newline at end of file