Python 3.7.9 (default, Aug 31 2020, 17:10:11) [MSC v.1916 64 bit (AMD64)]

Type "copyright", "credits" or "license" for more information.


IPython 7.18.1 -- An enhanced Interactive Python.


Restarting kernel...




In [1]: runfile('G:/UBCO/2020-2021/Python/20201002/pmt.py', wdir='G:/UBCO/2020-2021/Python/20201002')

0.32824437643053084

564

mean: 1997.663

variance: 1920.345776776777

2020-10-03 14:39:03.283243

2020-10-03 14:39:03.367873

The fraction of trials that produced photoelectrons is 0.2357

The mean of the distribution was 268281.25201527367

2020-10-03 14:39:03.483760

2020-10-03 14:39:04.040439

The fraction of trials that produced photoelectrons is 0.876

The mean of the distribution was 554277.6108447489

2020-10-03 14:39:04.188871

Iteration 0

The fraction of trials that produced photoelectrons is 0.2232

The mean of the distribution was 268779.62275985663

2020-10-03 14:39:04.279097

Iteration 1

The fraction of trials that produced photoelectrons is 0.4102

The mean of the distribution was 299674.20550950756

2020-10-03 14:39:04.552114

Iteration 2

The fraction of trials that produced photoelectrons is 0.6426

The mean of the distribution was 379301.5751633987

2020-10-03 14:39:04.990893

Iteration 3

The fraction of trials that produced photoelectrons is 0.8841

The mean of the distribution was 555958.7690306526

2020-10-03 14:39:05.686169

















In [2]: