cd(x,k)x=k-1ln(nd(x,k)+ksd(x,k)),