d/dp sqrt(p/2*(p/2-a