Quantum Dot Simulations

Quantum Dot Simulations

Photon Attenuation in Quantum Dots

Simulate how gamma rays attenuate through different thicknesses of quantum dot materials.

Thickness: 10 nm

Results: Absorbed Fraction: 0, Usable Energy: 0 keV

Photoelectric Effect in Quantum Dots

Simulation Results

Work Function (Φ):

Ejected Electron Kinetic Energy (K.E.): eV

Will Electron Be Ejected?

Pair Production in Quantum Dots

Simulate pair production for high-energy gamma rays and see if electron-positron pairs are produced.

1.02 MeV
2 cm
30°

Gamma Energy: 1.02 MeV - Pair production possible!

Electron Energy: 0.51 MeV

Positron Energy: 0.51 MeV

Electron Velocity: 300,000,000 m/s

Positron Velocity: 300,000,000 m/s

© 2024 RAMNOT Corp | Quantum Dot Simulations
Quantum Dot Simulations README

Quantum Dot Simulations README

This web application simulates three quantum mechanical experiments related to quantum dots:

  • Photon Attenuation: Simulates the absorption and attenuation of gamma rays through various thicknesses of quantum dot materials.
  • Photoelectric Effect: Demonstrates how photon energy ejects electrons from quantum dots based on their material's work function.
  • Pair Production: Models the creation of electron-positron pairs when high-energy gamma rays interact with quantum dot materials.

The interface is built using HTML5, Bootstrap 5.3, and Chart.js for interactive graphs, providing an intuitive way to explore these quantum phenomena.

Project Structure

HTML Structure

The webpage is divided into three sections, each representing an experiment. The layout is responsive and styled with Bootstrap. Users interact with the experiments via form elements like select inputs, sliders, and dynamic content containers that display results in real-time.

Scripts and Libraries

  • Bootstrap 5.3: Ensures responsive layout and styling.
  • Chart.js: Powers the real-time graphing functionalities in each experiment.

JavaScript functions dynamically update graph data, simulate behaviors, and display results based on user input.

Detailed Explanation of Code

1. HTML Structure

The HTML starts with a <!DOCTYPE html> declaration to define the document as HTML5. A <div> with the class container centers the page content.

Head Section: Includes meta tags for viewport settings and links to Bootstrap CSS and Chart.js for styling and chart functionality.

Tab Navigation: The experiments are grouped under tabs for smooth transitions. Bootstrap's nav-tabs are used to switch between the experiments without reloading the page.

2. Photon Attenuation Simulation

This simulation allows users to select materials like Cadmium Selenide (CdSe) or Lead Sulfide (PbS) and adjust the thickness of the material. A graph displays the relationship between thickness and photon attenuation.

Key Functions
  • updatePhotonAttenuation(): Calculates the attenuation of photons through a material based on an exponential decay model.
Important Calculations
  • Absorbed Fraction: 1 - Math.exp(-attenuationCoeff * thickness / 10)
  • Usable Energy: Calculated as a fraction of the total absorbed energy.
Charts
  • Attenuation Chart: Shows the photon intensity decay with material thickness.
  • Usable Energy Chart: Displays how much energy remains usable as thickness changes.

3. Photoelectric Effect Simulation

In this section, users can select a material and adjust the photon energy to observe the photoelectric effect in real-time.

Key Functions
  • updatePhotoelectric(): Determines if the photon energy exceeds the work function, and if so, calculates the electron's kinetic energy.
Important Calculations
  • Kinetic Energy: photonEnergyEV - workFunction, where photonEnergyEV is converted from keV to eV.
  • Electron Ejection: If kinetic energy is positive, the electron is ejected.
Charts
  • Kinetic Energy Graph: Displays the electron’s kinetic energy after photon interaction.
  • Photon Energy vs. Kinetic Energy: Shows how photon energy affects the kinetic energy of the ejected electron.

4. Pair Production Simulation

This section simulates pair production, which occurs when gamma ray energy exceeds 1.02 MeV, resulting in electron-positron pairs.

Key Functions
  • updatePairProduction(): Determines whether pair production is possible based on gamma ray energy and calculates electron/positron energy.
Important Calculations
  • Scattering Energy: The Compton scattering formula calculates the energy of scattered photons based on the scattering angle.
Charts
  • Pair Production Chart: Shows the energy distribution of the electron and positron.
  • Scattering Energy Chart: Displays scattering energy based on the angle.

Explore the Code (Interactive)

The code below is the backbone of the Quantum Dot Simulations project. Feel free to scroll and explore!

Running the Project

To run the simulation:

  • Download the entire HTML code.
  • Open the HTML file in a web browser.
  • Interact with the simulation by selecting different materials, adjusting the sliders for thickness and energy, and observing the results.
© 2024 RAMNOT Corp | Quantum Dot Simulations