Model of the extendable freely-jointed-chain in one dimension