Charge Generated: 0 C, Power Output: 0 W, Efficiency: 0%
Radiation Type | Charge (C) | Power (W) | Efficiency (%) |
---|
This web application simulates radiation-induced charge generation in different materials under various conditions:
This interactive simulation uses HTML5, Bootstrap 5.3, and Chart.js to allow dynamic graphing and user control over inputs.
The HTML structure consists of form inputs and sliders for user interaction. The page is laid out using Bootstrap to ensure responsiveness, and it displays real-time results using a dynamic table and Chart.js for visualizations.
The JavaScript code dynamically updates the results and graph based on user input.
The HTML starts with a <!DOCTYPE html>
declaration. The <div>
elements contain form controls for selecting radiation type, material thickness, intensity, and applied electric field. These inputs dynamically trigger the simulation and update the results.
This simulation calculates charge generation, current, and power based on the selected radiation type, material thickness, intensity, and electric field.
updateSimulation()
: Calculates the energy absorbed, charge generated, and power output based on the material's properties and the applied electric field.LET * thickness * intensity
.energyAbsorbed / ePerPair
.current * field
.(powerOutput / totalRadiationEnergy) * 100
.The code below represents the HTML and JavaScript used to simulate the radiation-induced charge generation experiment. You can explore the code and see how the calculations and dynamic updates are handled.
To run the simulation: