Differential sampling is a powerful tool that allows Monte Carlo to compute
derivatives of responses with respect to certain problem parameters. This
capability has been implemented within an in-house Monte Carlo code that si
mulates detailed mammographic images from two new digital systems. Differen
tial sampling allows for the calculation of the first and all second deriva
tives of all of the different tallies computed by the code as well as the f
irst and second derivatives of the mammographic image itself with respect t
o material parameters, such as density and cross sections. The theory behin
d differential sampling is explained, the methodology for implementation in
to the imaging code is discussed, and two problems are used to demonstrate
the power of differential sampling.