This little program -n2epsilon- turns values for the refractive index (n = n´+i*kappa ) into values for the dielectric constant (epsilon = epsilon´+i*epsilon´´ ) and vice versa.
n = sqrt(epsilon) and epsilon = n^2
In addition it display the absorption constant according to:
K = 2*Pi/lambda * kappa
Where lambda denotes the wavelength of light. Note, that the unit of K is [1/m] !!
The program provides two input fields for n and epsilon respectively. After changing one of the four parameters the corrosponding two other parameter will be recalculated.