Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4. Write your own program to simulate nuclear decay using a Monte Carlo simulation. You may use the program on pages 192-193 as a guide
4. Write your own program to simulate nuclear decay using a Monte Carlo simulation. You may use the program on pages 192-193 as a guide (but try not to copy it line for line). Your program should be designed to repeat the simulation multiple times (ntrial > 1) and average the results to find the ensemble average as a function of time, t. Use the parameters No = 200, p = 0.01, tmax = 200 and ntrial = 20. I would like you to hand in: (a) A copy of the program. b) A plot of N(t) versus t for one simulation. (c) A plot of versus t from the average of all ntrial simulations. (d) A plot of the data in part c. plotted on a semi-log plot, along with a least-squares fit to the data using the exact solution . What value 1 of do you calculate? 4. Write your own program to simulate nuclear decay using a Monte Carlo simulation. You may use the program on pages 192-193 as a guide (but try not to copy it line for line). Your program should be designed to repeat the simulation multiple times (ntrial > 1) and average the results to find the ensemble average as a function of time, t. Use the parameters No = 200, p = 0.01, tmax = 200 and ntrial = 20. I would like you to hand in: (a) A copy of the program. b) A plot of N(t) versus t for one simulation. (c) A plot of versus t from the average of all ntrial simulations. (d) A plot of the data in part c. plotted on a semi-log plot, along with a least-squares fit to the data using the exact solution . What value 1 of do you calculate
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started