The cable equation describes the voltage in a straight cylindrical cable, and this model has been employed to model electrical potential in dendrites and axons. However, sometimes this equation might give incorrect predictions for some realistic geometries, in particular when the radius of the cable changes significantly. Cables with a nonconstant radius are important for some phenomena, for ex...