summaryrefslogtreecommitdiff
path: root/3718/CH2
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3718/CH2
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 '3718/CH2')
-rw-r--r--3718/CH2/EX2.1/Ex2_1.sce20
-rw-r--r--3718/CH2/EX2.10/Ex2_10.sce7
-rw-r--r--3718/CH2/EX2.2/Ex2_2.sce24
-rw-r--r--3718/CH2/EX2.3/Ex2_3.sce19
-rw-r--r--3718/CH2/EX2.4/Ex2_4.sce15
-rw-r--r--3718/CH2/EX2.5/Ex2_5.sce18
-rw-r--r--3718/CH2/EX2.7/Ex2_7.sce24
-rw-r--r--3718/CH2/EX2.8/Ex2_8.sce14
8 files changed, 141 insertions, 0 deletions
diff --git a/3718/CH2/EX2.1/Ex2_1.sce b/3718/CH2/EX2.1/Ex2_1.sce
new file mode 100644
index 000000000..f0381c946
--- /dev/null
+++ b/3718/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,20 @@
+//Chapter 2: Spectroscopy and Photochemistry
+//Problem: 1
+clc;
+
+//Declaration of Constants
+m_br79 = 78.9183 // Mass of 79Br,in amu
+m_br81 = 80.9163 // Mass of 91Br,in amu
+Na = 6.022 * 10 ** 23 // Mole constant,per mol
+pi = 3.141 // Pi
+c = 3 * 10 ** 10 // Speed of light,in cm/s
+
+//Declaration of Variable
+wave_no = 323.2 // Wave no. of fund. vibration of 79Br - 81Br, /cm
+
+// Solution
+mu = (m_br79 * m_br81) / ((m_br79 + m_br81) * Na)
+
+k = 4 * (pi * c * wave_no) ** 2 * mu * 10 ** -3
+
+mprintf("The force constant of the bond is %.2e N/m\n",k)
diff --git a/3718/CH2/EX2.10/Ex2_10.sce b/3718/CH2/EX2.10/Ex2_10.sce
new file mode 100644
index 000000000..959213e2a
--- /dev/null
+++ b/3718/CH2/EX2.10/Ex2_10.sce
@@ -0,0 +1,7 @@
+//Chapter 2: Spectroscopy and Photochemistry
+//Problem:10
+clc;
+
+mprintf("Because CO2 is a linear molecule.\n")
+v_deg = 3 * 3 - 5
+mprintf(" The vibrational degree of freedom is %d",v_deg)
diff --git a/3718/CH2/EX2.2/Ex2_2.sce b/3718/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..cd1d21e69
--- /dev/null
+++ b/3718/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,24 @@
+//Chapter 2: Spectroscopy and Photochemistry
+//Problem: 2
+clc;
+
+//Declaration of Constants
+Na = 6.022 * 10 ** 23 // Mole constant,per mol
+pi = 3.141 // Pi
+c = 3 * 10 ** 10 // Speed of light,in cm/s
+h = 6.626 * 10 ** -34 // Plank's constant,in J.sec
+
+//Declaration of Variables
+b_l = 112.81 * 10 ** -12 // Equillibrium bond length,in m
+m1 = 12 // Mass of Carbon,in g per mol
+m2 = 16 // Mass of Oxygen,in g per mol
+
+// Solution
+mu = m1 * m2 / ((m1 + m2) * Na) //in g
+mu = mu * 10 ** -3 //in kg
+
+B = h / (8 * pi ** 2 * mu * b_l ** 2 * c)
+v2_3 = B * 6
+
+mprintf("The reduced mass of CO is %.3e kg\n",mu)
+mprintf(" The frequency of 3->2 transition is %.2f /cm",v2_3)
diff --git a/3718/CH2/EX2.3/Ex2_3.sce b/3718/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..5463262bc
--- /dev/null
+++ b/3718/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,19 @@
+//Chapter 2: Spectroscopy and Photochemistry
+//Problem: 3
+clc;
+
+//Declaration of Constants
+Na = 6.022 * 10 ** 23 // Mole constant,permol
+
+//Declaration of Variables
+d_NaCl = 2.36 * 10 ** -10 // Intermolecular dist. NaCl,in m
+m_Cl = 35 * 10 ** -3 // Atomic mass, in kg /mol
+m_Na = 23 * 10 ** -3 // Atomic mass, in kg /mol
+
+// Solution
+mu = m_Na * m_Cl / ((m_Na + m_Cl) * 10 ** -3 * Na) * 10 ** -3
+
+I = mu * d_NaCl ** 2
+
+mprintf("The reduced mass of NaCl is %.3e kg\n",mu)
+mprintf(" The moment of inertia of NaCl is %.3e kg m square",I)
diff --git a/3718/CH2/EX2.4/Ex2_4.sce b/3718/CH2/EX2.4/Ex2_4.sce
new file mode 100644
index 000000000..c280d02f3
--- /dev/null
+++ b/3718/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,15 @@
+//Chapter 2: Spectroscopy and Photochemistry
+//Problem: 4
+clc;
+
+//Declaration of Constant
+e = 4000 // Extinction coeff.,in dm cube per mol per cm
+
+// Variable
+x = 3 // Solution thickness,in cm
+
+// Solution
+A = log10(1 / 0.3) // Absorbance
+C = A / (e * x)
+
+mprintf("The concentration of the solution is %.2e mol per dm cube",C)
diff --git a/3718/CH2/EX2.5/Ex2_5.sce b/3718/CH2/EX2.5/Ex2_5.sce
new file mode 100644
index 000000000..c37fde230
--- /dev/null
+++ b/3718/CH2/EX2.5/Ex2_5.sce
@@ -0,0 +1,18 @@
+//Chapter 2: Spectroscopy and Photochemistry
+//Problem: 5
+clc;
+
+//Declaration of Constants
+pi = 3.141 // Pi
+c = 3 * 10 ** 10 // Speed of light,in cm/s
+
+//Declaration of Variables
+v_bar = 2140 // Fundamental vibrating freq, per cm
+m_C = 19.9 * 10 ** -27 // Atomic mass of C,in kg
+m_O = 26.6 * 10 ** -27 // Atomic mass of O,in kg
+
+// Solution
+mu = m_O * m_C / (m_C + m_O)
+k = 4 * (pi * c * v_bar) ** 2 * mu
+
+mprintf("The force constant of the molecule is %.3e N/m",k)
diff --git a/3718/CH2/EX2.7/Ex2_7.sce b/3718/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..b7c32c42f
--- /dev/null
+++ b/3718/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,24 @@
+//Chapter 2: Spectroscopy and Photochemistry
+//Problem: 7
+clc;
+
+//Declaration of Constants
+pi = 3.141 // pi
+c = 3 * 10 ** 10 // speed of light, cm /s
+h = 6.626 * 10 ** -34 // Plank's constant, J.sec
+Na = 6.022 * 10 ** 23 // Mole constant, /mol
+
+//Declaration of Variables
+d = 20.7 // Interspacing, /cm
+m1 = 1 // Mass of H, g / mol
+m2 = 35.5 // Masso f Cl, g / mol
+
+// Solution
+B = 0.1035 * 10 ** 2 // /m
+I = h / (8 * pi ** 2 * B * c)
+mu = m1 * m2 / ((m1 + m2) * Na)
+mu = mu * 10 ** -3
+r = sqrt(I / mu)
+
+mprintf("The intermolecular distance of HCl is %.3e m",r)
+// The answer provided in the textbook is wrong
diff --git a/3718/CH2/EX2.8/Ex2_8.sce b/3718/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..936bd285f
--- /dev/null
+++ b/3718/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,14 @@
+//Chapter 2: Spectroscopy and Photochemistry
+//Problem: 8
+clc;
+
+//Declaration of Constant
+e = 8000 // Molar absorbtion coeff,in dm cube per mol per cm
+
+//Declaration of Variable
+l = 2.5 // Thickness of solution,in cm
+
+// Solution
+C = log10(1 / 0.3) / (e * l)
+
+mprintf("The concentration of Solution from Lambert-Beer Law is %.2e mol per dm cube",C)