Levenberg-Marquardt Fitting of Nuclear Decay Model Documents

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

Main Document

Levenberg-Marquardt Fitting of Nuclear Decay Model 

written by Larry Engelhardt

The Levenberg-Marquardt Fitting of Nuclear Decay Model demonstrates how EJS can be used to fit experimental data.  In this simulation, nuclear decay data are used to provide a simple example, but this same process can be applied to any type of data.  The sum of squared deviations is minimized but this can be modified to instead minimize the value of the chi-squared or reduced chi-squared deviation but if your data has uncertainty estimates.  The Levenberg-Marquardt algorithm is used to carry out the minimization, and you can choose whether you want your theory data to be generated using the analytical function for nuclear activity,
A(t) = Ai exp(-λt),
or by numerically solving the ODE,
dN/dt = -λN,
where N represents the number of radioactive nuclei at time t, and using the relation A = Nλ.  Note that this ODE could be replaced with a system of several coupled ODEs to simulate more complicated theoretical data.

The  Levenberg-Marquardt Fitting of Nuclear Decay Model was created using the Easy Java Simulations (EJS) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.  Double clicking the ejs_fmu_Fitting_LeastSquares_LevenbergMarquardt.jar file will run the program if Java is installed. You can modify this simulation if you have EJS installed by right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item.

Last Modified August 20, 2013

This file has previous versions.

Source Code Documents

Levenberg-Marquardt Fitting of Nuclear Decay Source Code 

The source code zip archive contains an EJS-XML representation of the Levenberg-Marquardt Fitting of Nuclear Decay Model.   Unzip this archive in your EJS workspace to compile and run this model using EJS.

Last Modified November 18, 2011

This file has previous versions.