D max⋆sin[(Sp-D)⋆((2π)/P)]