P(r) function calculator
This Javascript calculates the distance-distribution function of concentric shell models (sphere D=3, disc D=2 or rod D=1). Enter the number of radii, the values for the radius R(i) and its electron-density c(i) (between R(i) and R(i-1)). For Nr points gamma(r) or p(r) for D=3, pc(r) for D=2, and pt(r) for D=1, respectively, from r = 0 to (2 * Rmax) with a scaling factor f will be calculated. The values are listed in p(r) vs r or gamma(r) vs r in arbitrary units and can be copied and pasted from the window into any text-file for further processing and graphical displaying.

Input p(r)
radii D
Nr f
R(1) c(1)
R(2) c(2)
R(3) c(3)
R(4) c(4)
R(5) c(5)
R(6) c(6)

p(r)
g(r)
overlay
no overlay
Rg

Author: M.Kriechbaum, TU-Graz (2012), e-mail: manfred.kriechbaum@tugraz.at