A simple analytical model for electronic conductance in a one dimensional atomic chain across a defect