Some results on D-optimal designs for nonlinear models with applications