The distance (`r`) from the charge at `z` to the point of interest is calculated using the following formula: `r= d-z` where:
22.8 Electric field of a continuous charge distribution by Benjamin Crowell, Light and Matter licensed under the Creative Commons Attribution-ShareAlike license.