Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

T Sql Fundamentals

Authors: Itzik Ben Gan

4th Edition

0138102104, 978-0138102104

More Books

Students also viewed these Databases questions

Question

(4) C (U + 2102), the set of complex numbers; and Pg45

Answered: 1 week ago

Question

Develop successful mentoring programs. page 400

Answered: 1 week ago