DNA entropic elasticity for short molecules attached to beads