Simulate Gamma Rays from Radioactive Decay

AI Thread Summary
The discussion revolves around simulating gamma emissions from radioactive decay, specifically addressing the challenge of handling varying gamma intensities that do not sum to 100. The user is confused about how to accurately simulate the emission probabilities for multiple gamma rays, given that some decays can emit more than one gamma. They propose a scenario with two gamma emissions of different intensities and question how to program a computer to handle this probabilistically. A suggested solution involves using random numbers to select between the gamma emissions based on their respective intensities. The conversation highlights the complexities of simulating radioactive decay and the need for a robust approach to random selection in programming.
Marioqwe
Messages
65
Reaction score
4
Hello, I am trying to simulate the gammas from certain radioactive decays but I am really puzzle as to how to approach this. The site I'm using as a reference lists the intensities of the different gammas corresponding to an specific decay.

The thing that confuses me is that, for example, some intensities do not add up to 100; which is understandable since there might be more than one gamma emitted per decay. But then, how would one simulate this?

For example, Let's say I have X -> Y + gamma and let's say I have two different gammas, a and b, with intensities 50 and 60 respectively. Then, the way I think about it is that out of 100 decays, 50% of the time I get a, and 60% of the time I get b. But how does one tell a computer to do this?

It appears to me that normalizing the intensities wouldn't work and so throwing a single random number between 0 and 1 won't work. Is the best approach to just do a different random number for each intensity?
 
Physics news on Phys.org
Marioqwe said:
Hello, I am trying to simulate the gammas from certain radioactive decays but I am really puzzle as to how to approach this. The site I'm using as a reference lists the intensities of the different gammas corresponding to an specific decay.

The thing that confuses me is that, for example, some intensities do not add up to 100; which is understandable since there might be more than one gamma emitted per decay. But then, how would one simulate this?

For example, Let's say I have X -> Y + gamma and let's say I have two different gammas, a and b, with intensities 50 and 60 respectively. Then, the way I think about it is that out of 100 decays, 50% of the time I get a, and 60% of the time I get b. But how does one tell a computer to do this?

It appears to me that normalizing the intensities wouldn't work and so throwing a single random number between 0 and 1 won't work. Is the best approach to just do a different random number for each intensity?

If your question is how to make a computer program randomly pick between two options, the simplest solution would be something like:

real gamma,energy1,energy2,i
energy1=a
energy2=b
i = rand()
if i > 0.5 gamma=energy1 else gamma=energy2
 
I think it's easist first to watch a short vidio clip I find these videos very relaxing to watch .. I got to thinking is this being done in the most efficient way? The sand has to be suspended in the water to move it to the outlet ... The faster the water , the more turbulance and the sand stays suspended, so it seems to me the rule of thumb is the hose be aimed towards the outlet at all times .. Many times the workers hit the sand directly which will greatly reduce the water...

Similar threads

Back
Top