Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Two-State Nuclear Decay JS Model Documents

This material has 2 associated documents. Select a document title to view a document's information.

Main Document

Two-State Nuclear Decay JS Model 

written by Wolfgang Christian

The Two-State Nuclear Decay Javascript Model simulates the radioactive decay of atomic nuclei into other nuclei.  In this model, the resultant nuclei are stable and there are no intermediate decay states.  Although the decay of a radioactive nucleus (radionuclide) is spontaneous and the time of its decay cannot be predicted, the probability of its decay k is constant and is often known.  The model displays a radioactive sample with N nuclides.  Radioactive nuclides are color-coded red and decayed nuclides are color-coded blue. Users can set the number of nuclides N, the decay constant k, and the time interval between measurements before the simulation is run. The simulation counts the number of decay events and stops when there are no radionuclides remaining.

The Two-State Nuclear Decay Javascript Model was developed using the Easy Java/JavaScript Simulations (EjsS) modeling tool. You can modify this simulation if you have Easy Java/JavaScript Simulations (EjsS) version 5.2 or above installed by downloading and importing the zip file into EjsS.

Published February 8, 2016
Last Modified April 2, 2016

This file has previous versions.

Source Code Documents

Two-State Nuclear Decay JS Source Code 

This source code zip archive contains an XML representation of the Two-State Nuclear Decay JavaScript Model.   Unzip this archive in your Easy Java/JavaScript Simulations workspace to compile and run this model using EJS 5.2 or above.  Although EJS is a Java program, EjsS 5.2 creates a stand alone JavaScript program from this source code if the programming language is set to JavaScript.

Last Modified February 14, 2016

This file has previous versions.

The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics