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 --- 1535/CH9/EX9.1/Ch09Ex1.sci | 7 +++++++ 1535/CH9/EX9.14/Ch09Ex14.sci | 9 +++++++++ 1535/CH9/EX9.2/Ch09Ex2.sci | 12 ++++++++++++ 1535/CH9/EX9.4/Ch09Ex4.sci | 14 ++++++++++++++ 1535/CH9/EX9.5/Ch09Ex5.sci | 12 ++++++++++++ 1535/CH9/EX9.6/Ch09Ex6.sci | 12 ++++++++++++ 6 files changed, 66 insertions(+) create mode 100755 1535/CH9/EX9.1/Ch09Ex1.sci create mode 100755 1535/CH9/EX9.14/Ch09Ex14.sci create mode 100755 1535/CH9/EX9.2/Ch09Ex2.sci create mode 100755 1535/CH9/EX9.4/Ch09Ex4.sci create mode 100755 1535/CH9/EX9.5/Ch09Ex5.sci create mode 100755 1535/CH9/EX9.6/Ch09Ex6.sci (limited to '1535/CH9') diff --git a/1535/CH9/EX9.1/Ch09Ex1.sci b/1535/CH9/EX9.1/Ch09Ex1.sci new file mode 100755 index 000000000..4a457e3f4 --- /dev/null +++ b/1535/CH9/EX9.1/Ch09Ex1.sci @@ -0,0 +1,7 @@ +// Scilab Code Ex9.1: De-broglie wavelength of an electron from accelerating potential : Page-202 (2010) +V = 100; // Accelerating potential for electron, volt +lambda = sqrt(150/V)*1e-010; // de-Broglie wavelength of electron, m +printf("\nThe De-Broglie wavelength of electron = %4.2e m", lambda); + +// Result +// The De-Broglie wavelength of electron = 1.22e-010 m \ No newline at end of file diff --git a/1535/CH9/EX9.14/Ch09Ex14.sci b/1535/CH9/EX9.14/Ch09Ex14.sci new file mode 100755 index 000000000..7a5427600 --- /dev/null +++ b/1535/CH9/EX9.14/Ch09Ex14.sci @@ -0,0 +1,9 @@ +// Scilab Code Ex9.14: Probability of electron moving in 1D box : Page-207 (2010) +a = 2e-010; // Width of 1D box, m +x1 = 0; // Position of first extreme of the box, m +x2 = 1e-010; // Position of second extreme of the box, m +P = integrate('2/a*(sin(2*%pi*x/a))^2', 'x', x1, x2); // The probability of finding the electron between x = 0 and x = 1e-010 +printf("\nThe probability of finding the electron between x = 0 and x = 1e-010 = %3.1f", P); + +// Result +// The probability of finding the electron between x = 0 and x = 1e-010 = 0.5 \ No newline at end of file diff --git a/1535/CH9/EX9.2/Ch09Ex2.sci b/1535/CH9/EX9.2/Ch09Ex2.sci new file mode 100755 index 000000000..97c5f5494 --- /dev/null +++ b/1535/CH9/EX9.2/Ch09Ex2.sci @@ -0,0 +1,12 @@ +// Scilab Code Ex9.2: De-broglie wavelength of an electron from kinetic energy : Page-203 (2010) +e = 1.6e-019; // Energy equivalent of 1 eV, J/eV +h = 6.626e-034; // Planck's constant, Js +m = 9.1e-031; // Mass of the electron, kg +Ek = 10; // Kinetic energy of electron, eV +// Ek = p^2/(2*m), solving for p +p = sqrt(2*m*Ek*e); // Momentum of the electron, kg-m/s +lambda = h/p ; // de-Broglie wavelength of electron from De-Broglie relation, m +printf("\nThe de-Broglie wavelength of electron = %4.2e nm", lambda/1e-009); + +// Result +// The de-Broglie wavelength of electron = 3.88e-001 nm \ No newline at end of file diff --git a/1535/CH9/EX9.4/Ch09Ex4.sci b/1535/CH9/EX9.4/Ch09Ex4.sci new file mode 100755 index 000000000..95c7b9772 --- /dev/null +++ b/1535/CH9/EX9.4/Ch09Ex4.sci @@ -0,0 +1,14 @@ +// Scilab Code Ex9.4: Uncertainty principle for position and momentum: Page-203 (2010) +h = 6.626e-034; // Planck's constant, Js +m = 9.1e-031; // Mass of the electron, kg +v = 1.1e+006; // Speed of the electron, m/s +p = m*v; // Momentum of the electron, kg-m/s +dp = 0.1/100*p; // Uncertainty in momentum, kg-m/s +h_bar = h/(2*%pi); // Reduced Planck's constant, Js +// From Heisenberg uncertainty principle, +// dx*dp = h_bar/2, solving for dx +dx = h_bar/(2*dp); // Uncertainty in position, m +printf("\nThe uncertainty in position of electron = %4.2e m", dx); + +// Result +// The uncertainty in position of electron = 5.27e-008 m \ No newline at end of file diff --git a/1535/CH9/EX9.5/Ch09Ex5.sci b/1535/CH9/EX9.5/Ch09Ex5.sci new file mode 100755 index 000000000..469123bba --- /dev/null +++ b/1535/CH9/EX9.5/Ch09Ex5.sci @@ -0,0 +1,12 @@ +// Scilab Code Ex9.5: Uncertainty principle for energy and time: Page-203 (2010) +e = 1.6e-019; // Energy equivalent of 1 eV, J/eV +h = 6.626e-034; // Planck's constant, Js +dt = 1e-008; // Uncertainty in time, s +h_bar = h/(2*%pi); // Reduced Planck's constant, Js +// From Heisenberg uncertainty principle, +// dE*dt = h_bar/2, solving for dE +dE = h_bar/(2*dt*e); // Uncertainty in energy of the excited state, m +printf("\nThe uncertainty in energy of the excited state = %4.2e eV", dE); + +// Result +// The uncertainty in energy of the excited state = 3.30e-008 eV \ No newline at end of file diff --git a/1535/CH9/EX9.6/Ch09Ex6.sci b/1535/CH9/EX9.6/Ch09Ex6.sci new file mode 100755 index 000000000..399bd6555 --- /dev/null +++ b/1535/CH9/EX9.6/Ch09Ex6.sci @@ -0,0 +1,12 @@ +// Scilab Code Ex9.6: Width of spectral line from Uncertainty principle: Page-204 (2010) +c = 3e+008; // Speed of light, m/s +dt = 1e-008; // Average lifetime, s +lambda = 400e-009; // Wavelength of spectral line, m +// From Heisenberg uncertainty principle, +// dE = h_bar/(2*dt) and also dE = h*c/lambda^2*d_lambda, which give +// h_bar/(2*dt) = h*c/lambda^2*d_lambda, solving for d_lambda +d_lambda = lambda^2/(4*%pi*c*dt); // Width of spectral line, m +printf("\nThe width of spectral line = %4.2e m", d_lambda); + +// Result +// The width of spectral line = 4.24e-015 m \ No newline at end of file -- cgit